CS Demo Manager is a mature Electron + React desktop application for managing Counter-Strike 2 and CS:GO demo files. It provides a complete pipeline: downloading demos from Valve, Faceit, 5EPlay, and Renown; parsing them to extract all game events (kills, rounds, economy, grenades, positions, etc.) into a PostgreSQL database; viewing 2D match replays with heatmaps and timeline; generating highlight videos via HLAE/FFmpeg; and exporting statistics to XLSX/JSON. The architecture consists of three processes: an Electron main process for window lifecycle, a React renderer for the UI, and a background Node.js server daemon for demo analysis, video encoding, and scheduled tasks. The codebase is well-structured with strong separation of concerns, extensive type usage, custom error hierarchies, and a comprehensive test suite for core logic. It demonstrates high craftsmanship in generic UI components (virtualized table, heatmap, dialogs) and IPC patterns (typed WebSocket client with reply queue).
Weylus is a cross-platform application that turns tablets and smartphones into graphic tablets/touch screens for computers. It operates by running a local web server that serves a web page to the tablet's browser. The web page captures pointer, touch, stylus, keyboard, and wheel events via JavaScript PointerEvents and sends them over a WebSocket connection to the server. The server then simulates these input events on the host machine using platform-specific mechanisms: on Linux it uses the uinput kernel module for full stylus/touch/mouse/keyboard support; on macOS and Windows it falls back to the autopilot library for mouse/keyboard simulation and Windows-specific synthetic pointer injection for touch/pen. Simultaneously, Weylus captures the screen (or a selected window/monitor) using platform-native APIs: X11 shared memory (XShm) on Linux X11, PipeWire/GStreamer on Wayland, CoreGraphics on macOS, and DirectX via captrs on Windows. The captured frames are encoded into a fragmented MP4 H.264 video stream using a statically linked ffmpeg (libx264) with optional hardware acceleration (VAAPI, NVENC, VideoToolbox, MediaFoundation). The video stream is sent to the browser via the same WebSocket connection and played using the Media Source Extensions API. The application provides a GUI (built with FLTK) for configuration and a headless mode for automation. It supports access codes, custom input areas, and multiple simultaneous clients.