forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/common/src/constant.rsClear filter

2026-11-28

🎨 style: picture viewer is the picture alone over a scrim with the name under it (click or Esc closes); avatars 512px up to 120 KB, client steps the size down to fit, server accepts any square up to 512Ahmet Kaan Gümüş · 247bfb2
🎨 style: picture viewer is the picture alone over a scrim with the name under it (click or Esc closes); avatars 512px up to 120 KB, client steps the size down to fit, server accepts any square up to 512

2026-11-26

⚡ perf: server NACK retransmit, RPS loss recovery (edith c4111899), adaptive playout, delay-based quality adapt, static frame skip, voice 32k + loss-driven FEC, no voice echo, single-copy frames to GPUAhmet Kaan Gümüş · a2e75c8
⚡ perf: server NACK retransmit, RPS loss recovery (edith c4111899), adaptive playout, delay-based quality adapt, static frame skip, voice 32k + loss-driven FEC, no voice echo, single-copy frames to GPU

Harness 1440p60 AV1 Vk, base vs new:
- share viewer latency 109 -> 34 ms
- share viewer cpu 30 -> 14 %
- share fps at 2% drop 55.9 -> 57.9, nacks recover loss
- voice up/down 35.6/41.6 -> 24.2/26.5 kbps, loopback 302 -> 188 kbps

Harness: metrics behind YUMUSH_METRICS, talker linked straight into harness-mic.

2026-11-25

♻️ refactor: one client media owner, datagram v2 and typed callsAhmet Kaan Gümüş · c69c3ca
♻️ refactor: one client media owner, datagram v2 and typed calls

Voice, shares and the mic test live in one client Media owner guarded by
the link epoch, so a stale join never installs after a reconnect and a
blip keeps the capture source. Datagrams become a Packet enum with fixed
little endian headers, derived fragment layout and bounds checked decode;
the server peeks three bytes to route video. Calls start moving to typed
Call structs whose reply type and gate come from the type, beginning
with the user domain. Share throughput unchanged at 59.4 fps.
✨ feat: add reed-solomon fec to screen share videoAhmet Kaan Gümüş · 55b5cdf
✨ feat: add reed-solomon fec to screen share video

Each frame gets 25% parity shards, so a frame survives the loss of any
shards up to that count. Keyframe requests are paced to one per second
and the relay starts a waiting viewer on any shard of a keyframe.
With 10% datagram loss the viewer now sees no frame loss.
✨ feat: add screen sharing with simulcast, hardware codecs and share audioAhmet Kaan Gümüş · e06b4ef
✨ feat: add screen sharing with simulcast, hardware codecs and share audio

Screen sharing over QUIC datagrams. Frames are fragmented with a layer
tag (resolution, fps, codec) and the server forwards one layer per viewer,
switching only on keyframes and telling the sharer which layers to encode.

The client captures through the ScreenCast portal and PipeWire, encodes
each layer on its own thread with VA-API (H264, HEVC, AV1) and falls back
to software H264. Viewers decode in hardware where possible, sync audio
and video on the sharer clock and adapt quality from loss. Share audio
captures everything except communication streams or one picked source.

Adds codec choice, share settings, a viewer pane, live badges and share
metrics, and moves playback to interleaved stereo.
✨ feat: add reactions, pins, polls, notes, voice notes, unread tracking, search and backupsAhmet Kaan Gümüş · 040a711
✨ feat: add reactions, pins, polls, notes, voice notes, unread tracking, search and backups

- markdown rendering with syntax highlighting, formatting shortcuts and cheat sheet
- emoji reactions, pinned messages and pinned poll banner
- polls with single/multiple choice, closing and forwarded snapshots
- private notes community
- voice notes with live and playback waveforms
- typing indicator, unread counts, mentions, new-messages divider and jump to bottom
- message search for members and go to message
- composer drafts
- connection status notice
- builder database backup and export
- tray, mutes and voice stats

2026-11-24

✨ feat: add user admin, font size, music voice profile and adaptive jitterAhmet Kaan Gümüş · 3950bc8
✨ feat: add user admin, font size, music voice profile and adaptive jitter

Admin: staff get a users page with search and role changes through new Users and SetRole requests. The first account created becomes staff, and username lookup ignores case.

Settings: a font size choice (small, medium, large) next to the theme. A voice profile picks Voice (Opus VoIP, 48 kb/s) or Music (Opus Audio, 96 kb/s).

Voice: capture opens a mono stream instead of downmixing stereo. The jitter buffer sizes itself from measured arrival jitter, recovers lost packets with FEC or concealment, skips quiet frames to absorb drift and fades the gate in and out.

New request and response variants are appended to keep wire indices stable.
✨ feat: add voice, media, social features, moderation and multiple accountsAhmet Kaan Gümüş · 543f611
✨ feat: add voice, media, social features, moderation and multiple accounts

Voice: QUIC datagram voice with Opus, a jitter buffer and per-speaker mixing. Voice activity or push-to-talk (modifier keys included), input and output device selection, volume and sensitivity. Settings can loop the mic through the full call pipeline and play a speaker chime.

Media: attachments with image, audio and video playback, snippets and message forwarding. FLAC files that do not state their length get it from the last frame instead of a full scan.

Social: direct messages, friends, community invitations with a user lookup that shows existing members, and live user search. Messages from former members keep the original username.

Moderation: member ranks with a single permission module, kick, ban with reason and unban. Bans and a new community log (renames, picture changes, invites, joins, leaves, kicks, bans, rank changes, moderator deletions) open in popups with search and sorting.

Accounts: several saved accounts with session resume and auto login. A Detach request signs a connection out while keeping its session, and signing in leaves voice first.

UI: settings pages for user and community, profile cards, community and user pictures that drive the accent colour of headers, dialogs and inputs, and New community in the Communities tab context menu. The README gets screenshots.

New request, response and error variants are appended to keep wire indices stable.

2026-11-23

✨ feat: add real auth, authorization, server push and pinned TLSAhmet Kaan Gümüş · 5f39b76
✨ feat: add real auth, authorization, server push and pinned TLS

Accounts use argon2 password hashes with server-side session tokens. Each connection is Anonymous or Authenticated, and the server takes the acting user from it instead of trusting ids in requests. Owner, member and author checks guard every mutation. The server pushes an Event enum over the uni stream, so the client no longer polls. The client pins the server certificate by SHA-256 fingerprint. The schema is versioned through user_version, with cascading foreign keys and transactions for multi-step writes. Message history pages backwards with a before marker. Errors use thiserror and logging uses tracing.

2026-07-28

✨ feat(common): add message history requestAhmet Kaan Gümüş · ea10cf3
✨ feat(common): add message history request

ReadMessageByCommunityIDWithMarkerAndLimit pages a community's messages
from a marker id. Response bound is now derived from MESSAGE_PAGE_LIMIT,
since a page no longer fits in a single-message budget.

2026-06-05

♻️ refactor(common): replace bastion with community modelAhmet Kaan Gümüş · aeaaada
♻️ refactor(common): replace bastion with community model

Flatten user/message into plain bitcode-encodable structs and add
quinn stream helpers so all shared types can cross the wire.

2026-04-19

✨ feat(common): add bastion rooms and split user/message into modulesAhmet Kaan Gümüş · 9c1eb2f
✨ feat(common): add bastion rooms and split user/message into modules

Introduce Bastion (room/channel) with join/leave events, extract User
and Message into their own modules with Arc-backed inners, and carve
out a network module as a placeholder. Message now carries the owning
bastion so downstream consumers can route by room.

2026-04-08