Personal automation to create Neuron zettelkasten from an existing Markdown notes project
Find a file
2025-01-21 17:59:04 +00:00
src fix: re-populate db before exporting tags 2025-01-21 17:58:48 +00:00
.gitignore feat: copy favicon to target dir 2024-11-17 15:43:16 +00:00
README.md chore: update readme 2025-01-21 17:59:04 +00:00
setup.py chore: tidy setup.py 2025-01-16 07:05:02 +00:00

neuron-zk-generator

This Python application reads data from my zettelkasten and formats it so that it can be compiled as a Neuron project and from there published as a static-site on the Web.

Local development

Activate the virtual environment:

source venv/bin/activate

Run:

python3 src/app.py

Build single executable

Use pyinstaller to create single executable file. pyinstaller is installed along with other packages specified in setup.py.

Ensure the virtual environment is running.

From root:

pyinstaller --onefile src/app.py --name neuron-zk-generator
# -F compiles to single file

Outputs to neuron-zk-generator/dist/app.

Sourcing the executable:

${HOME}/repos/neuron-zk-generator/dist/app

Run executable as program

sudo mv ${HOME}/repos/neuron-zk-generator/dist/app /usr/local/bin

Then run with:

neuron-zk-generator