Sitelet https://github.com/MattFor
Skip to content
View MattFor's full-sized avatar
📚
"Let's delve in promptly." - Big Hat Logan
📚
"Let's delve in promptly." - Big Hat Logan

Highlights

  • Pro

Organizations

@EscapeTheBackroomsCommunity

Block or report MattFor

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
MattFor/README.md

Website Email Codeberg Ko-fi Profile views

I write things that people use.
C, C++ and Rust are my preferred languages; JavaScript and Python are the ones I use most and know best. Currently studying in university.

I'm open to collaboration and contributions.
Everything below is built and maintained in my free time.


My Best projects

Relaxy! Ecosystem

Everything relaxy.xyz related: the bot, the dashboard, the website and the supplementary services.
A single RaspberryPi hosts everything isolated under Podman and bubblewrap.

relaxy.xyz dashboard uptime cdn | users lines of code

Relaxy! Discord Bot

A multipurpose Discord bot running as a sharded fleet with one supervising manager process and N cluster processes. Backend uses MongoDB.

Uses: Node.js v24+, discord.js v14, MongoDB (Mongoose), discord-hybrid-sharding, discord-player (custom fork), node-canvas, ffmpeg, tesseract-ocr.

  • 210,000+ users
  • 188 commands, 58 event handlers
  • Diff-based document storage, multi-process DB workers, local caching
  • OCR-backed and perceptual-hash scam detection on posted images
  • Cross-server role sync, ban appeals and synced moderation over a credential-less handshake
  • One shared implementation behind every moderation action, for the usual moderation, dashboard as well as linked servers
  • Hot reload, rolling restarts and class patching
  • Shard, network and file watchdogs

source

Relaxy! Dashboard

Web dashboard for the bot. Discord OAuth login, three access tiers computed from the OAuth guilds permission bitfield. Has per-user profile customization as well.

Uses: Fastify, the native MongoDB driver, JavaScript, esbuild.

  • Discord OAuth-based access control with three permission tiers, per-request authorization checks, per-session CSRF protection and a strict list of modifiable fields
Relaxy! Website

The bot's showcase site, plus the public uptime page. I've designed it from the ground up to be as fast as possible.

Uses: HTML, CSS, JavaScript.

  • 12 pages, ~5,400 lines of JS, ~5,650 lines of CSS
  • Changelog, devlog, technical writeup, CDN, Matrix and Minecraft pages
  • The uptime page is driven by the health feeds published below

source

Relaxy! Additions

The scripts and services that ensure maximum possible uptime. Written for runit on Void.

Uses: Node.js, POSIX shell scripts, nftables, runit.

  • Probes 24 services on a ten-second loop and publishes three JSON feeds (one full, one public, one status)
  • Hardware watchdog that pets /dev/watchdog; makes the Pi will reboot automatically on a deadlock
  • An uptime ledger with day buckets, incident detection and cause inference, mirrored into a Discord outages channel
  • incident CLI tool for declaring and annotating outages
  • Scripts to keep sshd at the top of the CPU, IO and OOM priority lists, with a self-contained nftables table putting SSH in band 0 at DSCP CS6 to ensure the Pi stays reachable while it is dying
  • error pages generated from the dashboard's own CSS, so I don't have to write new ones by hand every time I change something

source

emoji-mixer

npm source

Node library that generates Google Emoji Kitchen combination image URLs from two emojis.

Uses: JavaScript, webpack (CJS and ESM builds), TypeScript, Python3.

  • 122,000+ total downloads (npm-stat)
  • 1,221 dependent repositories on GitHub
  • 619 base emojis, 330,640 valid combinations
  • Compact compatibility data is 2.4 MB, down from the 96 MB original.

LogEye

PyPI Python source

Runtime introspection logger for Python. Reports variable assignments, mutations and function calls as they happen, with no debugger and no instrumentation of the target code beyond a decorator.

Uses: Python 3.10+, sys.settrace introspection.

  • 9,000+ PyPI downloads
  • ~4,700 lines across 12 modules, with 16 test modules and 16 demos
  • Educational mode rewrites output into plain sentences for teaching
  • Tracks locals, attribute writes, container mutations, arguments and return values

simple-project-tracker

Python License CI source

CLI project tracker with Git repo discovery, search/filtering, bulk editing, configurable output, and a background update daemon.

Uses: Python 3.11+.

  • ~10,500 lines across 35 modules, with 17 test modules on top
  • 15 commands, each with aliases and a fused short version
  • Frecency-based name resolution
  • Undoable edits, a background daemon, shell completion for bash, zsh and fish, and a man page

Other projects

  • leetcode-zed (Rust) - A Zed port of vscode-leetcode. Zed extensions are sandboxed WebAssembly with no tree views or webviews (SAD!) so this is a native Rust CLI talking to LeetCode's GraphQL and judge endpoints, wrapped in a wasm32-wasip2 extension that runs it as an MCP server for the Agent Panel.
  • abba (C++26) - Arbitrary Binary Behavioural Anticheat. Memory scanning, file integrity hashing and INI-driven configuration. Still work in progress!
  • von-neumann-machine-simulator (Rust, egui/eframe) - Von Neumann architecture simulator with a native GUI.
  • ibus-mozc-system (Python, Shell, X11) - Scripts and config that make Japanese input under IBus and Mozc work on a keyboard without dedicated JP keys.
  • xfce-tiler (Python, X11) - Quadrant, half and directional window tiling for XFCE and xfwm4.
  • hprint (C++26) - Header-only utility for centered terminal headers with compile-time border characters and terminal width detection.
  • path-variable-editor (Python) - Windows PATH editor that works past the 2047 character limit.
  • download-favourite-discord-gifs (Python) - Downloads exported Discord favourite GIFs, converts to correct formats with magic byte detection.
  • raytracer (C++) - Ray tracer following Ray Tracing in One Weekend.
  • libstrangle-dlsym-fix (C) - Fork of milaq's libstrangle with the __libc_dlsym lookup error corrected making OpenGL work again on latest glibc.
Personal - Random configs and themes that I use
  • g-mang-hud-mattfor-edition (TF2 HUD) - My modification of a 16+ year old TF2 HUD written in ReScript.
  • .bashrc (Shell) - My .bashrc. System, packaging, media and programming utilities, each documented with what it needs installed.
  • gtk-config (CSS) - My GTK 3 and 4 theme for Void.
  • xfce4-notes-plugin (Vala) - Mirror with the .git folder detection removed, along with the folder name in the title.
Archive - University work and older projects

University

  • neural-network (C++26) - Feedforward multithreaded neural network written from scratch, with a test suite. (also submitted as the final project for algorithms & data structures)
  • visual-sorter-v2 (C++20, OpenGL [GLFW], SDL3 and ImGui) - Twelve sorting algorithms drawn one comparison at a time. Performance metrics, graphs and more.
  • emergency-department (C++20, POSIX IPC) - A hospital emergency department where every role is a separate process, coordinating purely through message queues, shared memory, semaphores and signals. Final project for operating systems class.
  • numerical-methods-lab-programs (C++) - Numerical methods lab programs.
  • dotnet-university (C#) - Every exercise from the .NET class.

Older projects

Mirrors of my repositories are also available on codeberg.org/MattFor.


Contact

Community

I'm a community manager for Fancy Games, overseeing Escape The Backrooms. Join our Discord server!
I also own and run the Escape the Backrooms Community organisation GitHub | Codeberg.

Organisation repositories
  • autosplitter (ASL) - The LiveSplit autosplitter for the game, covering versions 5.0+. Auto start, splits on level transitions and cutscenes, load removal, and a paused timer in cutscenes, the main menu and on crashes. Based on uhara by ru-mii.
  • UE4SS (C++) - Our fork of RE-UE4SS.
  • community-wiki - The community wiki: confirmed features, suggestion guidelines, templates for level, item and entity suggestions, and a guide to running the game on Linux.
  • etb-speedrun-bot-v2 (Python) - The speedrunning bot behind the leaderboards and run verification, "The Watcher", originally by @Reokin. Members link their speedrun.com profile and the bot keeps their roles up to date.

Pinned Loading

  1. logeye logeye Public

    Frictionless logging/tracing for Python! No debugger needed.

    Python 13 1

  2. emoji-mixer emoji-mixer Public

    Get a Google Emoji Kitchen mixed emoji link from 2 other emojis.

    JavaScript 13

  3. relaxy-public-v2 relaxy-public-v2 Public

    A full public preview of how Relaxy! is made. Only a showcase - cannot run.

    JavaScript

  4. simple-project-tracker simple-project-tracker Public

    Basic customizable cli project tracker tool.

    Python 1

  5. neural-network neural-network Public archive

    Multithreaded neural network c++26 personal project; submitted as the final project for the algorithms & data structures class.

    C++

  6. path-variable-editor path-variable-editor Public

    Edit lengthy PATH env variables that are over 2047 chars long with ease.

    Python 1