tausi
Version:
LLM-friendly minimal scaffolding tool for Vite + Tailwind + Express + Firebase stack
156 lines (112 loc) ⢠4.05 kB
Markdown
# š¦ 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)