PocketAI v0.2.0 - Improved UI & Configuration
🚀 PocketAI v0.2.0
PocketAI is a lightweight Python CLI that lets you chat with local AI models running on Ollama. This release focuses on improving the user experience, project structure, and terminal interface.
✨ New Features
- 🤖 Beautiful terminal startup banner
- 📖 Interactive
/helpcommand - ⚙️
/configcommand to display current configuration - 🧹
/clearcommand to clear the screen - 🧠 Thinking indicator while waiting for AI responses
- 📦 Configuration system using
config.json - 🛡️ Better connection error handling
- 🏗️ Cleaner and modular project architecture
📁 Project Structure
PocketAI/
│
├── config.json
├── requirements.txt
├── README.md
│
└── pocketai/
├── ai.py
├── config.py
└── main.py
🛠 Built With
- Python 3
- Ollama
- Requests
🚀 Getting Started
- Install the required packages:
pip install -r requirements.txt- Edit
config.json:
{
"url": "http://YOUR_PHONE_IP:11434/api/generate",
"model": "gemma3:270m",
"version": "0.2.0"
}- Start PocketAI:
python pocketai/main.py📋 Commands
| Command | Description |
|---|---|
/help |
Show available commands |
/config |
Show current configuration |
/clear |
Clear the terminal |
/bye |
Exit PocketAI |
🎯 What's Next
Planned for v0.3.0
- Streaming responses
- Colored terminal output
- Chat history
- Model switching
- Performance statistics
Thank you for checking out PocketAI! ⭐
If you like the project, consider giving it a star.