fasthtml
fasthtml copied to clipboard
The fastest way to create an HTML app
Allow qp (and therefore `.to` method) to handle params with `?a=1` or `/a` situations
### Describe the Problem In Jupyter Notebook, when I use `set_pico_cls()` along with `show(picocondlink)` to apply Pico styling, the expected styling doesn’t show up in the output ### Steps to...
### Description When attempting to redefine the same route in Jupyter Notebook using a different function name, such as specifying the HTTP verb (`get()`) and the route (`change()`), the content...
**Describe the bug** There's a difference in handling URL generation depending on the use of directly passing a routed function (is that a term?) to an attribute or using the...
**Describe the bug** There appears to be a trivial typo in the code that rewrites routes into paths for HTML elements with "targets". The mapping of [`_verbs`](https://github.com/AnswerDotAI/fasthtml/blob/main/fasthtml/core.py#L326) maps to `put`...
## Description When using FastHTML, omitting type hints for function parameters causes input values to default to None, resulting in a TypeError. This behavior is inconsistent with the expected functionality...
Jeremy, I am trying to master FastHTML by rebuilding the various examples available in the 2 repos - 1. Example - https://github.com/AnswerDotAI/fasthtml-example/tree/main 2. Gallery - https://github.com/AnswerDotAI/FastHTML-Gallery/tree/main/examples I have started by...
**Describe the bug** `fasthtml/core.py` file imports uvicorn even though it's only used for `serve()` calls. For AWS Lambda this causes worse cold starts than if the uvicorn was imported inline...
**Is your feature request related to a problem? Please describe.** I want to run FastHTML application's within my existing web app under a dynamic url prefix. For example: https://apps.aihype.com/username/appname. **Describe...
**GitHub OAuth Callback URL Forcing HTTPS Despite HTTP Configuration** I want to deploy my app using HTTP. The callback URL for GitHub OAuth still supports HTTP. However, even if I...