Skip to content

Repository files navigation

Daybook

Daybook app icon

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.

Run

./script/build_and_run.sh

The 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.

Local Data

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.

Bundle A Model

Build an app bundle with one installed Ollama model copied into Contents/Resources:

./script/build_and_run.sh --build-only --bundle-model qwen2.5:7b

At 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.

Online Phrase Context

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.

Ollama

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:7b

The Local Draft button can create a simple draft without calling Ollama.

About

Native macOS diary app with local Ollama, image placement, and phrase understanding

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages