๐Ÿงน New: Wappler Cleanup Tool - Keep Your Projects Clean!

Disclaimer: This is made with Claude code. Use at your own risk. I did not check every line of code. That having said, it works great for me.

I've just released a new open-source tool to help keep your Wappler node
projects clean and organized. It automatically finds unused server
actions, dead routes, and empty folders.

:wrench: What it does:

  • :mag: Finds unused server actions in /app/api/ and /app/lib/
  • :motorway: Detects dead routes that point to missing files
  • :file_folder: Identifies empty folders for cleanup
  • :dart: Smart reference scanning across HTML, EJS, JSON, and JS files
  • :link: Queue-aware - won't delete actions used by Bull queues
  • :video_game: Interactive interface for safe cleanup

:package: Installation & Usage:

One-time usage (no installation needed)

npx wappler-cleanup-tool

Or install globally

  npm install -g wappler-cleanup-tool
  cd /path/to/your/wappler/project
  wappler-cleanup

:shield: Safety First:

  • Multiple confirmation prompts
  • Make sure to backup / commit your work first!

Perfect for project maintenance and keeping your codebase lean!

npm: wappler-cleanup-tool - npm
GitHub: GitHub - kars-h/wappler-cleanup-tool: Interactive CLI tool to identify and cleanup unused resources in Wappler projects

8 Likes

Hi @karh. Are you coming to the meetup in 15 mins? It would be great if you could share briefly how you went about using AI for creating this.

1 Like

Sadly not, sorry. If there's high demand I can join another time - just extremely busy at the moment trying to make ends meet.

2 Likes