UNPKG

tausi

Version:

LLM-friendly minimal scaffolding tool for Vite + Tailwind + Express + Firebase stack

156 lines (112 loc) • 4.05 kB
# šŸ¦‹ Tausi LLM-friendly minimal scaffolding tool for full-stack web applications. Tausi generates clean, production-ready projects with your exact tech stack: Vite + Tailwind + Express + Firebase. ## ✨ Features - šŸš€ **Minimal & Fast**: Only essential dependencies, no bloat - ļæ½ **Opinionated Stack**: Vite + Tailwind + Express + Firebase - ļæ½ **LLM-Optimized**: Clear structure, predictable patterns - ļæ½ **Deploy Ready**: Railway & Render configurations included - ļæ½ **Security First**: CORS and Firebase Auth built-in - šŸ“– **Rich Documentation**: Architecture docs for humans and LLMs ## šŸ—ļø Generated Project Structure ``` your-project/ ā”œā”€ā”€ frontend/ # Vite + Tailwind + Vanilla JS ā”œā”€ā”€ backend/ # Express.js + CORS ā”œā”€ā”€ docs/ # Architecture + LLM context └── deployment/ # Railway & Render configs ``` ## šŸš€ Installation ```bash # Install globally bun install -g tausi # Or run directly with bunx bunx tausi ``` ## šŸ“– Usage ### CLI Usage (For Developers) ```bash # Create a new project tausi create my-app # Create project without authentication tausi create my-app --no-auth # Deploy to specific platform tausi create my-app --deploy railway # Custom author and directory tausi create my-app --author "Your Name" --directory ./custom-path # Validate existing project structure tausi validate ./my-project # Clean/fix project structure tausi clean ./my-project ``` ### GUI Usage (For Non-Coders) ```bash # Start the visual interface bun run gui # Then open http://localhost:3001 in your browser ``` The GUI provides a step-by-step wizard to create projects without any command-line knowledge. ## šŸ› ļø Tech Stack **Frontend:** - Vite (build tool) - Tailwind CSS (styling) - Vanilla JavaScript (no framework bloat) **Backend:** - Express.js (web framework) - CORS (security) - Firebase Admin (authentication) **Deployment:** - Railway (preferred) - Render (alternative) - Docker (containerization) ## šŸš€ Generated Project Features - **šŸŽØ Enhanced UI** - ELabs logo and tech stack showcase - **šŸ”’ Security First** - Helmet, rate limiting, input validation - **⚔ Zero-config setup** - Works out of the box - **šŸ”„ Hot reload** - Frontend and backend development servers - **šŸ“ Type safety** - JSDoc comments for better IntelliSense - **šŸ›”ļø Runtime validation** - Enforces clean project structure - **šŸ“š Documentation** - Architecture and deployment guides - **šŸ¤– LLM Context** - Optimized for AI-assisted development ## šŸ› ļø Development ```bash # Install dependencies bun install # Run in development mode bun run dev # Build the project bun run build # Run tests bun test # Lint code bun run lint # Format code bun run format ``` ## šŸ“ Project Structure ``` tausi/ ā”œā”€ā”€ src/ │ ā”œā”€ā”€ cli.ts # CLI entry point │ ā”œā”€ā”€ types.ts # TypeScript types │ ā”œā”€ā”€ commands/ # CLI commands │ │ └── create.ts # Create project command │ └── generators/ # Project generators │ └── project-generator.ts ā”œā”€ā”€ test/ # Test files └── dist/ # Built files ``` ## šŸŽÆ Design Philosophy - **Minimal dependencies** - Only what you actually need - **LLM-friendly** - Clear, predictable structure for AI assistance - **Production-ready** - Security, performance, and deployment built-in - **No framework lock-in** - Vanilla JS keeps things simple - **Documentation-first** - Every project includes comprehensive docs ## šŸ¤ Contributing Contributions are welcome! Please feel free to submit a Pull Request. ## šŸ“„ License MIT License - see the [LICENSE](LICENSE) file for details. ## šŸ™ Acknowledgments - Built with [Bun](https://bun.sh/) - CLI powered by [Commander.js](https://github.com/tj/commander.js) - Beautiful prompts with [Inquirer.js](https://github.com/SBoudrias/Inquirer.js) - Colorful output with [Chalk](https://github.com/chalk/chalk)