diff --git a/readme.md b/readme.md index 6c372da..0b99d80 100644 --- a/readme.md +++ b/readme.md @@ -1,8 +1,6 @@ -# ⚡ JarvisChat v1.4.0 +# JarvisChat v1.4.0 -![screenshot](docs/images/screenshot.png) - -**A lightweight Ollama coding companion that runs on Python 3.13** +Lightweight Ollama coding companion with FTS5 memory system. ## New in v1.4.0 - **FTS5 Memory System**: Say "remember that..." to store facts, they're automatically retrieved by relevance @@ -11,6 +9,7 @@ - **Refactored structure**: Separated frontend from backend for maintainability ## File Structure + ``` /opt/jarvischat/ ├── app.py # FastAPI backend (~600 lines) @@ -22,6 +21,7 @@ ``` ## Installation + ```bash # Backup existing cd /opt/jarvischat @@ -34,6 +34,9 @@ mkdir -p templates static cp /path/to/new/app.py . cp /path/to/new/templates/index.html templates/ +# Extract logo from old app.py if you want (or just let it fail gracefully) +# The frontend handles missing logo with onerror="this.style.display='none'" + # Restart service sudo systemctl restart jarvischat ``` @@ -42,7 +45,7 @@ sudo systemctl restart jarvischat In chat, you can say: - "remember that I prefer Rust over Go" → stores as preference -- "remember that JarvisChat runs on port 8080" → stores as infrastructure +- "remember that JarvisChat runs on port 8080" → stores as infrastructure - "note that the deadline is Friday" → stores as general - "forget about the deadline" → removes matching memories @@ -64,11 +67,13 @@ Memories are automatically searched and injected based on your message content. - `PUT /api/settings` - Update settings ## Dependencies + ```bash pip install fastapi uvicorn httpx psutil jinja2 python-multipart --break-system-packages ``` ## Testing Memory + ```bash # Add a memory via API curl -X POST http://jarvis:8080/api/memories \