Skip to main content

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

Project description

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
savemycontext service install --start

On Linux, that installs a systemd --user service. On macOS, it installs a per-user launchd agent. The CLI also supports savemycontext run if you want the backend in the foreground without a background service.

Useful commands:

savemycontext service status
savemycontext service logs -f
savemycontext config path
savemycontext doctor

Processing

Recommended OpenRouter env settings:

SAVEMYCONTEXT_OPENAI_API_KEY=your_openrouter_key
SAVEMYCONTEXT_OPENAI_BASE_URL=https://openrouter.ai/api/v1
SAVEMYCONTEXT_OPENAI_MODEL=openai/gpt-4.1-mini

Browser automation is experimental and disabled by default.

For savemycontext service install, put those values in the generated env file:

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

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

savemycontext run

Development

Run the local development server from source with:

uv sync
uv run python -m app.dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

savemycontext-0.2.3.tar.gz (123.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

savemycontext-0.2.3-py3-none-any.whl (125.2 kB view details)

Uploaded Python 3

File details

Details for the file savemycontext-0.2.3.tar.gz.

File metadata

  • Download URL: savemycontext-0.2.3.tar.gz
  • Upload date:
  • Size: 123.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.11

File hashes

Hashes for savemycontext-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c8dbae27db91730a77c952e7562eb134a6083ba5e60099ac5e1d2e65e4c61363
MD5 b87224a600ecf79c82b103139b0c8cba
BLAKE2b-256 f3ca5fb7d981ad86ba0476b4d8bed53e5be70b740693589ff1ba8435de03b12f

See more details on using hashes here.

File details

Details for the file savemycontext-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for savemycontext-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 09d4f63d5c4e125f0597dfc9cf330e5f374501aa9a58878c95a7b3ce3e3a5867
MD5 b27debbab51994506bc22591a25da338
BLAKE2b-256 25b1f727d067674092c261bf16ead9d06d49f72f667577978cb1dbe05e226a33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page