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.3.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.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fh_init-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 79243fe666f53b2b2b8e00a0978f3a4c27820572f8ef93b0a8ed0193e02fea01
MD5 ab9f717236fcbd3a3310c6ca049da5b7
BLAKE2b-256 91fa814b632adf1d089902f97b1cece338354c3e522b728b5ea0d6ee3db095ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fh_init-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b7600a7c573ef3f56d16e3a07513f3eef42e68d3c3e968f3e0e64a99ab1260c
MD5 827e45077814933e67e87d5dd75254b9
BLAKE2b-256 1e95359e54de5b43ecb97cc4badf6b41f0a148be55ce6824b558c4284bfb8149

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