JAAI (Just Another AI Interface) is a lightweight Flask-based AI assistant with local Ollama support, chat history, file upload parsing, optional web search, and a desktop wrapper.
- Local chat with Ollama
- User accounts and login
- Persistent chat history
- File upload and document parsing
- Optional web search via SerpAPI
- Desktop wrapper support
- Basic model and endpoint settings
- Python 3.12
- Ollama running locally (default URL:
http://127.0.0.1:11434) - Optional: SerpAPI key for web search
python -m venv env
source env/bin/activate
pip install -r req.txt
cp .env.example .envEdit .env and set at least:
SECRET_KEYCHAT_ENCRYPTION_KEY(optional, defaults toSECRET_KEY)SERPAPI_KEY(optional, required for web search)OLLAMA_URL(optional)
python dbinit.pypython app.pyThen open:
http://127.0.0.1:5000
python desktop.py- If
SERPAPI_KEYis not set, web search and search-limit features will be disabled. - The app expects a local Ollama server or another compatible endpoint.
- The default database is SQLite and is stored in the app instance.
A detailed project walkthrough is available in WIKI.md.