Journal Archive — Page 164 of 166

Unpacking FastHTML Databases Understand FastHTML's database: Guide to defining multiple tables via the `fast_app` function (**kwargs) and unpacking table/dataclass objects.
A ChatGPT o1-Preview Code Review Code review of a Python FastHTML app using WebSockets & Ollama. Includes analysis of anti-patterns & prompts for AI-assisted refactoring.
FastHTML WebSockets & Database for Streaming & Persistence Implement FastHTML's built-in database (multiple tables via `fast_app` API) and WebSockets for persistence and streaming in Python apps.
Ollama Websocket Chat Build a real-time chat app using FastHTML and WebSockets, powered by a local Ollama LLM with streaming responses and context.
Understanding FastHTML's Framework Opinions Understand FastHTML framework opinions: Explore its Flask-like routing, built-in database, HTMX integration, and no-template approach via a CRUD app.
From Jupyer Notebooks to FastHTML with WebSockets Use WebSockets in FastHTML to manage long-running asynchronous tasks and stream real-time progress updates to the user interface.
Code as Infrastructure Understand Infrastructure as Code via a commented Nix Flake. Explains creating reproducible, cross-platform Python dev environments.
Melding a Mac and Linux Nix Flake Build & refine a cross-platform Nix Flake (Linux/macOS) for Python dev. Includes venv/pip setup, optional CUDA, and tmux scripting.
Forking a Flake of Infrastructure as Code Fork or clone a Nix Flake template (Pipulate) to start new projects (Botifython). Guide details Git workflow and cross-platform testing via `nix develop`.
There's No Home Like Nix Learn FastHTML basics for Python web apps (including HTMX SPA) and manage secrets with python-dotenv within a Nix Flake environment.