Skip to content

sky1ove/fh_commons

Repository files navigation

fh_commons

Installation

Install latest from the GitHub:

$ pip install git+https://github.com/sky1ove/fh_commons.git

Documentation

How to use

from fasthtml.common import *
from fasthtml.jupyter import *

from fh_commons.static import *
from fh_commons.core import *


from getpass import getpass
token = getpass("Type your ngrok token: ")

url = start_ngrok(token)

app,rt = fast_app(live=True)
server = JupyUvi(app)


@rt
def test():
    return Titled('hi')

htmx(url,'/test')

Shut down server and kill ngrok terminal:

server.stop()
kill_ngrok()

About

Common fasthtml components with different css styles to build web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published