mirror of
https://github.com/hanzoskill/obsidian-conversation-backup.git
synced 2026-10-30 21:10:35 +00:00
main
Obsidian Conversation Backup for Bot
๐ฆ Automatic conversation backup system with beautiful chat-style Obsidian formatting.
Features
- โก Zero token cost - Pure shell scripting, no LLM calls
- ๐พ Incremental backups - Hourly snapshots of new messages only
- ๐ฌ Chat formatting - Colored Obsidian callouts with emojis and timestamps
- ๐ Token monitoring - Telegram warnings at 800k/900k tokens
- ๐ Hourly breakdowns - Organize conversations by clock hour
- ๐ฏ Smart filtering - Skips empty messages and system notifications
Quick Start
# Install the skill
bot skills install YOUR-USERNAME/bot-obsidian-backup
# Run installer
cd ~/.bot/skills/obsidian-conversation-backup
./install.sh
# Add to crontab for automatic hourly backups
crontab -e
# Add: 0 * * * * /path/to/scripts/monitor_and_save.sh
What It Does
Protects your Bot conversations from data loss when running /new by automatically backing up to Obsidian vault with beautiful formatting.
In Obsidian, conversations look like:
๐ User messages in blue callouts
๐ฆ Zoidbot messages in green callouts
Documentation
See SKILL.md for complete documentation, configuration options, and advanced usage.
Requirements
- Bot
- Obsidian vault
jq(JSON parser)cron(for automatic backups)
License
MIT License - See LICENSE file
Contributing
Issues and pull requests welcome!
Languages
Shell
100%
