Never lose track of your coding progress. Git Diary automatically records your development activity in a private GitHub repository, creating a detailed, timestamped journal of your work.
- Smart Change Tracking: Records code snippets with line numbers
- Configurable Intervals: Auto-commit every 30 mins (adjustable)
- Private GitHub Repo: Secure storage in
github-diary-entriesrepository - File History: Track file operations (create/rename/delete)
- Custom Ignore Patterns: Built-in + user-defined path exclusion
- Commit Templates: Support for dynamic date/time variables
- Status Bar Control: Quick access to settings and stats
- GitHub OAuth authentication
- Token stored in VS Code secure storage
- Private repository ownership
- No third-party data collection
- Open VS Code Extensions (
Ctrl+Shift+X) - Search for "Git Diary"
- Click Install
Or install manually:
github clone https://github.com/strangely-true/github-diary.git
cd github-diary
npm install
vsce package
code --install-extension github-diary-0.1.0.vsix- Click the Git Diary status bar icon
- Select "Authenticate with GitHub"
- Grant repo access through GitHub OAuth
- Private repository auto-created at:
github.com/<your-username>/github-diary-entries
Access settings via:
- Status bar icon
- Command Palette (
Ctrl+Shift+P) - VS Code settings UI
{
"githubDiary.commitInterval": 30,
"githubDiary.commitMessage": "Diary update: ${date}",
"githubDiary.ignoredPaths": [
"/node_modules/",
"/dist/",
"*.log",
".env"
]
}Git Diary: Open Settings # Main configuration hub
Git Diary: Change Commit Interval # Set auto-commit frequency
Git Diary: Manage Ignored Paths # Edit exclusion patterns📂 github-diary-entries
└📂 2025
└📂 01
└📄 15.md # Daily Markdown file## 2024-01-15 14:30
### index.ts
*src/components*
- 14:32: Modified line 15:
`const [state, setState] = useState(initial...`
- 14:45: Renamed from old-component.tsx
- 15:00: Created new-utils.ts- Ownership: You retain full control of repository
- Access: Requires only repo scope GitHub token
- Storage: All data remains in your GitHub account
- Encryption: Communications via HTTPS/TLS
Authentication Failed:
- Re-authenticate via status bar menu
- Check GitHub token in VS Code secrets
Missing Commits:
- Verify repository exists at correct URL
- Check network connectivity
Unexpected File Tracking:
- Update
ignoredPathsin settings - Use regex patterns for complex exclusions
git clone https://github.com/strangely-true/github-diary.git
npm install
npm run compile
npm testMIT License - See LICENSE for full text
✨ Transform Your Workflow - Never lose a code change again! ✨