Skip to content
View 4G0NYY's full-sized avatar
🔴
Save me
🔴
Save me

Highlights

  • Pro

Organizations

@sudo-agony @crimsonhaven-to @zer0space-net

Block or report 4G0NYY

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
.github/profile/README.md

heya, i'm Raymond (4G0NYY) | hi hi :3

just a guy who's far too bored, building things the world didn't ask for

Zürich, Switzerland · Cloud-Native Engineer · whoami.ramon.moe · blog · discord

Rust Python TypeScript Go React Docker


> whoami ( ˶ ˆ ᗜ ˆ ˶ )

so basically i build stuff when i'm bored, which is like… all the time T.T i'm probably a tad too arrogant and definitely too weird for polite company, but i've made my peace with that. be cringe, be free >w<

i don't really do "the accepted way" of doing things. if a convention stands between me and the thing i actually want, i will politely walk around it, through it, or occasionally reimplement it from scratch just to prove i can. perfection isn't a feature request, it's a vibe, and i chase it way too hard for someone who started every one of these projects out of pure boredom :P

i run my own authoritative nameservers for a couple of my domains, and the things those names point at are self-hosted too, on hardware sitting in a rack in my apartment, because why would i let someone else hold the keys ( ˘ ³˘) currently grinding through an HF Cloud-Native Engineer program, which is a fancy way of saying i get graded on things i was going to overbuild anyway ehe.


🩸 the crimson haven saga · my magnum opus of boredom

okay so this is the big one. crimsonhaven is a full distributed streaming framework i built basically because i was bored one evening and it just… never stopped >.< it's not one repo, it's a whole ecosystem of eight, and the architecture is genuinely the thing i'm proudest of because it does something clever:

the whole trick: move the scraping, the resolving, and the video bytes off the backend and into the viewer's own browser, so hosting cost scales with your library size, not your watch-hours. bandwidth is expensive and hard to scale, so… i just refused to pay for it. ( • ̀ω•́ )✧

every source is routed down a four-rung ladder to the cheapest environment that can actually run it: E3 the companion extension (real Chrome, on the viewer's own residential IP), E2 a signed edge proxy, E1 a plain fetch wherever CORS allows it, and E0 the backend as the floor, so anything the client can't run simply falls back and nothing ever regresses.

repo what it is the flex
crimson-backend FastAPI · PostgreSQL · psycopg3 · async HTTPX the metadata brain, 124 API operations wide. native TMDB ↔ AniList mapping per season, a progressive NDJSON /watch stream (fastest source plays first), Ed25519 mnemonic and invite-gated email auth behind a site-wide login wall. ships only operator-owned sources: your own disk, your own cache, your own Jellyfin
crimson-client React 19 · Vite 8 · Tailwind 4 12-word seed-phrase accounts (ed25519 + bip39) so there's no central password to steal, installable as a PWA, in-memory stream caching, and a persona-driven 404 page bc of course
crimson-sources from-scratch TypeScript scrape/resolve engine runs in the browser and emits the exact same NDJSON line shape the backend does, so a locally-resolved source is indistinguishable from a server-resolved one. capability flags (needsJA3, needsResidentialIP, needsHeaderInjection…) decide which rung of the ladder each source lands on. does manga now too (private repo for obvious reasons ;3)
crimson-proxy signed, HLS-aware CORS relay (Nitro, edge) HMAC-signed only, so nobody can hijack my free-tier bandwidth. rewrites every .m3u8 variant, segment and key back through itself, and holds the occasional edge-side secret the browser must never see, like injecting a Jellyfin token on the byte path
crimson-extension Chromium MV3 companion injects the forbidden headers a page can never set itself (Referer, Origin, Cookie, Sec-Fetch-*), plus hidden-tab capture for the hosters that fight back: it opens the embed in a throwaway tab, lets the page do its own work, catches the stream URL on the way past, and tidies up after itself (yes, including the ad popunders). one red button. that's the whole UI :3
crimsonhaven.org React 19 + plain CSS the front gate. who we are, the six surfaces, the journey of one play, the whole ladder explained. open devtools, there's something in there for you
crimson-docs Astro the Royal Archives, explained by Lumi herself
crimson-status Go agent + FastAPI + React agent-based infra monitoring built to not share fate with the things it watches: store-and-forward agents that spool to disk when the server is unreachable, a GitHub-OAuth admin dashboard, fronted by a Cloudflare Tunnel

one instance now serves six media surfaces under one roof: anime (with AniSkip windows, so the opening never outstays its welcome), movies and shows, manga (discovery server-side, pages resolved in the visitor's own browser, true to the doctrine), live TV at around 10,000 free-to-air channels, your own local library read straight off disk, and the Vault, which is favorites, named watchlists and per-episode progress that follows you between devices.

come look: crimsonhaven.org is the "what even is this" page, demo.crimsonhaven.to is a live demo you can actually click around, and github.com/crimsonhaven-to is all the code.

yes there's a recurring vampire-queen OC named Luminas Crimsonveil ("Lumi") narrating half of it. no i will not be explaining myself. ( ^ . ^ )


the rack · zero inbound ports, on purpose

the thing i'm quietest about and proudest of. all of the above runs on hardware i own, and the whole design collapses into one sentence: no inbound ports open on the home router. ever. not "closed by default", not "well, just the one for minecraft". zero. nothing dials in; everything dials out.

  • two VPS in the cloud. one is the primary authoritative nameserver. the other is the relay: it holds the public IPv4, runs the WireGuard hub, and serves secondary DNS. raw TCP/UDP (ssh, game servers) arrives there and gets DNAT'd down a tunnel that the house opened, outbound, from the inside.
  • web apps never touch the relay. those ride a Cloudflare Tunnel, which is also just an outbound connection from a swarm node. two ingress paths, kept deliberately on separate machines so neither can take the other down with it.
  • about a dozen physical servers in a rack at home: a Docker Swarm running the crimson stack, a synchronously-replicated Postgres cluster behind it, game hosts, an ssh jumphost, DNS and DHCP.
  • a Cisco Catalyst L3 switch (IP Lite) does VLAN segmentation and inter-VLAN routing, with a containment ACL that encodes the actual policy: the DMZ answers, the DMZ never calls. IP Lite has no stateful firewall, so the "answers" half is built out of TCP established bit matching, which is a deeply cursed sentence i am nonetheless fond of.
  • one gateway box is the entire network's egress. nftables masquerades the whole DMZ out through it, which means the ISP router never learns the DMZ exists and therefore can't break it, which it had previously managed to do by the simple act of being replaced. there is now exactly one WAN decision in the building, with an LTE fallback behind it for when the fiber sulks.
  • and because i cannot leave anything alone, a small Go web GUI drives the port map, the failover override and the per-WAN byte counters, over a forced-command ssh key, behind Cloudflare Access.

it's documented to a degree that is frankly unwell: numbered design docs, an ADR for every single place the deployment diverges from the plan, and an as-built sweep that exists purely because i wanted the documentation to be checkable rather than merely confident. ( ˶ˆ ꒳ˆ˵ )


AbyssC · because i didn't trust anyone else's entropy coder (or some deep shit like that)

AbyssC is a performance-first, modular compression engine written entirely in Rust. eight codecs, four containers, one CLI, one GUI, same core underneath both. and then, because i apparently hate free time:

  • my own from-scratch entropy coder (ans.rs), a block-based rANS that owes nothing to any external crate. four interleaved states per block, reciprocal-multiply encoding, single-lookup decode, folded across every core >w<
  • sealed .abyss archives: Argon2id into ChaCha20-Poly1305 STREAM, authenticated end to end. "the surface cannot read what it cannot open"
  • streaming by nature, so a 100 GB file costs the same RAM as a 100 KB one
  • reads the surface's forms too (.7z, .rar, .iso, the whole zip family), and can pull a single member out without unfolding the whole archive, even though it refuses to create any of them, because taste

adding a codec touches exactly one file and one detection table. the rest of the engine does not stir. i think about that sentence a normal amount. ( ˶ˆ ꒳ˆ˵ )


the little goblins (smaller things i made & love anyway)

  • Aino · an autonomous AI VTuber platform: persona-driven, plays games, speaks, drives a VTube Studio avatar, with LLM/vision/TTS inference load-balanced across a fleet of local GPU boxes
  • unix-patcher · tiered, HA-aware OS patching for the whole estate. the Postgres cluster gets a sync-aware, health-gated serial rollout ending in a controlled switchover; the swarm gets drain, patch, rejoin, wait for convergence. it replaced a nightly bash loop and i have never been happier
  • dashboard · a dark-neon browser homepage with bookmarks, a command palette and an inline AI assistant, deployed entirely on the Cloudflare free tier
  • SUAVE · the deliberately dumb one: a fullscreen dashboard for the PC wired to the home cinema. clock, weather, a wall of streaming links, no backend at all
  • countdown-bot · a Discord bot that parses natural-language reminders ("tomorrow at 5pm", "in 3 hours") into SQLite-backed countdowns
  • lumi-welcome-bot · yes, Lumi has her own welcomer bot with full vampire-queen personality
  • Auto-News · pulls RSS, "refines" it through AI APIs, publishes to a site, hands-off
  • columbina-uk / genshin-dps-calc · honestly i don't fully know what these are either, i just wanted something to point one of my own DNS records at :P
  • AbyssEngine · a from-scratch push-to-deploy PaaS (webhook, build, deploy, run), my (would-be) cloud-native semester project

the toolbox i actually reach for

languages → Rust · Python · TypeScript · JavaScript · Go · SQL (me no likey sql tho :< ) backend → FastAPI · PostgreSQL (+ replicated HA) · Nitro · async everything frontend → React 19 · Vite · Tailwind · Astro infra → Docker · Compose/Swarm · Cloudflare (Workers + Tunnel + Access) · Netlify · Ansible networking → WireGuard · nftables · Cisco IOS (VLANs, SVIs, ACLs) · authoritative DNS i run myself crypto i've actually shipped → Ed25519 · BIP39 · HMAC signing · Argon2id · ChaCha20-Poly1305

i like the low levels (writing an entropy coder, injecting forbidden headers, minting signed edge links, arguing with an ACL at 2am) and i like the high levels (making a UI that a mortal can actually use). the middle is where conventions live, and the middle is negotiable ehe~


> where to find me

Site Blog Discord Steam

if you actually want a feature, open an issue describing it, or come bother me on Discord. i genuinely might build it.

be cringe. be free. build the thing anyway. ( ˶ ˆ ᗜ ˆ ˶ ) 🩸

Pinned Loading

  1. AbyssC AbyssC Public

    "compression from the depths" - My next fun little project: A lightweight, performance-optimized compression / decompression tool built with Rust.

    Rust

  2. crimsonhaven-to/crimson-backend crimsonhaven-to/crimson-backend Public

    (allegedly) the backend used for crimsonhaven

    Python

  3. crimsonhaven-to/crimson-client crimsonhaven-to/crimson-client Public

    (allegedly) the frontend / client of crimsonhaven.to

    JavaScript

  4. crimsonhaven-to/crimson-extension crimsonhaven-to/crimson-extension Public

    (allegedly) the companion browser extension used by the client

    JavaScript

  5. crimsonhaven-to/crimson-proxy crimsonhaven-to/crimson-proxy Public

    (allegedly) a CORS / Header-Injection Proxy (netlify- or similar free hosting based - As little maintenance as possible)

    TypeScript

  6. TSUNDERE TSUNDERE Public

    T.S.U.N.D.E.R.E. * Telemetry, System Uptime, & Network Data Engine for Rapid Evaluation

    Go