Quick daily task logging for developers to improve productivity and context switching
Task Cache is a simple command-line tool that helps developers track their daily progress in just a few minutes. By maintaining a structured log of what you did, what's next, and what issues occurred, you can dramatically reduce context switching costs and start each day with clarity.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Task Cache Demo β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β $ tcache β
β β
β π Task Cache - Quick Daily Task Log β
β π‘ Tip: Use double spaces to create bullet points β
β β
β What did you do today? β
β > Fixed auth bug Added rate limiting Deployed to prod β¨ β
β β
β What's next on your plate? β
β > Write tests Review PRs Update docs β
β β
β β
Task cache saved to ~/.task-cache/2025-05-22.md β
β β
Task cache pushed to GitHub successfully β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- β‘ 5-minute daily logging - Quick, structured logging that doesn't interrupt your workflow
- π Smart markdown formatting - Automatically formats your entries into clean, readable markdown
- π Powerful search - Find solutions to problems you've solved before
- βοΈ GitHub sync - Back up your logs and access them from any device
- π§ Context preservation - Never lose track of where you left off
- π₯ Team sharing - Share knowledge with teammates (optional)
- β¨ Double-space formatting - Type naturally, get perfect bullet points
npm install -g task-cachetcache helpβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Your First Task Cache β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Step 1: Run the command β
β $ tcache β
β β
β Step 2: Answer the prompts naturally β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β What did you do today? β β
β β > Fixed login bug Added authentication Deployed β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β Step 3: Enjoy perfectly formatted logs! π β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Task Cache automatically converts your natural typing into clean markdown:
ββββ What You Type βββββββββββββββββ ββββ What Gets Saved βββββββββββββββ
β β β β
β Fixed login bug Added rate βββββΆβ - Fixed login bug β
β limiting Deployed session fix β β - Added rate limiting β
β β β - Deployed session fix β
ββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Command Reference β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Basic Commands: β
β tcache Create new task cache β
β tcache view View today's cache β
β tcache view 2025-05-20 View specific date β
β tcache list List all cached logs β
β tcache search "bug" Search through logs β
β β
β GitHub Sync: β
β tcache github setup Configure GitHub backup β
β tcache github status Check sync status β
β tcache github push Push to GitHub β
β tcache github pull Pull from GitHub β
β tcache github debug Debug configuration β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Developer's Day Without Task Cache
βββββββββββββββββββββββββββββββββββ
9:00 AM π΅ "What was I working on yesterday?"
π Searches through Slack messages...
π§ Checks email for clues...
π€ Tries to remember context...
9:23 AM π‘ "Oh right, the login bug!"
π Starts debugging...
11:30 AM π₯ "Wait, didn't I solve this before?"
π Searches codebase...
π Checks old tickets...
12:15 PM π€ "I KNOW I fixed this same issue!"
Total time lost: 1.5+ hours β°
Developer's Day WITH Task Cache
βββββββββββββββββββββββββββββββββββ
9:00 AM π tcache view
β
"Yesterday I was debugging the login timeout"
β
"Next: Check the session middleware"
β
"Note: Solution is in commit abc123"
9:03 AM π Immediately starts productive work
11:30 AM π tcache search "login timeout"
β¨ "Found it! I solved this 2 weeks ago"
π "The fix was in the cookie expiration logic"
11:32 AM β
Problem solved with context
Time saved: 1.5+ hours β°
Task Cache implements the Zeigarnik Effect - by closing mental loops at the end of each day, you:
- β Clear your mental RAM
- β Build continuity between workdays
- β Create searchable knowledge base
- β Reduce cognitive load
# Task Cache: Wednesday, May 22nd, 2025
## What I Did
- Refactored authentication middleware to handle rate limiting
- Fixed bug #231 with session expiration (was a cookie timing issue)
- Started investigating memory leak in analytics module
- PR review for team member's frontend components
## What's Next
- Write unit tests for the new rate limiter
- Complete memory leak investigation (focus on third-party SDK)
- Start implementing the new notification system
- Prepare for tomorrow's API design review meeting
## What Broke or Got Weird
- Memory leak appears to be coming from third-party analytics SDK
- AWS Lambda logs are delayed by ~5 minutes today
- Intermittent 401 errors from auth service during peak load
- Database query for user profiles suddenly running 2x slower
## Notes
- Productivity today: 4/5
- Need to follow up with DevOps about AWS CloudWatch alerts
- Good conversation with product team about notification priority levels
---
*Cached at 5:32 PM*βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β βοΈ GitHub Sync Setup β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Step 1: Generate Personal Access Token β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β π github.com/settings/tokens β β
β β β
Create new token (classic) β β
β β β
Select "repo" scope β β
β β β
Generate & copy token β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β Step 2: Configure Task Cache β
β $ tcache github setup β
β π¦ Repository: username/task-logs β
β πΏ Branch: main β
β π Token: github_pat_xxxxx β
β β‘ Auto-sync: yes β
β β
β Step 3: Verify β
β $ tcache github status β
β β
GitHub sync enabled and working! β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π¦ GitHub Sync Status β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β β
Enabled: Yes β
β π¦ Repository: dholdaway/task-logs β
β πΏ Branch: main β
β β‘ Auto Sync: Yes β
β π Sync on Start: Yes β
β π Last Sync: May 22, 2025 at 5:32 PM β
β β
β π Remote URL: https://***@github.com/dholdaway/task-logs β
β π Uncommitted files: No β
β πΏ Current branch: main β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Search Example β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β $ tcache search "memory leak" β
β β
β π Searching task cache for "memory leak": β
β β
β β
Found in 2025-05-22: β
β In section: What I Did β
β - Started investigating memory leak in analytics module β
β β
β β
Found in 2025-05-15: β
β In section: What Broke or Got Weird β
β - Memory leak in user session handling β
β - Fixed by updating cleanup intervals β
β β
β β
Found in 2025-05-08: β
β In section: Notes β
β - Memory leak was caused by event listeners not β
β being properly removed β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π₯ Team Benefits β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Individual Use: β
β π€ Personal task cache + optional sharing β
β β
β Team Repository: β
β π₯ Shared knowledge base β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Better Standups Fewer Repeat Issues β β
β β βββββββββββββββ βββββββββββββββββββββββββββββββ β β
β β β "Yesterday β β "I solved this same bug β β β
β β β I worked β β last month - check my β β β
β β β on X, Y, β β May 15th log for the β β β
β β β and Z" β β solution!" β β β
β β βββββββββββββββ βββββββββββββββββββββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Smoother Handoffs Accurate Retros β β
β β βββββββββββββββ βββββββββββββββββββββββββββββββ β β
β β β "The issue β β "Based on daily logs, our β β β
β β β is in the β β main blockers were API β β β
β β β analytics β β timeouts and database β β β
β β β module - β β performance issues" β β β
β β β see log" β β β β β
β β βββββββββββββββ βββββββββββββββββββββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π¨ Formatting Examples β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Double Space Magic: β
β Input: "Item one Item two Item three" β
β Output: - Item one β
β - Item two β
β - Item three β
β β
β Numbered Sections: β
β Input: "1. Frontend Fixed bugs 2. Backend Added API" β
β Output: **1. Frontend** β
β - Fixed bugs β
β **2. Backend** β
β - Added API β
β β
β Mixed Content: β
β Input: "Fixed login bug. Added rate limiting Tests" β
β Output: - Fixed login bug. Added rate limiting β
β - Tests β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Debug Output β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β $ tcache github debug β
β β
β π GitHub Sync Debug Information: β
β β
β π Directory: /Users/you/.task-cache β
β π§ Config file: /Users/you/.task-cache/.github-config.json β
β π Config exists: true β
β β
Enabled: true β
β π¦ Repository: username/task-logs β
β πΏ Branch: main β
β π Token length: 113 characters β
β π Auto sync: true β
β β
β π Git Configuration: β
β π Remote URL: https://***@github.com/username/task-logs β
β π Uncommitted files: No β
β πΏ Current branch: main β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Common Issues & Solutions β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β β Problem: Permission denied when pushing β
β β
Solution: β
β $ git credential-osxkeychain erase <<EOF β
β protocol=https β
β host=github.com β
β EOF β
β $ tcache github setup β
β β
β β Problem: Divergent branches error β
β β
Solution: β
β $ cd ~/.task-cache β
β $ git pull origin main --allow-unrelated-histories β
β $ tcache github push β
β β
β β Problem: Command not found β
β β
Solution: β
β $ npm install -g task-cache β
β β
β β Problem: Token authentication fails β
β β
Solution: β
β β’ Ensure token has "repo" scope β
β β’ Generate fresh token on GitHub β
β β’ Run: tcache github setup β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
After using Task Cache for a week, developers typically report:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Impact Metrics β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Morning Startup: π 23% faster β
β ββββββββββββββββββββββββββββββββββββ β
β β
β Repeated Investigations: π 35% fewer β
β ββββββββββββββββββββββββββββββββββββββββββ β
β β
β Handoff Quality: π€ 67% better β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β Standup Confidence: πͺ 89% more confident β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Task Cache stores files in your home directory:
~/.task-cache/
βββ 2025-05-22.md # Today's task cache
βββ 2025-05-21.md # Yesterday's log
βββ 2025-05-20.md # Previous logs
βββ .github-config.json # GitHub sync config (excluded from sync)
βββ .gitignore # Protects sensitive files
# Add to your shell profile
alias eod="tcache"
# Create a shutdown script
echo "tcache" >> ~/bin/end-of-day.sh
# Git commit hook to remind you to log
echo "echo 'Don't forget: tcache'" >> .git/hooks/post-commitβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Tool Integrations β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β π¬ Slack β
β Share interesting findings with team β
β β
β π Notion β
β Copy logs for project documentation β
β β
β π« Jira β
β Reference logs in tickets β
β β
β π£οΈ Stand-up Meetings β
β Review yesterday's log before meeting β
β β
β π Code Reviews β
β Include context from task cache in PR descriptions β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Found a bug or have a feature request?
- Check existing issues
- Create a new issue with detailed description
- Or submit a pull request!
git clone https://github.com/dholdaway/TaskCache.git
cd TaskCache
npm install
npm linkUpcoming features:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Roadmap β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β π Export to PDF/HTML formats β
β π Team analytics and insights β
β π Integration with project management tools β
β π Custom templates for different work types β
β β° Time tracking integration β
β π€ AI-powered insights and suggestions β
β π± Mobile companion app β
β π Smart reminders and notifications β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
MIT License - see LICENSE file for details.
This tool was inspired by:
- Research on developer productivity and the Zeigarnik Effect
- Daily logging practices from productive development teams
- The need for better context switching in distributed teams
Start building better development habits today:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Get Started β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β $ npm install -g task-cache β
β $ tcache β
β β
β That's it! Your first task cache is ready π β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Made with β€οΈ for developers who want to stay productive and maintain context across their workdays.