dlog is a small CLI for recording and viewing daily work logs.
go install github.com/okaryo/dlog@latestdlog "task progress update"
dlog
dlog log
dlog log --date 2026-04-12
dlog md
dlog md --date 2026-04-12dlog "text"appends a log entry for today with the current local timestamp.dloganddlog logshow today's logs in reverse chronological order.dlog log --date YYYY-MM-DDshows logs for the specified date.dlog mdprints today's logs in Markdown order from oldest to newest.dlog md --date YYYY-MM-DDprints logs for the specified date in Markdown order.- Displayed times use the timezone recorded in each log entry, not the viewer's current local timezone.
- Logs are stored under
~/.dlog. - Each day is stored as one JSON file named
YYYY-MM-DD.json. - Timestamps are saved in RFC3339 format with the local time zone.
Example:
{
"date": "2026-04-12",
"logs": [
{
"timestamp": "2026-04-12T10:03:21+09:00",
"text": "task progress update"
}
]
}- Additional export formats
- Daily and weekly summaries
- Tags