How harshoutoftokens/instagram-reconstructor works
Instagram DM Reconstructor is a local export-to-inbox application. The user runs the Python builder on an Instagram data export; it normalizes profile, thread, message, and media data into viewer/data.js, which the browser viewer uses to browse and search conversations and render message types. The main stages and viewer capabilities are represented below. The viewer HTML and styling are listed in the tree but were not sampled, so links involving them are limited to the README's explicit workflow.
Main entry points: build.py Export builder · app.js Message rendering · index.html Viewer page · style.css Responsive themes
Components 16
Export preparation
- Export builder
build.py - Profile loading
build.py - Thread loading
build.py - Message normalization
build.py - Inbox data
Inbox viewer
- Viewer page
viewer/index.html - Conversation list
viewer/app.js - List search
viewer/app.js - Message rendering
viewer/app.js - Media and share cards
viewer/app.js - Message search
viewer/app.js - Chunked scrolling
viewer/app.js - Responsive themes
viewer/style.css
Other components
- Local user
- Instagram export
- Instagram links
Connections 18
- Local user → Instagram export: selects export
README.md - Local user → Export builder: runs builder
README.md - Instagram export → Export builder: provides JSON
README.md - Export builder → Profile loading: loads profile
build.py - Export builder → Thread loading: loads threads
build.py - Thread loading → Message normalization: converts messages
build.py - Export builder → Inbox data: writes data
build.py - Local user → Viewer page: opens viewer
README.md - Inbox data → Conversation list: provides threads
viewer/app.js - Inbox data → Message rendering: provides messages
viewer/app.js - Conversation list → List search: filters names
viewer/app.js - Conversation list → Message rendering: opens thread
viewer/app.js - Message rendering → Media and share cards: renders content
viewer/app.js - Message rendering → Chunked scrolling: loads chunks
viewer/app.js - Message search → Message rendering: jumps to match
viewer/app.js - Viewer page → Conversation list: hosts interface
README.md - Viewer page → Responsive themes: uses styling
README.md - Media and share cards → Instagram links: links shared posts
README.md