Skip to main content

SaveMyContext Server

Self-hosted FastAPI backend and Linux/macOS service CLI for SaveMyContext.

Install As a Tool

Recommended user flow on Linux and macOS:

uv tool install savemycontext
smc install

The package name is savemycontext. It installs both smc and savemycontext command aliases; the docs use smc.

On Linux, smc install writes a systemd --user service. On macOS, it writes a per-user launchd agent. If one machine should serve other devices, use:

smc install --remote

Remote setup starts the backend, enables managed remote exposure, and prints a smc_conn_1_... connection string for the extension.

Useful commands:

smc status
smc logs -f
smc config path
smc doctor

Processing

SaveMyContext captures and stores conversations without an AI key. Add an OpenAI-compatible or Google key when you want richer summaries, classification, and graph extraction.

Recommended OpenRouter settings:

smc config set \
  --openai-api-key your_openrouter_key \
  --openai-base-url https://openrouter.ai/api/v1 \
  --openai-model google/gemma-4-31b-it:free \
  --openai-model-fallbacks google/gemma-4-26b-a4b-it:free,google/gemma-3-27b-it:free,google/gemma-3-12b-it:free,google/gemma-3-4b-it:free,google/gemma-3n-e4b-it:free,google/gemma-3n-e2b-it:free,openai/gpt-4.1-mini

You can also edit the generated env file directly:

  • Linux: ~/.config/savemycontext/savemycontext.env
  • macOS: ~/Library/Application Support/savemycontext/savemycontext.env

Browser automation is experimental and disabled by default.

Vault And To-Do Versioning

SaveMyContext writes the Obsidian vault under markdown/SaveMyContext, keeps a shared Dashboards/To-Do List.md, and initializes a local git repository in that vault by default. Session notes, dashboards, graph files, and to-do updates are committed automatically.

Run In the Foreground

smc config init
smc run

Development

Run the local development server from source with:

uv sync --group dev
uv run python -m app.dev

Run the backend tests with:

uv run --group dev python -m pytest -q

Metadata

Release files for savemycontext 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for savemycontext 0.2.4
File Size Uploaded
savemycontext-0.2.4.tar.gz 140.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for savemycontext 0.2.4
File Interpreter ABI Platform
savemycontext-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 323.9 kB

Release files / savemycontext-0.2.4.tar.gz

Download URL savemycontext-0.2.4.tar.gz
Size 140.4 kB
Tags Source
SHA-256 checksum
How to use checksums
57e0ba4735b5212f1ffd8ca4704be3c0a3399a655d5700e8b2554b1ba89beb3b
BLAKE2b-256 checksum
How to use checksums
e40f107b036bb2a9632136f6a03df36877b5902cc837ba265ff5059210843c42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.11

Release files / savemycontext-0.2.4-py3-none-any.whl

Download URL savemycontext-0.2.4-py3-none-any.whl
Size 183.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecb06f685d74d7d3e6b4b39b88bbeccc7c7248f56f95d11c3e405ea940d23853
BLAKE2b-256 checksum
How to use checksums
bca49f52c1bcd0e4e790234adfdb727bcb5eddf3b837ab6f7a8ee471a0738936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.11

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page