Fast, minimal task tracking with plain HTML files — no database required
Minimal task tracker for AI coding agents.
| beads (SQLite) | dots-html | |
|---|---|---|
| Binary | 25 MB | 200 KB (125x smaller) |
| Lines of code | 115,000 | 2,800 (41x less) |
| Dependencies | Go, SQLite/Wasm | None |
| Portability | Rebuild per platform | Copy .dots/ anywhere |
A CLI task tracker with zero dependencies — tasks are plain HTML files with metadata tags in .dots/. No database, no server, no configuration. Copy the folder between machines, commit to git, edit with any tool. Parent-child relationships map to folders. Each task has an ID, title, status, priority, and optional dependencies.
Please open an issue with the details of the feature you want, including the AI prompt if possible, instead of submitting PRs.
Use the GitHub release asset from Randroids-Dojo/dots-html, or build from sourcegit clone https://github.com/Randroids-Dojo/dots-html.git
cd dots
zig build -Doptimize=ReleaseSmall
cp zig-out/bin/dot-html ~/.local/bin/dot-html --version
# Output: dots 0.6.4-html.2# Initialize in current directory
dot-html init
# Creates: .dots/ directory (added to git if in repo)
# Add a task
dot-html add "Fix the login bug"
# Output: dots-a1b2c3d4e5f6a7b8
# List tasks
dot-html ls
# Output: [a1b2c3d] o Fix the login bug
# Start working
dot-html on a1b2c3d
# Output: (none, task marked active)
# Complete task
dot-html off a1b2c3d -r "Fixed in commit abc123"
# Output: (none, task marked done and archived)dot-html initCreates .dots/ directory. Runs git add .dots if in a git repository. Safe to run if already exists.
dot-html add "title" [-p PRIORITY] [-d "description"] [-P PARENT_ID] [-a AFTER_ID] [--json]
dot-html "title" # shorthand for: dot-html add "title"Options:
-p N: Priority 0-4 (0 = highest, default 2)-d "text": Long description (html body of the file)-P ID: Parent task ID (creates folder hierarchy)-a ID: Blocked by task ID (dependency)--json: Output created task as JSON
Examples:
dot-html add "Design API" -p 1
# Output: dots-1a2b3c4d5e6f7890
dot-html add "Implement API" -a dots-1a2b3c4d -d "REST endpoints for user management"
# Output: dots-3c4d5e6f7a8b9012
dot-html add "Write tests" --json
# Output: {"id":"dots-5e6f7a8b9012cdef","title":"Write tests","status":"open","priority":2,...}dot-html ls [--status STATUS] [--json]Options:
--status: Filter byopen,active, ordone(default: shows open + active)--json: Output as JSON array
Output format (text):
[1a2b3c4] o Design API # o = open
[3c4d5e6] > Implement API # > = active
[5e6f7a8] x Write tests # x = done
dot-html on <id> [id2 ...]Marks task(s) as active. Use when you begin working on tasks. Supports short ID prefixes.
dot-html off <id> [id2 ...] [-r "reason"]Marks task(s) as done and archives them. Optional reason applies to all. Root tasks are moved to .dots/archive/. Child tasks wait for parent to close before moving.
dot-html show <id>Output:
ID: dots-1a2b3c4d5e6f7890
Title: Design API
Status: open
Priority: 1
Desc: REST endpoints for user management
Created: 2024-12-24T10:30:00Z
dot-html rm <id> [id2 ...]Permanently deletes task file(s). If removing a parent, children are also deleted.
dot-html ready [--json]Lists tasks that are open and have no blocking dependencies (or blocker is done).
dot-html tree [id]Without arguments: shows all open root dots and their children.
With id: shows that specific dot's tree (including closed children).
Output:
[1a2b3c4] o Build auth system
+- [2b3c4d5] o Design schema
+- [3c4d5e6] o Implement endpoints (blocked)
+- [4d5e6f7] o Write tests (blocked)
dot-html fixPromotes orphaned children to root and removes missing parent folders.
dot-html find "query"Case-insensitive search across title, description, close-reason, created-at, and closed-at. Shows open dots first, then archived.
dot-html purgePermanently deletes all archived (completed) tasks from .dots/archive/.
Tasks are stored as HTML files with metadata tags in .dots/:
.dots/
a1b2c3d4e5f6a7b8.html # Root dot (no children)
f9e8d7c6b5a49382/ # Parent with children
f9e8d7c6b5a49382.html # Parent dot file
1a2b3c4d5e6f7890.html # Child dot
archive/ # Closed dots
oldtask12345678.html # Archived root dot
oldparent1234567/ # Archived tree
oldparent1234567.html
oldchild23456789.html
config # ID prefix setting
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Fix the bug</title>
<meta name="dot-title" content="Fix the bug">
<meta name="dot-status" content="open">
<meta name="dot-priority" content="2">
<meta name="dot-issue-type" content="task">
<meta name="dot-assignee" content="joel">
<meta name="dot-created-at" content="2024-12-24T10:30:00Z">
<meta name="dot-block" content="a3f2b1c8d9e04a7b">
</head>
<body>
<article>
<h1>Fix the bug</h1>
<section id="description">
Description as HTML body here.
</section>
</article>
</body>
</html>IDs have the format {prefix}-{slug}-{hex} where:
prefix: Project prefix from.dots/config(default:dots)slug: URL-safe abbreviation of the title (max 32 chars)hex: 8-character random hex suffix
Example: dots-fix-user-auth-a3f2b1c8
The slug uses common abbreviations (authentication→auth, configuration→config, etc.) and truncates at word boundaries. Run dot-html slugify to rename existing IDs to include slugs.
Commands accept short prefixes:
dot-html on a3f2b1 # Matches dots-fix-user-auth-a3f2b1c8
dot-html show a3f # Error if ambiguous (multiple matches)dot-html slugifyRenames all issue IDs (including archived) to include slugs based on their titles. Preserves the hex suffix and updates all dependency references.
open -> active -> done (archived)
open: Task created, not startedactive: Currently being worked ondone: Completed, moved to archive
0: Critical1: High2: Normal (default)3: Low4: Backlog
parent (-P): Creates folder hierarchy. Parent folder contains child files.blocks (-a): Stored in HTML metadata. Task blocked until all blockers aredone.
When a task is marked done:
- Root tasks: Immediately moved to
.dots/archive/ - Child tasks: Stay in parent folder until parent is closed
- Parent tasks: Only archive when ALL children are closed (moves entire folder)
dots is a pure CLI tool. For Claude Code and Codex integration (session management, auto-continuation, context clearing), use banjo.
If you have existing tasks in .beads/beads.db, use the migration script:
./migrate-dots.shThis exports your tasks from SQLite and imports them as html files. The script verifies the migration was successful before prompting you to delete the old .beads/ directory.
Requirements: sqlite3 and jq must be installed.
| Feature | Description |
|---|---|
| HTML files | Human-readable, git-friendly storage |
| HTML metadata | Structured metadata with flexible body |
| Folder hierarchy | Parent-child relationships as directories |
| Short IDs | Type a3f instead of dots-a3f2b1c8d9e04a7b |
| Archive | Completed tasks out of sight, available if needed |
| Zero dependencies | Single binary, no runtime requirements |
MIT
