Skip to main content

Self-hosted FastAPI backend and Linux service CLI for SaveMyContext

Project description

SaveMyContext Server

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

Install As a Tool

Recommended user flow on Linux:

uv tool install savemycontext
savemycontext service install --start

That installs the backend as an isolated uv tool, writes config under ~/.config/savemycontext/, stores runtime data under ~/.local/share/savemycontext/, and registers a systemd --user 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 ~/.config/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.1.tar.gz (83.8 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.1-py3-none-any.whl (95.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for savemycontext-0.2.1.tar.gz
Algorithm Hash digest
SHA256 25c3b6917579a279ad437916e9a5fc1730d1df1ed75615f5ed8b81853334c19a
MD5 9094abf4fb8bf61cfea9b7759aa35786
BLAKE2b-256 6de26a85b1422f59543e86f19f97dba74661d8c7f1af7f5bc74cf254b14e490b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for savemycontext-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73f19fbfb7933ddf2b2d0c04f2ae6d76b06e2a3c6b03bc86d94c8fbef4b9b718
MD5 1b39388f4e022cfb69bc7d2e874b612f
BLAKE2b-256 29ac74ea335058a48413f2a610d58b282acf53b7909ca13e10a50141f762c756

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