How mmattbtw/disquisition works
Disquisition is a C++ desktop community-chat application with an optional byte-tunneling relay. The main workflow is to launch the desktop client, create or join a community, then exchange live chat and collaborate through voice or screen sharing; chat history can be saved locally. Community metadata, identity, and admission are client-side, while the relay pairs peers and forwards encrypted traffic. The README establishes the product capabilities; the sampled sources show the desktop entry point, community model and peer runtime, relay routing, GIF search, and drawing-session interfaces. Several subsystem links remain unverified because their implementation excerpts were not provided.
Main entry points: community_panel.cpp Community UI · node.cpp Peer runtime · community_router.cpp Community router · model.cpp Community model
Components 20
Desktop client
- Desktop entry
src/desktop/main.cpp - Community UI
src/desktop/community_panel.cpp - GIF search
src/desktop/gif_search.cpp - Local history
src/common/recent_messages.cpp
Community runtime
- Peer identity
src/community/identity.cpp - Community model
src/community/model.cpp - Community store
src/community/store.cpp - Peer runtime
src/community/node.cpp - Invite QR
src/community/qr.cpp
Live collaboration
- Drawing protocol
src/common/drawing_protocol.cpp - Drawing session
src/desktop/screen_drawing_session.cpp - Screen drawing
src/desktop/screen_drawing.cpp - Screen capture
src/desktop/screen_capture.cpp - Screen stage
src/desktop/screen_stage.cpp - Screen audio
src/desktop/screen_audio.cpp
Relay routing
- Relay listener
src/relay/relay.cpp - Community router
src/relay/community_router.cpp - Relay entry
src/relay/main.cpp
Other components
- Desktop user
- GIF providers
Connections 23
- Desktop user → Desktop entry: launches
README.md - Desktop entry → Community UI: opens window
- Community UI → Peer runtime: uses peer runtime
- Community UI → Local history: loads history
- Community UI → GIF search: offers GIF search
- GIF search → GIF providers: searches providers
- Peer runtime → Community model: manages communities
- Peer runtime → Community store: uses store
- Community store → Community model: persists model
- Community model → Peer identity: signs operations
- Community UI → Invite QR: presents invites
- Peer runtime → Relay listener: tunnels peer traffic
README.md - Relay entry → Relay listener: starts relay
src/relay/main.cpp - Relay listener → Community router: routes connections
- Community router → Peer identity: verifies peer
src/relay/community_router.cpp - Community router → Peer runtime: forwards peer bytes
README.md - Community UI → Drawing session: manages drawing
- Drawing session → Screen drawing: updates drawing
- Screen drawing → Drawing protocol: encodes messages
- Community UI → Screen capture: starts sharing
- Community UI → Screen stage: shows shared stream
- Community UI → Screen audio: plays share audio
- Peer runtime → Screen drawing: transports collaboration