Transform Telegram into your personal git-powered notebook. A powerful open-source bot that turns your messages into organized GitHub commits with AI assistance, issue management, and advanced analytics.
π Try it now: @Msg2GitBot | π Self-host: Deploy your own instance | π Homepage: www.msg2git.com
π₯ Watch 8-minute Demo Video - See all features in action! π
- Start the bot: @Msg2GitBot
- Setup repository:
/repocommand to connect your GitHub - Send messages: Text, photos, ideas - organized automatically
- Upgrade if needed:
/coffeefor premium features
git clone https://github.com/msg2git/msg2git.git
cd msg2git
vim .minimal.env # Settle your tokens
docker-compose upgit clone https://github.com/msg2git/msg2git.git
cd msg2git
cp .prod.env .env ; cat .minimal.env >> .env
vim .env # Settle your tokens
go mod tidy
go run main.go- π¨ Smart Message Processing: Send text, photos, and captions with interactive file selection
- πΈ Photo Support & CDN: Upload photos directly with automatic GitHub CDN storage
- β TODO Management: Interactive numbered TODOs with completion buttons
- β GitHub Issue Integration: Create and manage GitHub issues directly from Telegram
- π Analytics & Insights: 30-day commit graphs and usage statistics
- π Multi-User & Security: Database-driven with encrypted user data and premium tiers
- π¨ Enhanced UX: Progress bars, message editing, mobile-optimized layouts
- π Performance: File-level locking, worker pools, race condition protection
- Message the Bot: Send any text message to your configured Telegram bot
- Choose Location: Select file type using interactive buttons (π NOTE, β TODO, β ISSUE, π‘ IDEA, π₯ INBOX, π§ TOOL)
- AI Processing: Bot generates title and hashtags (if LLM configured)
- Git Operations: Pulls latest changes, prepends your message, commits and pushes
- Success Feedback: Get confirmation with GitHub file link
Regular Files:
<!--[123] [456789] [2025-06-25 14:30]-->
## Meeting Notes Discussion
#productivity #ideas
Had a great discussion about the new product features...TODOs:
- [ ] <!--[123] [456789]--> Review pull request documentation (2025-06-25)
- [x] <!--[122] [456789]--> Update README with new features (2025-06-24)For the complete list of commands and features, message the bot:
/start- Welcome message and quick setup guide/help- Detailed help with all available commands
Essential Commands: /llm, /repo, /todo, /issue, /insight, /stats
- Message @BotFather on Telegram
- Use
/newbotcommand and save the bot token
- Create a GitHub repository for your notes
- Generate Personal Access Token with
reposcope - Ensure Contents, Issues, and Releases permissions are enabled
Get API key from DeepSeek Platform for AI-powered title generation
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β Telegram Bot βββββΊβ msg2git App βββββΊβ GitHub API β
β β β β β β
β β’ Rate Limited β β β’ Multi-user β β β’ Auto-sync β
β β’ Progress Bars β β β’ Photo CDN β β β’ Issue Mgmt β
β β’ Interactive β β β’ AI Processing β β β’ Git Ops β
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β
βΌ
βββββββββββββββββββ
β PostgreSQL β
β β
β β’ User Data β
β β’ Encrypted β
β β’ Multi-tenant β
βββββββββββββββββββ
- Token encryption with database storage
- Per-user repository isolation
- Tiered storage limits (1MB-10MB based on plan)
- File-level locking for concurrent operations
- Worker pool architecture (35 message + 30 callback workers)
- Rate limiting and auto-cleanup mechanisms
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT License - see LICENSE file for details.
Attribution Requirement: Any public deployment or commercial use of this software must include visible attribution "Powered by Msg2Git" with a link to https://msg2git.com in the user interface or documentation.
start - Show welcome message
help - Show help message
llm - Manage AI features
repo - Manage personal repo
sync - Synchronize issue statuses
todo - Show latest TODO items
issue - Show latest open issues
insight - View usage statistics and insights
stats - View global bot statistics
customfile - Manage custom files
resetusage - Reset usage counters (paid service)
coffee - Support the project and unlock premium features
Made with β€οΈ for digital gardeners, note-takers, and productivity enthusiasts.