from fasthtml.common import *
from fasthtml.jupyter import *
from fh_commons.static import *
from fh_commons.core import *
from getpass import getpass
= getpass("Type your ngrok token: ")
token
= start_ngrok(token)
url
= fast_app(live=True)
app,rt = JupyUvi(app)
server
@rt
def test():
return Titled('hi')
'/test') htmx(url,
fh_commons
Common fasthtml components with different css styles to build web
Installation
Install latest from the GitHub:
$ pip install git+https://github.com/sky1ove/fh_commons.git
Documentation
To check source code with examples, go to
nbs
folder to check notebooks.Documentation is hosted on: https://sky1ove.github.io/fh_commons/
How to use
Shut down server and kill ngrok terminal:
server.stop() kill_ngrok()