How cracky22/wdx works
wdx is a desktop source-organizing application with a companion browser extension. Users collect web pages through the extension or desktop UI, route captured metadata into a project, organize sources as cards, and search source text or keywords; the README also describes generating presentation-ready citations. Projects and settings are managed locally, while an optional extension queue retries captures when the desktop server is unavailable. The graph separates capture, desktop workflow, project state, and browser-extension components. Some documented features, including citation generation and project import/export, are represented at their known subsystem level because their implementation paths were not sampled.
Main entry points: project_window.py Project workspace · project_manager.py Project management · __main__.py App coordinator · background.js Background capture
Components 15
Source Capture
- Local HTTP API
wdx/server.py
Desktop Workflow
- App coordinator
wdx/__main__.py - Project dashboard
wdx/main_window.py - Project workspace
wdx/project_window.py - Source dialogs
wdx/dialogs.py
Projects and State
- Project management
wdx/project_manager.py - Project files
wdx/project_manager.py - App settings
wdx/project_manager.py - Citation formatting
wdx
Browser Extension
- Capture popup
wdx_extension/src/js/popup.js - Background capture
wdx_extension/src/js/background.js - Offline queue UI
wdx_extension/src/js/queue.js - Extension storage
wdx_extension/src/js/background.js
Other components
- User
- Browser pages
Connections 23
- User → Project dashboard: manages projects
wdx/main_window.py - Project dashboard → Project management: creates and manages
wdx/main_window.py - App coordinator → Project dashboard: creates
wdx/__main__.py - App coordinator → Local HTTP API: starts
wdx/__main__.py - Local HTTP API → App coordinator: dispatches captures
wdx/server.py - App coordinator → Project management: loads projects
wdx/__main__.py - App coordinator → Project workspace: opens project view
wdx/__main__.py - User → Project workspace: organizes sources
README.md - Project workspace → Source dialogs: opens editors
wdx/project_window.py - Project workspace → Project management: saves project data
wdx/project_window.py - Project workspace → Project files: searches source items
wdx/project_window.py - Project management → Project files: loads and saves
wdx/project_manager.py - Project management → App settings: loads and saves
wdx/project_manager.py - User → Capture popup: captures page
wdx_extension/src/js/popup.js - Browser pages → Capture popup: provides active tab
wdx_extension/src/js/popup.js - Capture popup → Local HTTP API: checks status and posts
wdx_extension/src/js/popup.js - Browser pages → Background capture: provides page context
wdx_extension/src/js/background.js - Background capture → Local HTTP API: posts captured source
wdx_extension/src/js/background.js - Background capture → Extension storage: stores and retries queue
wdx_extension/src/js/background.js - Offline queue UI → Extension storage: reads and edits queue
wdx_extension/src/js/queue.js - Offline queue UI → Background capture: requests queue sync
wdx_extension/src/js/queue.js - Project workspace → Citation formatting: formats presentation citations
README.md - Project management → Project files: imports and exports projects
wdx/project_manager.py