aicoolies logo
FastHTML logo

FastHTML

Python web framework with HTMX, no JavaScript needed

Share
open-sourceOpen Source
Visit Website →

FastHTML is an open-source Python web framework by Answer.AI that renders HTML directly from Python functions using HTMX. It eliminates the JavaScript build step entirely, letting developers create interactive web apps with pure Python. FastHTML is designed for AI demo apps, admin tools, and internal tooling where full-stack simplicity matters more than SPA complexity. Built by Jeremy Howard's team.

FastHTML challenges the assumption that modern web applications require a separate JavaScript frontend. Built by Answer.AI, the team behind fast.ai, it composes HTMX fragments server-side in pure Python, delivering interactive user interfaces without npm, webpack, or any JavaScript toolchain. Developers write routes as Python functions that return HTML components, and HTMX handles partial page updates, form submissions, and dynamic content loading seamlessly.

The framework is purpose-built for the kind of applications AI practitioners and developers build most often: model demos, data dashboards, admin interfaces, and internal tools. It includes built-in support for SQLite databases, file uploads, authentication, and WebSocket connections. The component system allows creating reusable UI elements as Python dataclasses that render to HTML, with full support for Tailwind CSS and other styling approaches.

With nearly 7,000 GitHub stars and strong adoption in the AI/ML community, FastHTML has found its niche among developers who want productive web development without JavaScript complexity. The framework runs on Uvicorn with asyncio support, handles production traffic with proper middleware, and deploys easily to any Python hosting platform. It is distributed under the Apache-2.0 license and includes comprehensive documentation with tutorials focused on practical use cases.

Pricing

Free and open source under Apache-2.0 license

Platforms

Python 3.10+ — any platform that runs Python

Categories

Tags

Use Cases

Alternatives

Related Tools

KubeAI

Kubernetes operator for serving AI inference workloads

KubeAI is an Apache-2.0 Kubernetes operator for deploying and scaling AI inference workloads, including LLMs, embeddings, reranking, and speech-to-text. It gives platform teams OpenAI-compatible endpoints, model proxy/controller primitives, model caching, scale-from-zero behavior, and cluster-native resource management for self-hosted inference on Kubernetes.

open-sourceOpen Source
OpenUI logo

OpenUI

Open-source UI generation from natural-language prompts

OpenUI is an Apache-2.0 design-to-code tool from W&B that turns natural-language interface prompts into live HTML previews and frontend code. Teams can run it locally or with Docker, connect OpenAI, Groq, LiteLLM-compatible providers, or Ollama, and export generated UI toward React, Svelte, Web Components, and related workflows. It fits rapid UI mockups where developers want editable code instead of screenshots.

open-sourceOpen SourceTelemetry

Figma MCP Server

Official remote MCP server for design-to-code and write-to-canvas Figma workflows.

Figma MCP Server is Figma’s official remote Model Context Protocol surface for design-to-code agents. It gives supported clients structured design context, variables, components, selected-frame code context, Code Connect mappings, and beta write-to-canvas tools for creating or updating native Figma frames from an MCP client while keeping the workflow tied to Figma files.

freemiumTelemetry
OpenPencil logo

OpenPencil

AI-native open-source design editor and Figma alternative

OpenPencil is an AI-native, open-source design editor for teams that want a Figma-like canvas with source-visible code and experimental AI design workflows. It is best framed as OpenPencil by the open-pencil project, separate from the same-name ZSeven-W repo, and useful for early UI prototyping, design-to-code exploration, and open-source visual editing pilots.

open-sourceOpen Source

Talk to Figma MCP

Read/write MCP bridge between AI coding agents and Figma

Talk to Figma MCP is an MIT-licensed bridge from Grab that connects Cursor, Claude Code, and other MCP-capable agents to Figma through a local MCP server, WebSocket bridge, and Figma plugin. Unlike read-only context servers, it can inspect selections, create or modify nodes, update text in bulk, and automate design operations, so teams should review permissions before enabling write access.

open-sourceOpen SourceTelemetry

CLIProxyAPI

Self-hosted proxy API for routing AI CLI accounts into OpenAI-compatible endpoints

CLIProxyAPI is an open-source Go proxy server that wraps Gemini CLI, Claude Code, OpenAI Codex, Grok Build, and related CLI account flows behind OpenAI/Gemini/Claude-compatible API endpoints. Use it carefully: it can touch OAuth sessions, auth files, logs, and provider account policies, so production use needs credential and ToS review.

open-sourceOpen SourceTelemetry