How luki-pop/duckaiwraper works
DuckAIWrapper is a desktop shell around duck.ai, with an embedded browser and session-management panel. The main workflow is to open duck.ai, manage sessions and notes, and use the panel’s summarise action to submit notes through the browser and save the result. Settings and autostart are supporting capabilities. The repository also contains a separate HTTP DuckAI client, but the main-window excerpt says it is no longer used. Edges reflect shown calls or documented behavior; unsampled wiring is omitted.
Main entry points: main_window.py Main Window · history.py History Database · preferences.py Preferences Dialog · settings.py Settings
Components 13
Desktop UI
- Main Window
main_window.py - Embedded Browser
main_window.py
Sessions and History
- Session Panel
main_window.py - History Database
duckai/history.py - SQLite Store
Preferences
- Preferences Dialog
preferences.py - Settings
settings.py - Settings File
- Autostart
autostart.py
HTTP Client
- DuckAI Client
duckai/client.py
Other components
- User
- duck.ai
- DuckAI API
Connections 17
- User → Main Window: uses
- Main Window → Settings: loads settings
main_window.py - Main Window → History Database: creates database
main_window.py - Main Window → Embedded Browser: hosts
main_window.py - Main Window → Session Panel: constructs
main_window.py - Main Window → Autostart: checks status
main_window.py - Main Window → Preferences Dialog: opens
main_window.py - Embedded Browser → duck.ai: loads page
main_window.py - Session Panel → History Database: manages sessions
main_window.py - Session Panel → Embedded Browser: submits summary
main_window.py - Session Panel → Embedded Browser: polls response
main_window.py - History Database → SQLite Store: reads and writes
duckai/history.py - Preferences Dialog → Settings: saves settings
preferences.py - Preferences Dialog → Autostart: sets autostart
preferences.py - Settings → Settings File: reads and writes
settings.py - DuckAI Client → History Database: loads and stores turns
duckai/client.py - DuckAI Client → DuckAI API: posts chat
duckai/client.py