Roadmap:
- out of the box ui libraries support (In progress)
- auth
- one-click deployments
One File Applications
Snaptail hides build system under .snaptail dir and allows you to prototype and experiment with single react file.
Includes:
- tailwindcss installed by default
- allows you to define APIs within the file
- auto-detects packages and installs them
- typescript support
- shadcn ui lib support
Why Snaptail?
- Build something small or try an idea without setting up an entire project
- Deploy it easily - it's a Next.js app under the hood
- Works great with LLMs - generate an entire app and paste it into a single file
- Explores the concept of single source file applications
Usage
The single tsx or jsx file needs to export an App component and may export an api array that defines API routes and handlers.
Check out the starter template to explore it. Use npx snaptail init
to get started.
When you use snaptail init, a tsconfig is created by default to help your IDE support TypeScript type hints.