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 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.2.tar.gz (87.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.2-py3-none-any.whl (97.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for savemycontext-0.2.2.tar.gz
Algorithm Hash digest
SHA256 8009e4f2da50b4d299e15be981983ff50baddc1e6cdb77ef6f6164854736c236
MD5 4d978fa1e3570b067f2dd619ccfd71cb
BLAKE2b-256 69c3a5d53bd5d5bd8410e3054c1aa28a11ceac8773e33d1b2b9e8f9938df92a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for savemycontext-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0f98b6e12f4dd0553b954d5c533aa5d641672c9a78f60a0916450cb9f3b13fb
MD5 0468b7a667009ab67caf643a430eab97
BLAKE2b-256 5d60bff13510b9da21e0c4ab40058b7d028d13d1e10f7eeaefd238eb82b83498

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