CLI for capturing screenshots and managing knowledge in Obris
Project description
Obris CLI
A command-line tool for capturing screenshots and managing knowledge in Obris, your personal knowledge layer for AI. Save content to organized topics so you never start another AI chat from zero again.
Install
Requires Python 3.10+.
pip install obris-cli
Or run directly with uv:
uvx obris-cli --help
Optional: macOS notifications
For desktop notifications with deep linking to your uploaded content:
brew install terminal-notifier
Setup
1. Get your API key
Generate an API key from your Obris dashboard. Don't have an account? Sign up.
2. Authenticate
obris auth --key <your-api-key>
This saves your key locally to ~/.obris/config.json and detects your Scratch topic (the default destination for captures).
Environments
You can configure separate API keys for prod and dev side by side:
obris auth --key <prod-key> # saves to prod (default)
obris --env dev auth --key <dev-key> # saves to dev
Use --env on any command to override the active environment:
obris --env dev capture
obris --env dev topic list
Set the default environment:
obris env dev # switch default to dev
obris env # show current default
Usage
Capture a screenshot
obris capture # screenshot + upload to Scratch
obris capture --name "my pic" # explicit name
obris capture --prompt # prompt for a name via dialog
obris capture --topic <id> # upload to a specific topic
Upload a file
obris upload photo.png # upload to Scratch
obris upload photo.png --topic <id> # upload to a specific topic
Manage topics
obris topic list # list all topics
obris topic list <topic_id> # list knowledge in a topic
Manage knowledge
obris knowledge move <id> --topic <id> # move to another topic
obris knowledge delete <id> # delete a knowledge item
Hotkeys
Bind keyboard shortcuts to capture commands using any automation tool — Alfred, Raycast, Keyboard Maestro, macOS Shortcuts, etc.
Example: Alfred
Create a workflow with a Hotkey trigger connected to a Run Script action (language: /bin/zsh):
Quick capture:
/full/path/to/obris capture
Capture with name prompt:
/full/path/to/obris capture --prompt
Tip: Use the full path to the
obrisbinary since Alfred doesn't load your shell profile. Runwhich obristo find it.
Platform support
| Platform | Capture | Upload / Topics / Knowledge |
|---|---|---|
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Windows | No | Yes |
Development
git clone https://github.com/obris-dev/obris-cli.git
cd obris-cli
uv sync
Run commands locally without installing:
uv run obris --env dev auth --key <your-api-key>
uv run obris capture
uv run obris topic list
Publishing
make publish # build and publish to PyPI
Privacy Policy
This CLI sends your Obris API key to the Obris API (api.obris.ai) to authenticate requests. It uploads files and retrieves topic and knowledge data from your account. No data is stored beyond the local config file at ~/.obris/config.json.
For the full privacy policy, see obris.ai/privacy.
Support
For issues or questions, contact support@obris.ai or open an issue on GitHub.
License
MIT
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 obris_cli-0.1.1.tar.gz.
File metadata
- Download URL: obris_cli-0.1.1.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9138269de058010b7814d00409a7f7320d51b0f64c05d21e8dea8cca3d5010c7
|
|
| MD5 |
3b8d9b92ef713c9e0ea0d363ed6d200c
|
|
| BLAKE2b-256 |
67270cd196319d74221281e6bd30d0d241dfb7c389017a5f286f722d2c0923c7
|
File details
Details for the file obris_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: obris_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4a62d24c7325bc2532ef80cd30bce5078758b40c09dfd9d1b653669051bf2ec
|
|
| MD5 |
3eec714e9500b5f8c58ec35605ea8660
|
|
| BLAKE2b-256 |
bc2b7397cad5f7b282115288169ca17916090617cc87d0209f5ec5a37012f661
|