Skip to main content

Quickly scaffold FastHTML apps!

Project description

Quickly scaffold FastHTML apps!

Usage

To create a new FastHTML application, use the fh-init command. Make sure uv is installed before running uvx:

uvx fh-init [OPTIONS] NAME

Arguments

  • NAME: The name of your FastHTML application (required).

Options

  • --template, -p TEXT: The name of the FastHTML template to use (default: base).
  • --reload, -r: Enable live reload.
  • --pico, -p: Enable Pico CSS (default: True).
  • --uv / --no-uv: Use uv to manage project dependencies (default: uv).
  • --tailwind, -t: Enable Tailwind CSS.
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell.
  • --help: Show the help message and exit.

Example

uvx fh-init my_awesome_app --reload --tailwind

This command will create a new FastHTML application named my_awesome_app with live reload and Tailwind CSS enabled.

Then to run the FastHTML app:

cd my_awesome_app
uv run main.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fh_init-0.1.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fh_init-0.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file fh_init-0.1.2.tar.gz.

File metadata

  • Download URL: fh_init-0.1.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for fh_init-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6f19e80496725711e786b65386a3d78097fdc254ff04a7c73d2056205f350fdb
MD5 a8fbbc87c889adf0aa52c2c979a89420
BLAKE2b-256 f6cce44b129141a906fe2320a2ab37f93b51202af521bdac3f9df8757e82edfc

See more details on using hashes here.

File details

Details for the file fh_init-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fh_init-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for fh_init-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f055db8f7f334dad6e2c3ffc2736b7ea9e0bb52886cff43ea71d9c4c17be356
MD5 ef69596d82a593babb158585d3c2dedf
BLAKE2b-256 5b904fbc7377028bad59af34acfe4e9283e5b241fea5c345f8470f55eb3ef3c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page