FastHTML-Extn is a small and opinionated framework for building web applications. It provides a simple and intuitive way to create dynamic HTML pages using FastHTML.
It's inspired by Next.js App approach.
pip install fasthtml-extn
from fasthtml_extn import create_app, serve
app, rt = create_app(live=False)
serve()
- Autogeneration of routes based on folder structure.
- Layouts ...
- Pages ...
- Route pages like
app/**/*/page.py
- Route layouts like
app/**/*/layout.py
- Route expected errors like
app/**/*/exception.py
- [] Route not found like
app/**/*/not_found.py
- [] Route apis like
app/**/*/router.py
- [] Add more tests
- App Seeding with ootb working apps (similar to react-create-app)
- Add more components as helpers. Maybe those should be on it's own library help needed here
- Auto creation of folders: ask user from CLI
- Create a CLI for adding pages or routes
We welcome contributions from the community! If you have any bug reports, feature requests, or pull requests, please submit them to our GitHub repository.
FastHTML-Extn is released under the MIT License. See the LICENSE file for more information.