| Crates.io | dailylog |
| lib.rs | dailylog |
| version | 0.5.0 |
| created_at | 2025-06-02 01:52:57.378448+00 |
| updated_at | 2025-07-14 04:17:51.607753+00 |
| description | Minimal journaling tool |
| homepage | |
| repository | https://github.com/cetanu/dailylog |
| max_upload_size | |
| id | 1697623 |
| size | 74,098 |
A minimal journaling tool
$EDITOR (defaults to vim) to write an entryYYYY-MM-DD.mddailylog previousRequires Rust toolchain. Install Rust
git clone https://github.com/cetanu/dailylog.git
cd dailylog
cargo build --release
cp target/release/dailylog ~/.local/bin/
cargo install dailylog
Create a config file at ~/.dailylog.toml:
# Directory where your daily logs are stored
log_dir = "/path/to/your/log/folder"
# Optional: Git repository URL for syncing logs across devices
git_repo = "https://github.com/yourusername/dailylogs.git"
# Optional: Enable automatic git sync after each log entry (default: false)
git_auto_sync = true
# Optional: Days to include in summary statistics (default: monday-friday)
# Accepts: monday, tuesday, wednesday, thursday, friday, saturday, sunday
# Short forms also work: mon, tue, wed, thu, fri, sat, sun
summary_days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
Make sure the log directory exists, or dailylog will try to create it on first run.
dailylog
This will:
$EDITOR or default to vim)2025-05-31.mdEntry format example:
Fixed authentication bug
Updated the login system to handle edge cases.
This resolves the timeout issues users reported.
- Improved error messages
- Added validation
Becomes:
## 14:30 - Fixed authentication bug
Updated the login system to handle edge cases.
This resolves the timeout issues users reported.
- Improved error messages
- Added validation
dailylog previous
dailylog yesterday
dailylog edit
This opens today's log file in your editor, allowing you to modify, add to, or reorganize your entries for the day.
# Summarize logs for the past 7 days (default)
dailylog summary
# Summarize logs for the past 30 days
dailylog summary --days 30
# Short form
dailylog summary -d 14
This command provides:
summary_days
in config# Sync logs (pull then push)
dailylog sync
# Pull latest logs from repository
dailylog pull
# Push local logs to repository
dailylog push
Setting up git sync:
git_repo = "your-repo-url" to ~/.dailylog.tomldailylog sync to initializegit_auto_sync = true for automatic syncingNote: on shells like fish, sometimes $EDITOR is not set to propagate to child processes. You can fix this with set -Ux EDITOR myEditor