Release 0.3: Discord Sync Functionality
This release adds comprehensive Discord message export and summarization capabilities.
Features Added
Discord Sync Tool
- Location:
discord-sync/sync-discord.sh - Alias:
ediscord(after runningsetup-aliases.sh) - Filtering Options:
- Date range (
--after,--before) - Username filtering (
--username, supports multiple) - Topic/keyword filtering (
--topic, supports multiple)
- Date range (
- Output Formats: JSON (default), TXT, HTML
- Automatic Summaries: Statistics, top contributors, recent messages, topic analysis
Testing
- 32 new tests for Discord sync functionality
- Fixed 4 pre-existing test failures:
- test-config-loader.sh: Proper TEST_UPSTREAM_ORG handling
- test-safety-checks.sh: Use config system instead of hardcoding
- All 51 tests now passing ✅
Documentation
- Comprehensive README in
discord-sync/ - Test architecture documentation (
test/ARCHITECTURE.md) - Updated main README with usage examples
- Token generation instructions (user token method)
Configuration
- Updated
.env-templatewith Discord token configuration - Updated
.gitignoreto excludeexports/discord/
Usage
# Export today's messages
ediscord --channel YOUR_CHANNEL_ID --after "2026-01-25"
# With filters
ediscord --channel YOUR_CHANNEL_ID \
--after "2026-01-25" \
--username "alice" \
--topic "embabel"See discord-sync/README.md for complete documentation.
Testing
All tests pass:
- test-config-loader.sh: 13/13 ✅
- test-safety-checks.sh: 6/6 ✅
- test-sync-discord.sh: 32/32 ✅
Total: 51/51 tests passing ✅