Database for managing my zettelkasten
Find a file
2025-10-19 12:09:29 +01:00
src refactor: use context manager for database connection 2025-10-18 18:47:04 +01:00
tests
.gitignore chore: remove db from git 2025-01-21 17:44:26 +00:00
eolas-db-ERM.png chore: add ERM diagram 2024-11-03 14:31:15 +00:00
README.md chore: update readme 2025-10-19 12:09:29 +01:00
setup.py fix: tag export functionality 2025-01-17 17:48:04 +00:00

eolas-db

This CLI application parses entries in my zettelkasten, extracts the content and metadata for each entry and inserts it into an SQLite database.

It takes two parameters:

  • --source
    • A file reference to the location of the markdown files comprising the Zettelkasten
  • --target
    • A file reference designating where the SQLite file should be saved.

Local development

source venv/bin/activate
python3 src/app.py --source="/my-zettelkasten-entries" --target="/tmp/zettelkasten-output-dir"

Production

Generate single executable

source venv/bin/activate
pyinstaller --onefile ${HOME}/eolas-db/src/app.py

Will build to the /dist directory of this repo when run locally.

Run executable

${HOME}/eolas-db/dist/app --source="/my-zettelkasten-entries" --target="/tmp/zettelkasten-output-dir"

ERM

ERM diagram for eolas-db

eolas

The repository for the Zettelkasten that this application reads from.

eolas-api

A NodeJS Express API which sources its data from database created by this application.

eolas-app

A web frontend for the application, deployed at eolas-app.systemsobscure.net.