| Crates.io | dailies |
| lib.rs | dailies |
| version | 0.1.0 |
| created_at | 2025-04-19 12:56:32.22508+00 |
| updated_at | 2025-04-19 12:56:32.22508+00 |
| description | Daily journaling in plain markdown |
| homepage | |
| repository | https://github.com/JachymPutta/dailies |
| max_upload_size | |
| id | 1640631 |
| size | 48,920 |
Dailies is an extremely simple daily journal & habit tracker. It works on plain markdown files, meaning it can incorporate well with existing tools/systems like Obsidian.
For nix users the package can be built with:
nix build
Building from source requires the Rust tool-chain. Once installed, either run
just build
or:
cargo build --release
Dailies relies on a .toml configuration file which contains the following
fields:
dailies_dir = "<DIR>" # Directory to save daily entries to
entry_template = "<PATH>" # Which template to use
prompt_path = "<PATH>" # List of prompts -- {{prompt}} will be replaced by a random one
date_template = "%Y-%m-%d" # Format used for date entries
Dailies will look for a configuration file in the following locations, in order:
$HOME/.dailies.toml$HOME/.config/dailies.toml$HOME/.config/dailies/dailies.toml$XDG_CONFIG_HOME/dailies.toml$XDG_CONFIG_HOME/dailies/dailies.toml$PWD/.dailies.tomlThe most important part of the configuration is the entry template. This is a
Markdown file that will be used to generate each daily entry. There are no
requirements on the structure of the file, but dailies will look for several
sections:
---
id: "{{title}}"
tags:
- daily-notes
---
{{title}} -- will be substituted for today's date according to the date_template{{prompt}} -- will be substituted for a random prompt from the prompt_pathHabits followed by a list of <name>: <streak> will automatically
be incremented with each generated daily, to keep track of habit streaksTodos will get copied from the last daily to the current oneNOTE: There is a sample template in
examples/template.md
Dailies can be run either directly from the command line or as a nvim-plugin.