Skip to content

Feature/beta - #1

Merged
0xLuaFormatter merged 45 commits into
mainfrom
feature/beta
Oct 29, 2026
Merged

0xLuaFormatter merged 45 commits into
mainfrom
feature/beta

Conversation

@0xLuaFormatter

Copy link
Copy Markdown
Contributor

No description provided.

- Tauri v2 + SvelteKit (TypeScript) desktop app, Windows installer target
- Glacier preview screen with demo data, sidebar with capture status,
  "Shard captured" notification (F9), French and English UI
- Brand assets and custom Windows icon (simplified mark at small sizes)
- GPL-3.0-only license, NOTICE with section 7 terms, trademark policy
- README with roadmap to the first beta
Graphite background and the ice-blue logo face across the brand assets, app icons, favicon and the README preview.
Inter replaces Space Grotesk for the interface; Unbounded stays for the wordmark. The Tauri updater and process plugins power in-app updates.
Neutral surfaces with a single accent color (six presets selectable in the settings), motion tokens, tooltips and reduced-motion support.
Strings for capture, library, editor, settings, updates and errors, with French and English plural rules and hotkey formatting.
api.ts mirrors the Rust commands and events. Stores for settings, library, capture status, updates and UI state, shard actions shared by cards, menus and the player, plus demo data for the browser preview.
Frameless window with its own title bar and window controls. The sidebar collapses with an animation (Ctrl+B), a highlight slides between items, game tiles get a ring when active, and the capture status card can pause or resume the replay.
Video thumbnails with hover preview, favorite and more buttons, a pencil to rename in place (F2), right-click menu, delete confirmation, toasts, live search without accents, sort menu, capture button and a highlight on new shards.
Built-in player with previous/next. Edit mode adds a filmstrip timeline with trim handles (I/O keys), per-track volume for game and microphone, save a copy and a Discord export split button with the size limit.
Engine status and pause, hotkey recorder, replay length with a memory estimate, frame rate, quality, microphone, capture sound, in-game notification, clips folder, startup, tray, language, accent color, updates and about.
Transparent page shown in its own window on top of the game after each capture or failed capture.
Lenient JSON settings with clamping and backups, a library scanned from the clips folder (game subfolders, favorites, MP4 durations, safe ids), Windows-safe renaming, Recycle Bin deletion, Explorer reveal, copying a clip to the clipboard for Discord, a folder watcher and close-to-tray.
The capture hotkey works everywhere, settings changes are applied with rollback on failure, the tray menu captures, pauses and opens the app in French or English.
Picks the GPU that drives the display, converts BGRA to NV12 on the GPU, encodes H.264 with the hardware Media Foundation encoder of that GPU (NVENC, AMF, Quick Sync) or the software one, encodes AAC, and writes faststart MP4 files with edit lists. The main audio track is written last and alone enabled so Windows players, Chromium and ffmpeg all play the mix.
DXGI Desktop Duplication at a constant frame rate, WASAPI loopback and microphone on a silence-filled timeline, an in-memory replay buffer, saves straight from memory into the game's folder with mix, game and microphone tracks, foreground game detection, capture chime, and the app glue (start in the background, restart on settings changes, pause, events).
Probe clips, trim with edit lists without re-encoding, re-mix game and microphone with gains, save copies next to the original, and fit Discord exports under 10, 50 or 500 MB with hardware re-encoding when needed, then copy them to the clipboard. Exports run on their own thread with progress and cancel.
Shown without taking focus from the game, click-through, and excluded from screen capture so it never ends up in a clip.
Registers every command, the single instance, global shortcut, autostart, window state, dialog, opener, updater and process plugins. Windows are created after the app state exists, which fixes a startup crash in release builds.
Frameless main window and transparent overlay window, a strict content security policy with the asset protocol for videos, a per-user NSIS installer with the Kryo Shard icon and images, WebView2 bootstrapper, and signed updates from GitHub Releases.
CI checks the frontend, formatting, clippy and tests on Windows. Pushing a version tag builds the installer, signs the update and opens a draft release.
Marks the beta features as done, explains the update signing key for local builds and describes the capture pipeline.
The new mark (a faceted shard with a play cut), the app and installer icons with a simplified mark at small sizes, English banners, Discord assets and the "by krak" export badge. The license notices now protect the Krak name and logos.
A thin C layer over NVIDIA's NVENC API (header vendored from nv-codec-headers, MIT) gives H.264 and HEVC with B-frames, lookahead and adaptive quantization. Standard, High and Premium are tuned and measured on real captures; Media Foundation stays the fallback for other GPUs. When the encoder falls behind, it steps down in place without losing the buffered replay. The MP4 muxer handles B-frames, HEVC and AV1, the editor passes them through, and clips get waveforms and a storage limit.
New commands for the encoder, quality preview, microphones, storage and waveforms. Settings gain the codec, resolution, bitrate, 10-bit, audio bitrate, microphone, storage limit, recording and screenshot shortcuts, Discord presence and watermark; the language is now any interface language code. The tray, folder picker and file names speak the 12 languages of the interface. On the first launch, settings, library, window position and saved edits are carried over from Kryo Shard. The crate is renamed krak.
Space Grotesk and the Nuit, Givre and Glacier palette. A home page with the replay status and the latest shard, settings in categories (general, capture, video, audio, storage, appearance, about) with a quality picker that shows what will be recorded, a first-run wizard, multi-select with bulk delete in the Glacier, a steadier favorite star and the Krak in-game notification.
The editor shows the video filmstrip and a lane per audio track with its waveform, volume and mute; trims and volumes are remembered per clip. Export opens a page to save a file, copy to the Glacier or send to Discord, with the Nitro size limits explained and an optional "by krak" badge.
Screenshots sorted by game, with a viewer, copy, reveal in Explorer, delete and multi-select.
English is the reference; French, Spanish, Brazilian Portuguese, German, Italian, Polish, Turkish, Russian, Japanese, Korean and Simplified Chinese translate it, with each language's plural forms. The language of Windows is picked on first launch. The README explains how to add one.
The installer follows the language of Windows (Polish texts are ours, Tauri ships none) and silently removes a previous Kryo Shard install, keeping its data for Krak to carry over.
Rich Presence over Discord's local pipe, without a new dependency: "Clipping <game>" and today's shard count in the app's language, a recording or replay icon and a download button. It sends only changes, at most every 15 s, reconnects quietly when Discord starts, and treats Discord, browsers and launchers as the desktop.

Export can now write the trimmed clip to any file chosen in a Save dialog, through a temporary file so even the original can be replaced. The optional "by krak" badge is drawn on the GPU in the top-right corner while re-encoding, with a CPU fallback.
Continuous recording reuses the replay's encoded video, so nothing is encoded twice, and keeps clipping available meanwhile. It writes a fragmented MP4 synced every second; a crash loses at most a second, and leftovers are finished on the next start. Finished files have the same tracks as clips.

Screenshots save the full-resolution desktop as a PNG in Screenshots/<Game>, from the running capture or a one-shot capture when paused. Three global shortcuts (clip, record, screenshot) are validated together; the record default is Shift+F9 because Alt+F9 belongs to NVIDIA's own recorder. The tray menu and the in-game notification know about both.
Failure messages for recordings and screenshots in every language, shortcut errors that say when Krak already uses a combination, the in-game notification for a stopped recording, a sidebar status card that never overlaps a long shortcut, the Discord preview matching what friends see, and exports suggesting the clip's dated file name.
The roadmap now covers recording, screenshots, exports, Discord presence and the 12 languages, the capture section explains recording, and the preview shows the new Glacier (with English demo titles).
makensis refused the file with two byte order marks.
The home status card keeps its height when the replay pauses or restarts
(the format chips stay, dimmed), and its latest-shard preview no longer
plays under the player, the first-launch setup or a hidden window.
Dropdowns now open above dialogs (the microphone list of the setup was
behind it) and long ones scroll. Waveforms are drawn in decibels from the
loudest channel, so a normal game mix fills its lane.
Cards get a scissors button and their menu an Edit item (E), both
opening the editor directly. The player's lone arrow becomes a labeled
Back button.
The viewer gets a crop mode (R): drag the corners or edges, move the
frame, or draw a new one, free or in 16:9, 4:3, 1:1 or 9:16. The crop is
copied to the clipboard as an image (Ctrl+C) or saved as a new
screenshot next to the original (Enter).
Surfaces and borders are a notch lighter than the page, so cards and
panels stand out, and secondary text is easier to read. The player says
"Copy file" next to Edit, the screenshot viewer "Crop" and "Copy image".
The home card explains the two ways to keep a moment: the hotkey keeps
what just happened, continuous recording films from now until you stop.
@0xLuaFormatter
0xLuaFormatter merged commit d7b2adc into main Oct 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant