File size: 590 Bytes
ebec85b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: Htmx Examples
emoji: 🦀
colorFrom: red
colorTo: green
sdk: docker
pinned: false
license: mit
app_port: 5001
---

# Fasthtml Examples

The repository reproduces HTMX official [examples](https://htmx.org/examples/) in Python with [FastHTML](https://docs.fastht.ml/)

Visit the site [here](https://phihung-htmx-examples.hf.space)

Github: [link](https://github.com/phihung/fasthtml_examples)

Run

```bash
# Local
uv sync
uv run start_tutorial

# Docker
docker build -t htmx_examples .
docker run --rm -p 5001:5001 -it htmx_examples
```

## Dev

```bash
uv sync
uv run pytest
```