Skip to main content

voice-to-vault

CI License: MIT Python 3.9+ Zero dependencies

Turn voice captures into a well-organized Obsidian vault.

Point your transcription service's webhook at voice-to-vault. Each capture is routed to the right folder by your own rules, written as a clean Markdown note with front matter — atomically, idempotently, and with a guarantee it's never silently lost. Then query the result with vault-ask.

$ echo '{"id":"abc","title":"Client invoice","transcript":"Send the invoice to the client after the meeting."}' \
    | voice-to-vault ingest --config config.json
{
  "ok": true,
  "action": "written",
  "note": ".../Work/2026-06-20_10-00-00_abc.md",
  "route": "work",
  "review_status": "auto-routed",
  "confidence": "high"
}

Why

Voice capture is easy; keeping the result organized and trustworthy is the hard part. voice-to-vault is the small, boring, correct middle layer:

  • Config-driven routing — you declare routes (keywords / aliases → folder). Generic filler words ("note", "idea", "today") never decide a route on their own, so captures don't all pile into one place. Ties go to needs-review, not a guess.
  • Atomic writes — a crash mid-write can never leave a half-written note.
  • Idempotent + no silent loss — the same capture is never written twice, and if a write fails the capture is not marked done, so it can be retried instead of vanishing while the caller is told "ok".
  • Provider-agnostic — maps common webhook payload shapes to a normalized capture.
  • Zero dependencies — Python standard library only (the web listener too).

Install

Requires Python 3.9+.

pip install git+https://github.com/guillaumevele/voice-to-vault.git

Configure

Copy examples/config.example.json and edit it:

{
  "vault": "~/Obsidian/MyVault",
  "default_route": { "name": "inbox", "folder": "00-inbox" },
  "routes": [
    { "name": "work", "folder": "Work",
      "keywords": ["meeting", "deadline", "invoice"], "aliases": ["project"] },
    { "name": "tasks", "folder": "Tasks", "keywords": ["todo", "remind", "call back"] }
  ]
}

Use

# See where some text would be routed (no write):
voice-to-vault route --config config.json "remind me to call back the client"

# Ingest one capture (JSON arg or stdin):
voice-to-vault ingest --config config.json --json '{"id":"1","transcript":"..."}'

# Run the webhook listener (stdlib http server):
export VOICE_TO_VAULT_SECRET=your-shared-secret   # optional HMAC-SHA256 verification
voice-to-vault serve --config config.json --port 8765

Point your provider's webhook at http://host:8765/. If VOICE_TO_VAULT_SECRET is set, requests must carry an X-Signature: <hex hmac-sha256(body)> header.

The listener only accepts Content-Type: application/json bodies up to 1 MiB, and refuses to bind to a non-loopback address (--host 0.0.0.0) unless VOICE_TO_VAULT_SECRET is set.

Library

The pieces are usable directly, with no web layer:

from voice_to_vault import load_config, ingest, capture_from_payload

config = load_config("config.json")
result = ingest(config, capture_from_payload(my_payload_dict))

Tests

python -m unittest discover -s tests -t tests

License

MIT — see LICENSE.

Metadata

Release files for voice-to-vault 0.1.1

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

Source distribution (sdist)

Source distribution for voice-to-vault 0.1.1
File Size Uploaded Provenance Actions
voice_to_vault-0.1.1.tar.gz 17.4 kB With provenance Details for voice_to_vault-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for voice-to-vault 0.1.1
File Interpreter ABI Platform Actions
voice_to_vault-0.1.1-py3-none-any.whl Python 3 none any Details for voice_to_vault-0.1.1-py3-none-any.whl

Total release size: 32.4 kB

Release files / voice_to_vault-0.1.1.tar.gz

Download URL voice_to_vault-0.1.1.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
88429940e2e82d8848d5b1f8acd9c4ff91e62766976741a13a5b8b96fc1c9fd3
BLAKE2b-256 checksum
How to use checksums
503693b63ba8cf94de1c5021b10b2808378188a89e79b7af4ab9b098dbfcc682
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / voice_to_vault-0.1.1-py3-none-any.whl

Download URL voice_to_vault-0.1.1-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fba1fd7ac25eb802abc009bbda8a6425b690684e8eb945f7e0624ec3fde09e93
BLAKE2b-256 checksum
How to use checksums
a6f27e1ec212c5312befb16123e07edaafade06306e874fcc5b3257d69e4e215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for voice-to-vault 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for voice_to_vault-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

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