A CLI tool to initialize FastHTML + Tailwind + DaisyUI projects. FastWand automatically downloads and installs the Tailwind CSS CLI bundled with DaisyUI for your operating system and architecture.
- Python 3.11 or higher
pip install fastwand
fastwand init [DIRECTORY]
This will:
- Download the appropriate Tailwind CLI and DaisyUI plugin for your system
- Create a basic FastHTML project structure
- Set up Tailwind CSS with DaisyUI
Run these commands in separate terminal windows:
# Terminal 1: Watch for CSS changes
fastwand watch
# Terminal 2: Run the Python server
python main.py
Build the minified CSS and run the server in a single command:
fastwand run
This command:
- Builds a minified version of your CSS for better performance
- Automatically starts the Python server (main.py)
Automatically detects your operating system and architecture, supporting:
- Linux (x64, arm64, armv7)
- macOS (x64, arm64)
- Windows (x64, arm64)
- This is an alpha release - functionality may be incomplete or buggy
- Error handling is minimal
- Documentation is work in progress
This project is in active development. Issues and pull requests are welcome!
MIT