How shokolaa/discordreader works
DiscordReader is a local Flask application for browsing exported Discord archives, viewing channel messages, and searching message text. The main workflow is a browser loading the rendered page, requesting the channel list, then requesting and displaying a selected channel’s chronologically sorted messages. Channel names are resolved from the archive index or channel metadata. A separate Python search script scans the same local archive for a configured phrase. The README describes the UI and local-only privacy goal; template behavior beyond Flask rendering was not sampled.
Main entry points: app.py Archive reader · search.py Phrase search · index.html Browser page
Components 7
Local web app
- Archive reader
app.py - Browser page
templates/index.html
Archive access
- Channel catalog
app.py - Channel message loader
app.py - Discord export files
Message search
- Phrase search
search.py
Other components
- Local user
Connections 7
- Local user → Archive reader: opens locally
ReadMe.md - Archive reader → Browser page: renders
app.py - Archive reader → Channel catalog: lists channels
app.py - Channel catalog → Discord export files: reads metadata
app.py - Archive reader → Channel message loader: loads channel
app.py - Channel message loader → Discord export files: reads messages
app.py - Phrase search → Discord export files: scans messages
search.py