Skip to content

efiegel/capture

Repository files navigation

Capture

An aide for plain text note management. Intended for use with tools like Obsidian.

Quick-capture cli

python -m scripts.capture
add to vault: start a new csv workout log and add that I went on a 2 mile run today

Obsidian screenshot: new csv log

Integrate transcribed audio

python -m scripts.listen

Obsidian screenshot: updated book note

Fetch from Apple Notes

python -m scripts.fetch_apple_notes
----------------------------------------
title: Reading notes
created at: 2024-09-24 13:59:11 +0000
  >> add to vault? (y/n) [y]: 
----------------------------------------
title: Work thoughts
created at: 2024-09-24 13:59:48 +0000
  >> add to vault? (y/n) [y]: 

Setup

Dependencies

Audio transcription requires ffmpeg:

brew install ffmpeg

Install python packages with pipenv:

pip install pipenv
pipenv shell
pipenv install

Environment

This tool requires an OpenAI API key.

Create an .env file as follows:

AUDIO_DIRECTORY=~/Library/Application Support/com.apple.voicememos/Recordings
OPENAI_API_KEY=your-api-key
VAULT_DIRECTORY=your-vault-path

Recommendations

Version control

This tool will write content directly to your files, so adding version control to your notes directory is strongly advised. Obsidian users can reference obsidian-git.

Manually editing notes

Continue to manually edit your notes as you otherwise would! Capture doesn't keep state, so it won't be thrown off if you interleave it's automated additions with manual ones.

About

Intelligent note-taking aide

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages