How dunking99/instagram-bot-2 works
Postroom is a local-first photo and video discovery workspace: users search Instagram accounts and local media with text, image, or pose criteria, then browse results, organize collections, and review media in the library. The UI also exposes account analysis, positions, pilot, links, and video-related views. The repository contains two closely related UI variants and several Python app/server entry points; the graph emphasizes the lighttable UI and documented server/API path. Backend internals beyond indexed imports and sampled excerpts are not inferred.
Main entry points: App.tsx App Shell · Chrome.tsx Workspace Chrome · server.py HTTP Server · Frames.tsx Media Frames
Components 21
Discovery UI
- App Shell
ui-lighttable/src/App.tsx - Workspace Chrome
ui-lighttable/src/components/Chrome.tsx - Desk State
ui-lighttable/src/store.tsx - HTTP Client
ui-lighttable/src/api.ts - Visual Search
ui-lighttable/src/components/SearchView.tsx
Media Catalog
- Media Library
ui-lighttable/src/components/LibraryView.tsx - Collections
ui-lighttable/src/components/CollectionsView.tsx - Media Frames
ui-lighttable/src/components/Frames.tsx - Lightbox
ui-lighttable/src/components/Lightbox.tsx
Search Backend
- HTTP Server
server.py - Search and Index
random_post.py - Photos Import
photos_import.py
Review Tools
- Account Analysis
ui-lighttable/src/components/AnalysisView.tsx - Position Tools
ui-lighttable/src/components/PositionsView.tsx - Position Mix
ui-lighttable/src/components/PositionMix.tsx - Pilot Review
ui-lighttable/src/components/PilotView.tsx - Links View
ui-lighttable/src/components/LinksView.tsx - Data18 View
ui-lighttable/src/components/Data18View.tsx
Other components
- Photographer
- Local Media
Connections 23
- Photographer → App Shell: uses
ui-lighttable/src/App.tsx - App Shell → Workspace Chrome: renders
ui-lighttable/src/App.tsx - App Shell → Visual Search: routes to
ui-lighttable/src/App.tsx - App Shell → Media Library: routes to
ui-lighttable/src/App.tsx - App Shell → Collections: routes to
ui-lighttable/src/App.tsx - App Shell → Account Analysis: routes to
ui-lighttable/src/App.tsx - App Shell → Position Tools: routes to
ui-lighttable/src/App.tsx - App Shell → Pilot Review: routes to
ui-lighttable/src/App.tsx - App Shell → Links View: routes to
ui-lighttable/src/App.tsx - App Shell → Data18 View: routes to
ui-lighttable/src/App.tsx - Visual Search → Desk State: uses state
ui-lighttable/src/components/SearchView.tsx - Media Library → Media Frames: renders
ui-lighttable/src/components/LibraryView.tsx - Collections → Media Frames: renders
ui-lighttable/src/components/CollectionsView.tsx - Workspace Chrome → Media Frames: renders
ui-lighttable/src/components/Chrome.tsx - Workspace Chrome → Lightbox: uses
ui-lighttable/src/components/Chrome.tsx - Position Tools → Position Mix: uses
ui-lighttable/src/components/PositionMix.tsx - Desk State → HTTP Client: sends requests
ui-lighttable/src/store.tsx - HTTP Client → HTTP Server: HTTP requests
ui-lighttable/src/api.ts - HTTP Server → Search and Index: imports
server.py - HTTP Server → Photos Import: imports
server.py - Search and Index → Instagram: retrieves media
- Photos Import → Local Media: imports photos
- Photographer → Instagram: connects account