Syncs Obsidian daily notes to Hindsight so they can be recalled by AI agents.
Project description
hindsight-daily
Syncs Obsidian daily notes to Hindsight so they can be recalled by AI agents.
How it works
Walks a configured vault directory, finds notes named YYYY-MM-DD.md, parses them into structured sections, and submits new or changed notes to Hindsight via its API. Unchanged notes are skipped. Deleted notes are removed from Hindsight.
Change detection uses a content hash (not mtime) because Obsidian plugins frequently touch mtime without changing content.
Installation
uv tool install hindsight-daily
or with pip:
pip install hindsight-daily
Config
Config lives in ~/.config/hindsight-daily/config.yaml (XDG-compliant):
bank_id: your-bank-id
api_key: your-api-key
api_url: # optional, for local Hindsight installations
daily_notes_path: /path/to/vault/journals
verbose: false
Usage
hindsight-daily sync # sync new and changed notes
hindsight-daily sync --limit 5 # sync at most 5 notes
hindsight-daily forget DATE # remove a note from server and cache
hindsight-daily status # show pending/up-to-date counts
hindsight-daily -v status # show individual note dates
hindsight-daily -v sync # sync with debug logging
Content structure
Each section of a note is submitted as a separate Hindsight document (e.g. journal:2024-01-07_001, journal:2024-01-07_002). The journal: prefix namespaces documents to avoid collisions with other tools writing to the same bank. The shallowest heading level present in the note becomes the section boundary; deeper headings are merged into their parent section as text blocks. Bullet and ordered lists preserve their markers. Blockquotes and unlabeled code blocks are wrapped in <quote> tags so Hindsight distinguishes external content from the user's own writing. Language-tagged code blocks use <code lang="...">. Wikilinks in section titles are extracted as scoped entity declarations so Hindsight correctly associates facts with the right entities.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hindsight_daily-0.2.0.tar.gz.
File metadata
- Download URL: hindsight_daily-0.2.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af5bb1838cbc1f8a25806c246ef700f20d22d32c795ef44c0075f81eeae2b3b1
|
|
| MD5 |
c8946ca3746fc5eac5ce96d85a915870
|
|
| BLAKE2b-256 |
fd4ff6d7a696fd9ef8769bbb9313f47698533a9b9dd2ad5c04a678d78f69c812
|
Provenance
The following attestation bundles were made for hindsight_daily-0.2.0.tar.gz:
Publisher:
publish.yml on r8/hindsight-daily
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hindsight_daily-0.2.0.tar.gz -
Subject digest:
af5bb1838cbc1f8a25806c246ef700f20d22d32c795ef44c0075f81eeae2b3b1 - Sigstore transparency entry: 1469582049
- Sigstore integration time:
-
Permalink:
r8/hindsight-daily@b4933f7a5dff637243b8440a1086b2b0e0ed9633 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/r8
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b4933f7a5dff637243b8440a1086b2b0e0ed9633 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hindsight_daily-0.2.0-py3-none-any.whl.
File metadata
- Download URL: hindsight_daily-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86a314a314d566c1944fb009467fd6d88e45d28c552b18721f68b7d2c5a34b53
|
|
| MD5 |
1f74b0b2993ad0065456b14eeb310ad8
|
|
| BLAKE2b-256 |
82705cae99cbf6f426c3a7c735ea94f7dd9a73185bd2b4f5575f1f8d92df7f88
|
Provenance
The following attestation bundles were made for hindsight_daily-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on r8/hindsight-daily
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hindsight_daily-0.2.0-py3-none-any.whl -
Subject digest:
86a314a314d566c1944fb009467fd6d88e45d28c552b18721f68b7d2c5a34b53 - Sigstore transparency entry: 1469582201
- Sigstore integration time:
-
Permalink:
r8/hindsight-daily@b4933f7a5dff637243b8440a1086b2b0e0ed9633 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/r8
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b4933f7a5dff637243b8440a1086b2b0e0ed9633 -
Trigger Event:
release
-
Statement type: