A CLI tool to start your local AI cat server
Project description
🐱 Cheshire Cat CLI
Your friendly command-line companion for managing Cheshire Cat AI
A simple, powerful CLI tool to start, manage, and sync your local AI cat server with ease.
Features • Installation • Quick Start • Usage • Cloud Sync
🎯 What is Cheshire Cat CLI?
The Cheshire Cat CLI is a command-line interface tool that simplifies the management of your Cheshire Cat AI server. No need to mess with Docker commands or compose files manually—just simple commands to get your AI cat up and running!
Whether you're a developer experimenting with AI, or someone looking to run a personal AI assistant, this CLI makes it effortless to:
- 🚀 Start and stop your AI server with a single command
- 🔄 Keep your server updated to the latest version
- ☁️ Sync your cat's memory, plugins, and data across multiple machines
✨ Features
- 🎮 Simple Commands: Intuitive commands that just work
- 🐳 Docker Powered: Uses Docker Compose under the hood—no manual configuration needed
- ☁️ Cloud Synchronization: Keep your AI cat's brain synced across devices
- Supports WebDAV and Nextcloud
- Automatic sync on start/stop
- Manual sync on demand
- ⚡ Detached Mode: Run your server in the background
- 🔧 Easy Updates: Update to the latest version with one command
- 📦 Lightweight: Minimal dependencies, maximum functionality
📋 Requirements
Before installing, make sure you have:
- Python 3.10 or higher
- Docker and Docker Compose installed and running
- A cup of tea ☕ (optional, but recommended)
🚀 Installation
Install the Cheshire Cat CLI with pip:
pip install cheshire-cat-cli
That's it! You're ready to go. 🎉
🏃 Quick Start
Start your Cheshire Cat AI server in just three steps:
# 1. Start the server
ccat start
# 2. Open your browser and visit http://localhost:1865
# 3. Start chatting with your AI cat! 🐱
Stop the server when you're done:
ccat stop
📖 Usage
Basic Commands
| Command | Description | Example |
|---|---|---|
ccat start |
Start the Cheshire Cat server | ccat start |
ccat start -d |
Start in detached mode (background) | ccat start -d |
ccat stop |
Stop the server | ccat stop |
ccat update |
Update to the latest version | ccat update |
Starting the Server
Foreground mode (see logs in real-time):
ccat start
Background mode (run in detached mode):
ccat start -d
Skip cloud sync when starting:
ccat start --no-sync
Stopping the Server
ccat stop
Skip cloud sync when stopping:
ccat stop --no-sync
Updating the Server
Keep your AI cat up to date with the latest features:
ccat update
☁️ Cloud Synchronization
Sync your cat's memory, plugins, and data across multiple machines using cloud storage!
Setting Up Cloud Sync
Configure WebDAV or Nextcloud synchronization:
ccat sync configure webdav
You'll be prompted for:
- WebDAV server URL: Your cloud storage endpoint
- Example:
https://cloud.example.com/remote.php/dav/files/username/
- Example:
- Username: Your cloud storage username
- Password: Your cloud storage password
- Remote path: Where to store data (default:
/ccat)
Cloud Sync Commands
| Command | Description |
|---|---|
ccat sync configure webdav |
Configure WebDAV/Nextcloud sync |
ccat sync status |
Check sync configuration and status |
ccat sync now |
Manually trigger synchronization |
ccat sync disable |
Disable automatic cloud sync |
Example: Setting Up Nextcloud Sync
$ ccat sync configure webdav
WebDAV server URL: https://nextcloud.example.com/remote.php/dav/files/myusername/
Username: myusername
Password: ********
Remote path [/ccat]: /cheshire-cat-backup
✓ Successfully configured webdav synchronization
Cloud sync will now run automatically when starting/stopping the server
Checking Sync Status
$ ccat sync status
Cloud synchronization: ENABLED
Provider: webdav
Configuration:
url: https://nextcloud.example.com/remote.php/dav/files/myusername/
username: myusername
remote_path: /cheshire-cat-backup
Manual Sync
Manually sync your data at any time:
ccat sync now
🛠️ Troubleshooting
Docker Not Running
If you see an error about Docker not being available:
Error: Docker is not running or not installed
Solution: Make sure Docker is installed and running:
# Check if Docker is running
docker ps
# Start Docker if needed (varies by OS)
sudo systemctl start docker # Linux
# or open Docker Desktop on macOS/Windows
Port Already in Use
If port 1865 is already in use, you can change it by setting the CORE_PORT environment variable:
export CORE_PORT=8080
ccat start
Permission Issues
If you encounter permission issues with Docker:
# Add your user to the docker group (Linux)
sudo usermod -aG docker $USER
# Log out and back in for changes to take effect
🌐 Default Server URL
Once started, your Cheshire Cat server will be available at:
- Admin Interface: http://localhost:1865/admin
- API Endpoint: http://localhost:1865
📂 Data Storage
Your cat's data is stored locally in:
- Linux/macOS:
~/.local/share/ccat/ - Windows:
%LOCALAPPDATA%\ccat\
This includes:
- 🧠 Memory and conversation history
- 🔌 Installed plugins
- 📊 Configuration and data files
- 🐳 Docker Compose configuration
🤝 Contributing
Contributions are welcome! If you have ideas for improvements or find bugs:
- Check the issue tracker
- Open a new issue or submit a pull request
- Help make this tool better for everyone! 🚀
🙏 Acknowledgements
Huge thanks to the amazing developers of the Cheshire Cat AI project for creating such a fantastic AI framework!
📄 License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Made with ❤️ for the Cheshire Cat AI community
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cheshire_cat_cli-0.1.0.tar.gz.
File metadata
- Download URL: cheshire_cat_cli-0.1.0.tar.gz
- Upload date:
- Size: 55.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4c279e1a4a637e55ed8952039d35975455fc4dba28388d44ffc367f6fc0a424
|
|
| MD5 |
88a5040abf3b9947ffaf9279e29af451
|
|
| BLAKE2b-256 |
9d9b842e0dd13ecc1a19c55900c221e0cbc6c035e8fc8876de21d0ddbe1dc714
|
Provenance
The following attestation bundles were made for cheshire_cat_cli-0.1.0.tar.gz:
Publisher:
release.yml on matteospanio/cheshire-cat-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cheshire_cat_cli-0.1.0.tar.gz -
Subject digest:
d4c279e1a4a637e55ed8952039d35975455fc4dba28388d44ffc367f6fc0a424 - Sigstore transparency entry: 659909923
- Sigstore integration time:
-
Permalink:
matteospanio/cheshire-cat-cli@18e57e6d5570bcca027686346b19bd6a68a2b5a4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/matteospanio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@18e57e6d5570bcca027686346b19bd6a68a2b5a4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cheshire_cat_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cheshire_cat_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc19d4e540d4d424625bd63ea72ea6fa3b46c59d614d17f9cb9a6078f380c5a7
|
|
| MD5 |
0f8005270c4ef0911f6284f4c2a47099
|
|
| BLAKE2b-256 |
189aa31a2195c16dba153c504b97c4cc9a282679b0b51f6f98a59d1f7a397bc6
|
Provenance
The following attestation bundles were made for cheshire_cat_cli-0.1.0-py3-none-any.whl:
Publisher:
release.yml on matteospanio/cheshire-cat-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cheshire_cat_cli-0.1.0-py3-none-any.whl -
Subject digest:
dc19d4e540d4d424625bd63ea72ea6fa3b46c59d614d17f9cb9a6078f380c5a7 - Sigstore transparency entry: 659909934
- Sigstore integration time:
-
Permalink:
matteospanio/cheshire-cat-cli@18e57e6d5570bcca027686346b19bd6a68a2b5a4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/matteospanio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@18e57e6d5570bcca027686346b19bd6a68a2b5a4 -
Trigger Event:
push
-
Statement type: