Auth, billing, rate limiting, token tracking, email — every chatbot starts with the same infrastructure grind. You spend weeks wiring APIs together before you can even test a conversation.
Stop and regenerate. Edit and resubmit. Streaming that actually works. Conversation history that doesn't break. The interaction patterns people expect from ChatGPT are a nightmare to build from scratch.
Tool use. Persistent memory. File uploads. Team management. Role-based access. Once your chatbot needs to do more than talk, you're building a platform — and you're months away from shipping.
A real-time conversational UI built to the standard your users already expect. Streaming responses appear token by token. Users can stop generation mid-stream, regenerate any response, edit messages and resubmit, copy to clipboard, and leave feedback. The model selector lets users switch between providers on the fly. Automatic thread compaction keeps long conversations viable — the system compresses earlier context so chats continue indefinitely without blowing up costs.

Pick your tier, get instant access to the private GitHub repo, and clone it locally.
Set your environment variables for Stripe, Upstash, Resend, and your AI provider. The documentation walks you through each one.
Push to Vercel, Railway, or anywhere with Docker support. Your chatbot is live — ready for your first users.
I got tired of rebuilding the same chatbot infrastructure from scratch — auth, streaming, billing, rate limiting — project after project, week after week, before I could focus on the features that actually differentiate a product.
Here's what I believe: chatbots are the next CRUD app. Every small and medium business will want a bespoke AI assistant, and indie devs are perfectly positioned to build them. But the infrastructure beneath every chatbot is about to be completely commoditized — auth, billing, streaming, rate limiting will be table stakes. The devs who win won't be the ones who wired up Stripe the fastest. They'll be the ones who shipped a differentiated product while everyone else was still building plumbing.
hourzero.dev is the boilerplate I wished I'd had. Not a toy — a production-grade foundation with streaming, tool use, memory, file management, billing, and full multitenancy with team management, roles, and access control. Everything wired up and ready to ship to your first customer.
Skip the infrastructure. Ship what makes your product different.
Third-party service costs are separate: AI provider tokens (OpenAI/Anthropic/Google), Postgres hosting, Stripe fees, Upstash, Resend, and S3 storage. All have free tiers for development.
Get product updates, new feature announcements, and tips on shipping AI products faster.
No spam, unsubscribe at any time.