{"repo":"martinklepsch/obsidian-context","free":true,"listed":false,"github":"https://github.com/martinklepsch/obsidian-context","clone":"git clone https://github.com/martinklepsch/obsidian-context.git","description":"A CLI script to query and export content from your Obsidian vault, works fully local & read-only","language":"Clojure","stars":17,"topics":["obsidian","obsidian-md"],"license":null,"category":"cli-tools","readme_excerpt":"Obsidian Context obsidian-context is a CLI script to query and export content from your Obsidian vault for use with LLMs. It can list recent-links (recently modified files) and pack your files (a la repomix) into a single context blob. For now it's meant to support two main workflows: 1. Pack Files : Easily pack files I edited this week/month for use with LLMs. 2. List Links : Get a list of frequently used links that I might want to consider as options when auto-tagging content in my vault / adding new content. obsidian-context works fully offline and will not modify any files. Installation obsidian-context is a babashka program, using bbin for distribution. Usage The tool relies on a location to an Obsidian vault, this can be provided via the $OBSIDIAN DIR environment variable. Pack Files Combine files modified within a specified timeframe into a single text blob (useful for feeding context to LLMs). Pack all files: Pack files modified in the last 7 days: Pack files modified in the last 3 months: (You can pipe the output to less for easier viewing: obsidian-context pack --lookback 3m less ) List Recent Links Get a list of recently modified files, sorted by modification time (newest first). This is useful for seeing recent activity or providing an LLM with potentially relevant recent notes. [!NOTE] Currently only links to existing files are shown. Links to files that are not found in the vault are not listed. Default (show recently modified files): This defaults to --lookback","default_branch":null,"files":null,"tree":[],"storefront":"/r/martinklepsch","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/martinklepsch/obsidian-context/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}