Daybook is a native macOS diary app that stores entries locally and uses a local Ollama model to turn rough daily records into a polished diary with uploaded images placed in the right parts of the story.
./script/build_and_run.shThe script builds the SwiftPM target, stages dist/Daybook.app, and launches it
as a real macOS app bundle.
The generated dist/Daybook.app, Swift build products, and bundled model
weights are intentionally not committed to GitHub. Rebuild them locally with the
commands below.
Daybook saves entries and copied image attachments here:
~/Library/Application Support/Daybook/
The app also has an Open Local Data Folder button in the inspector.
Build an app bundle with one installed Ollama model copied into
Contents/Resources:
./script/build_and_run.sh --build-only --bundle-model qwen2.5:7bAt launch, Daybook detects the bundled model, copies it once into Application
Support, starts Ollama on http://127.0.0.1:11541, and uses that private local
model store. The packager also copies the local Ollama executable into the app
bundle when it is available.
Use Online Context to search recent phrases, slang, or memes before
generating. For example, add 67 and click Search. When online search is
enabled, Daybook also searches candidate phrases before generation and includes
the snippets as background context for the local model.
The diary prompt tells the model to use search snippets only to interpret your notes, not to invent diary events.
When no model is bundled, the default endpoint is:
http://127.0.0.1:11434
The default model is:
qwen2.5:7b
Install or start Ollama, then use Test Ollama inside the app. If you want the default model:
ollama pull qwen2.5:7bThe Local Draft button can create a simple draft without calling Ollama.