π¬π§ Flask Chatbot 2.0 β Complete Professional Architecture (Commercial Version)
A downloadable tool
Description
Palks Studio β Flask Chatbot 2.0
(Flask + OpenAI optional + JSON knowledge base + Floating Widget + Persistent Memory)
A complete chatbot system designed for real projects — not for tutorials.
Version 2.0 combines:
- a robust Flask backend
- an advanced user interface
- a floating widget you can embed anywhere
- persistent memory powered by SQLite
Everything works fully offline by default, with OpenAI available as an optional upgrade.
Available on :
- Gumroad
- Itch.io
- Ko-fi
Three ways to use it
- Local mode (no OpenAI key required)
- OpenAI mode (GPT-3.5 / GPT-4) by adding a key in
.env - Production deployment (o2switch / Passenger*, shared hosting, VPS, Docker, Nginx…) Passenger support included; hosting configurations may require adjustments depending on the provider.
This is not a script. This is a professional architecture ready for websites, client work, educational platforms, or the foundation of a micro-SaaS.
What makes this template different
Most Flask chatbot templates are minimal demos with no real structure.
This one provides a realistic architecture, including:
- a clean backend
- a full UI
- a floating widget
- offline mode + OpenAI mode
- SQLite memory
- installation scripts
- multi-hosting deployment options
- professional documentation
Itβs built for delivery, not just experimentation.
No mandatory external services
Everything works 100% offline:
- local JSON knowledge base
- local SQLite memory
- no external API calls unless you explicitly enable OpenAI
You stay fully independent.
Privacy & data control
Nothing is sent online unless you activate OpenAI. Local JSON + local SQLite = full control.
Core Features
- Fully working chatbot β
python app.py - Full web interface (
/ui) - Light / Dark mode
- Typing animation
- Browser-side message history
- Floating widget (HTML, WordPress, Webflow, custom sites…)
- Persistent memory (SQLite + automatic session handling)
- Two response modes:
- Offline JSON
- OpenAI GPT when enabled
- Installation scripts (Windows + Linux)
- Passenger + Docker support
- Clean & modular architecture
Whatβs inside the package
app.py— Flask APImain.py— response logic (JSON + OpenAI)storage.py— SQLite memory enginesample_data.json— offline editable knowledge baseindex.html— main interfacewidget.html,widget.js,widget.css— embeddable widgetinstall.sh,install.bat— installation scriptspassenger_wsgi.py— shared hosting / Passenger supportDockerfile,docker-compose.yml— Docker environment.env.example— OpenAI + memory config- Full documentation:
README.mdINSTALL.mdCUSTOMISATION.md
- Professional license file
Who is this template for?
Perfect for:
- developers shipping chatbots to clients
- freelancers needing a clean, reusable base
- SaaS creators building an assistant or support bot
- educators, schools, bootcamps
- agencies adding automated assistants to websites
- therapists, coaches, consultants needing a private assistant
- personal projects wanting a real architecture to learn from
Version 1 vs Version 2
Version 1 includes:
/chatAPI- offline JSON mode + optional OpenAI
- minimal HTML interface
Version 2 adds:
- full
/uiinterface - floating widget
- persistent memory (SQLite)
- Windows + Linux installation scripts
- Docker support
- ready-to-deploy structure for client work
- light/dark UI
- cleaner architecture and better scalability
In short
You download it.
You run python app.py.
The chatbot works instantly.
Then you can:
- customize the answers
- change the design
- enable OpenAI
- embed the widget anywhere
- deploy it locally, on shared hosting, or on a VPS
License
Personal + commercial usage allowed. Reselling or redistributing the template as-is is prohibited. © 2025 β Palks Studio
Purchase
In order to download this tool you must purchase it at or above the minimum price of $203.15 USD. You will get access to the following files:





Leave a comment
Log in with itch.io to leave a comment.