How aitayr/kakolookiyam works
Kakolookiyam is a native Rust desktop app for encrypted, peer-to-peer messaging, groups, calls, and file sharing. The user works through the Iced interface: authenticate into a local encrypted vault, manage contacts or groups, then exchange messages, media, or calls over P2P connections. A blind signaling service helps establish connections; WebRTC carries peer traffic, with chunking for large transfers. The graph preserves documented security and audio capabilities, but sampled excerpts do not establish every UI-to-handler dispatch or server protocol detail.
Main entry points: router.rs Signaling and routing · crypto.rs Encrypted vault · main.rs Client startup · app.rs App state
Components 24
Desktop interface
- Client startup
client/src/main.rs - App state
client/src/ui/app.rs - UI messages
client/src/ui/messages.rs - Auth views
client/src/ui/views/auth.rs - Dashboard
client/src/ui/views/dashboard.rs - Localization
client/src/ui/i18n.rs - Themes
client/src/ui/theme.rs
Communication features
- Authentication
client/src/ui/handlers/auth.rs - Direct chat
client/src/ui/handlers/chat.rs - Group management
client/src/ui/handlers/group.rs - Call controls
client/src/ui/handlers/call.rs - Network handling
client/src/ui/handlers/network.rs - Contact sync
client/src/ui/handlers/sync.rs - Media handling
client/src/ui/handlers/media.rs
P2P transport
- Signaling and routing
client/src/network/router.rs - WebRTC connections
client/src/network/webrtc_conn.rs - File chunking
client/src/network/chunking.rs - Signal server
signal-server/src/main.rs
Local security
- Encrypted vault
client/src/crypto.rs
Audio and media
- Voice processing
client/src/audio.rs - Noise reduction
client/src/reduction.rs - Sound effects
client/src/sound.rs
Other components
- User
- Peer device
Connections 25
- User → Client startup: starts
README.md - Client startup → App state: initializes
client/src/main.rs - App state → UI messages: uses
client/src/ui/app.rs - User → Auth views: authenticates
README.md - User → Dashboard: uses
README.md - Authentication → Encrypted vault: reads/writes
client/src/ui/handlers/auth.rs - Direct chat → Encrypted vault: uses
client/src/ui/handlers/chat.rs - Group management → Encrypted vault: uses
client/src/ui/handlers/group.rs - Contact sync → Encrypted vault: uses
client/src/ui/handlers/sync.rs - Direct chat → Signaling and routing: sends commands
client/src/ui/handlers/chat.rs - Group management → Signaling and routing: sends commands
client/src/ui/handlers/group.rs - Call controls → Signaling and routing: sends commands
client/src/ui/handlers/call.rs - Network handling → Encrypted vault: uses
client/src/ui/handlers/network.rs - Media handling → Encrypted vault: uses
client/src/ui/handlers/media.rs - Signaling and routing → WebRTC connections: uses connections
client/src/network/router.rs - Signaling and routing → File chunking: routes file data
client/src/network/router.rs - WebRTC connections → Peer device: exchanges data
README.md - Signaling and routing → Signal server: signals through
README.md - Call controls → Voice processing: manages call audio
- WebRTC connections → Voice processing: carries voice
client/src/network/webrtc_conn.rs - Voice processing → Noise reduction: processes audio
client/src/audio.rs - Client startup → Sound effects: initializes
client/src/main.rs - App state → Localization: uses language
client/src/ui/app.rs - Auth views → Themes: uses styles
client/src/ui/views/auth.rs - Dashboard → Themes: uses styles
client/src/ui/views/dashboard.rs