Reorganise as a marketplace with multiple focused plugins: - claude/code: Core development (hooks, scripts, data collection) - claude/review: Code review automation - claude/verify: Work verification - claude/qa: Quality assurance loops - claude/ci: CI/CD integration Structure: - .claude-plugin/marketplace.json lists all plugins - Each plugin has its own .claude-plugin/plugin.json - Commands namespaced: /code:*, /review:*, /qa:*, etc. Install individual plugins or all via marketplace: claude plugin add host-uk/core-agent claude plugin add host-uk/core-agent/claude/code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.9 KiB
1.9 KiB
Community Chat Collector
Archive Discord and Telegram community discussions.
Challenges
| Platform | Access | Automation |
|---|---|---|
| Discord | Bot token or user export | Discord.py, DiscordChatExporter |
| Telegram | User account or bot | Telethon, telegram-export |
Tools
Discord
- DiscordChatExporter: https://github.com/Tyrrrz/DiscordChatExporter
- GUI or CLI
- Exports to HTML, JSON, TXT, CSV
- Requires bot token or user token
Telegram
- telegram-export: https://github.com/expectocode/telegram-export
- Python-based
- Exports messages, media, users
- Requires API credentials
Manual Export
Discord Data Request
- User Settings → Privacy & Safety
- Request all of my Data
- Wait for email (can take days)
- Download and extract
Telegram Export
- Desktop app → Settings → Advanced
- Export Telegram Data
- Select chats and data types
- Download zip
Usage
# Generate job list for manual processing
./generate-jobs.sh lethean > jobs.txt
# Process exported Discord data
./process-discord.sh ./discord-export/ --output=./chat-archive/
# Process exported Telegram data
./process-telegram.sh ./telegram-export/ --output=./chat-archive/
Output
chat-archive/lethean/
├── discord/
│ ├── general/
│ │ ├── 2019.json
│ │ ├── 2020.json
│ │ └── ...
│ ├── development/
│ └── channels.json
├── telegram/
│ ├── main-group/
│ └── announcements/
└── INDEX.md
Known Communities
Lethean
- Discord: https://discord.gg/lethean
- Telegram: @labormarket (historical)
Monero
- Multiple community discords
- IRC archives (Libera.chat)
Notes
- Respect rate limits and ToS
- Some messages may be deleted - export doesn't get them
- Media files can be large - consider text-only first
- User privacy - consider anonymization for public archive