ChatGPT UI built with Rust + HTMX
Top 51.1% on sourcepulse
RustGPT is a ChatGPT UI clone built with Rust and HTMX, targeting Rust enthusiasts and web developers. It offers a performant and simple web development experience for creating real-time, streaming chat applications without heavy JavaScript frameworks.
How It Works
The project utilizes the Axum framework for its Rust backend, providing a fast and reliable server. Data persistence is handled by SQLite, and real-time interactions are enabled through Server-Sent Events (SSE). HTMX is employed to manage dynamic UI updates directly from the server via HTML attributes, eliminating the need for complex client-side JavaScript.
Quick Start & Requirements
just
(e.g., cargo install just
).just init
to set up tools and migrate the database.just dev
to start the server and TailwindCSS in watch mode.Highlighted Details
sqlx
.tera
for HTML templating.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 year ago
1 day