fasthtml
fasthtml copied to clipboard
The fastest way to create an HTML app
## Description Currently, the `login_link` method in the `Auth0AppClient` (and possibly other OAuth clients) does not support passing a custom `state` parameter. The `state` parameter is important for maintaining state...
**Describe the bug** Adding `BackgroundTask` to `Redirect` response results in 200 status code. **Minimal Reproducible Example** ```python app = FastHTML() cli = TestClient(app, follow_redirects=False) @app.get("/background") def background_task(): def long_running_task(): time.sleep(0.1)...
**Describe the bug** html2ft converts boolean attributes to empty string (attribute_name='') instead of conveting it to attribute_name=True. **Minimal Reproducible Example** Enter ` Text ... ` at https://h2f.answer.ai/ **Expected behavior** You...
https://deepwiki.com/AnswerDotAI/fasthtml 
Hi, kompo.io uses exactly same equivalent syntax but for php. Please take a look. The documentation and live presentation is very inspirational, for your future work Thank you so much....
**Describe the bug** When mounting an app as described in [Combining Routes](https://fastht.ml/docs/explains/routes.html#combining-routes) the `app.state` property is inaccessible in the mounted app. The mounted app is the one made available through...
If you'd like to discuss your feature idea first with the community (highly recommended!) please visit our [Discord channel](https://discord.gg/qcXvcxMhdP). **Is your feature request related to a problem? Please describe.** using...
**Issue Type** - [ ] Existing documentation (e.g. typos, errors, outdated information) - [x] Suggest new documentation that is currently missing **Current Behavior or Documentation Gaps** The `README` only mentions...
--- name: Pull Request about: Propose changes to the codebase title: '[PR] Updated idiomatic FastHTML app adv_app.py' labels: 'bug' assignees: '@audreyfeldroy @Isaac-Flath @pydanny' --- **Proposed Changes** This is the start...
I am developing an app in which I use a main page that has a div with id="main-content". The links in the navigation bar, use hx_get with hx_target="#main-content", to load...