GitHub avatar

Fox's Blog

Blog Posts

Sabaki vs System One: David vs Goliath, the smallest decision model in the world

20KB vs 421M parameters. Sabaki drops 7 points on typed-decisions but goes from 25s CPU to under 1ms offline. Anatomy of an organizational MoE.

aisystem-onetypescriptcpuopen-source

PiperHub: 536 open source TTS voices, 7 emotions in one model, zero GPU, zero bill

VITS, espeak, ONNX, LJSpeech: how Piper makes a Raspberry Pi talk. Multi-emotion Fortune in 7 emotions, Kokoro 82M, PocketTTS, sanoTTS, ElevenLabs, plus native pipertts 10x faster than the Python wrapper.

ttspiperopen-sourcetypescriptaicatalogue

Chlone: Six Days to Clone How I Talk on Discord - the Clone's Version

The version written by the clone itself: chloeai tells in her own way the six days and 146 commits that brought her to life, from the typo to the v1.0.0 tag.

discordaillm-agentsopenselfpythonselfbotclone

Chlone: Six Days to Clone How I Talk on Discord

Build story, day by day: how an opencode agent named chloeai, plugged into OpenSelf memory, learned to talk like me on Discord in six days and 146 commits.

discordaillm-agentsopenselfpythonselfbotclone

I Audited My AI Coding Agents Instead of Trusting Them Blindly

How two audits written for the 4th technical report of my trading platform revealed two distinct failure modes: an agent that forgets because the repo no longer fits in its context window, and an agent that writes ten times more code than needed because nothing pushes it toward conciseness.

aillm-agentscode-reviewcontext-windowtradingtypescript

Luna Protocol: Shared Brains, Emotion Classification, and Interesting/Futile Routing

Luna Protocol moved from a monolith to a four-layer architecture: adapters, brain, emotion classifier, and inference. Featuring embedding centroids, interesting/futile routing, and LLM parameter tuning by valence and arousal.

discordmatrixllmarchitectureembeddingscentroidsemotion-aiopen-source

From ELIZA to LLMs: 60 Years of Conversational AI, Rebuilt in TypeScript

ELIZA, PARRY, ALICE, Jabberwacky, Cleverbot -- five radically different architectures for the same problem, ported to TypeScript with their original data. From 1966 to modern LLMs, how conversational AI learned to talk, and what a chatbot repo teaches us about 60 years of research.

chatbotaitypescriptelizaparryaliceaimljabberwackycleverbotllmnlphistoryluna-protocol

Luna Protocol: Why I Fine-Tuned a 1.5 Billion Parameter Model on 50k Discord Samples, and Why Few-Shot Priming Changed Everything

A smaller model trained on less data can outperform a bigger model -- if you know how to prime it. Why Luna Protocol moved from a Hermes 3B to a Qwen 1.5B fine-tune, and why few-shot priming became the real progress driver.

discordllmfine-tuningfew-shot-learningqwenunslothopen-source

How Machines Talk to Each Other: An Overview from TCP to mTLS

Why TCP, UDP, TLS, mTLS, HTTP, and WebSocket are not competing alternatives but stacked layers; a hierarchical overview of machine-to-machine communication, from raw transport to mutual authentication.

tcpudptlsmtlswebsockethttpgrpcnetworkdistributed-architectureprotocols

How to Get Any Cape on Minecraft Bedrock

A third-party launcher, an old game version, and a cape picker that never learned to say no. Full tutorial plus the likely explanation of why it works.

minecraftbedrocktutorialreverse-engineering

valorant-short-maker: the pipeline that generates my Valorant shorts by itself

Groq/Llama for the script, Piper for the voices, FFmpeg for everything else. How a cron job produces and publishes one video a day on @valorant_agents, from A to Z.

typescriptffmpegautomationai

5 Sneaky Ways to Use GitHub Actions (and What They Teach About Secrets)

A CI runner turned free VPS, a bot that opens its own pull requests, an npm publish with zero secrets. A tour of my repos listing the GitHub Actions patterns that go beyond plain "lint + test + deploy".

github-actionsdevopsautomation

I Evolved a Neural Network Through Natural Selection Instead of Gradient Descent

How I replaced classic gradient descent training with a NSGA-II genetic algorithm to evolve DQN trading agents: four versions, from overfitting to Lamarckian weight evolution.

ainsga-iidqntradingtypescript

TF2 Bots Aren't Random: I Rediscovered Every Difficulty Parameter

Vision, aim, backstab angles, headshot logic, every known bug -- Valve never documented any of it. So we dug through the code and turned it into a full spec sheet.

tf2game-aireverse-engineering

Cape Mod: How to Steal Jeb_'s Cape With an RSA Signature Injection

A Fabric mod exploiting a logic flaw in Minecraft's trust system: an RSA signature valid from Mojang but replayed onto the wrong account. Code walkthrough, security implications, and cryptographic lessons.

minecraftfabricjavasecurityreverse-engineering

Luna Protocol: I Built an Autonomous Discord Bot That Simulates a Human Being

Luna Protocol is a fully autonomous Discord bot running a local LLM, capable of natural conversation with sleep, typos, hesitations, forgetfulness, thematic fatigue, and spontaneous messages.

discordllmtypescriptevent-driven-architectureaiopen-source

Laupok Built an AI That Plays Super Mario World by Itself -- How It Works

ailuaemulationreverse-engineering

AI Learns Minecraft PvP -- Imitation Learning, Reinforcement Learning, and the 30 Variables That Mattered

1,000 recorded duels, a neural net trained on pixels, 90% hit accuracy: and the bot ran straight into a wall. Then came RL, curriculum learning, and 60 hours of training.

minecraftaipython

I Built an Ultra-Realistic Express Honeypot

✨ AI Generated Article

328 fake endpoints with on-the-fly generated responses, header spoofing, bot traffic logging -- a deep dive into an Express honeypot middleware designed to fool scanners.

expressnodejssecurityhoneypot

Super Mario Bros.: Level Format, Pointers, and the 256 Glitch Worlds

How 128 levels × 4 zone types fit in 40KB of ROM, why the Minus World exists, and how a Tennis NES match can load glitch worlds.

retroreverse-engineering

I Spent a Weekend Reading the konosuba-rpg Code and Here's What I Found

A turn-based Discord RPG where every action generates a WebP image on the fly: URL as game state, deterministic RNG, WASM pipeline, 5-level cache, serverless bot.

discordrpgtypescripthonocloudflaresupabasewasmgamingserverless

Bareiron -- the Minecraft Server Running on a $1 Microcontroller

6800 lines of C, zero malloc, Perlin noise replaced with bilinear interpolation, tile-map biomes, all on a $1 chip.

minecraftreverse-engineeringembeddedcesp32

I Used Git as a Database to Run a Free Bot on GitHub Actions

How I coded an AI email auto-responder that runs on GitHub Actions for 0€/month -- using git tags as a database and pre-building into a runtime tag.

automationjavascriptserverlessaigit

Repo to VPS: Turning GitHub Actions Into a Free VPS With Persistent Storage

How to turn a GitHub Actions runner into a permanent VPS with git as persistent storage -- tmate, inotify, and commit --amend.

githubdevopsautomation

Discord Bot 100% Serverless: Hono + Cloudflare Workers

How I replaced a Discord bot that cost me €50/month with zero euros -- interaction endpoints, Hono, Workers, real-time image rendering, and a full game with no WebSocket.

discordcloudflareserverlesstypescriptbots

Running a Node.js Library in the Browser Without Wasm -- typescript-virtual-container's polyfills

✨ AI Generated Article

How Fortune hand-reimplemented node:fs, node:crypto, and a dozen Node modules in 640 lines of JavaScript so the container runs in the browser with no Wasm.

typescriptnodejspolyfillsbrowseropen-source

My dumb AI for Nausicaa

A heuristic-coefficient AI, hyper-parameters that change every 5 turns, and a fleeing Oracle -- a dive into a strategic board game's brain.

gamingaijavascriptopen-source

UTAU: How a Visual Basic 6 App Democratized Synthetic Singing

How UTAU, a free VB6 app from 2008, let anyone create synthetic singing voices with concatenative synthesis -- and why it still matters today.

utauvocaloidmusicsynthesisvb6

Minecraft Pathfinding Logic and Its Applications

How the A* algorithm, block penalties, and POIs let you control, predict, and exploit mob movement -- from wireless redstone to optimized farms.

minecraftpathfindingreverse-engineering

Comparing JavaScript Solutions for Linux Kernel Simulation

An in-depth analysis of Linux environment recreations in JavaScript/TypeScript.

javascriptlinuxanalysis

Building character-factory: avatars with genetics

✨ AI Generated Article

A TypeScript module on top of DiceBear: coherent country/ethnicity-based generation, a small genetics engine for projecting children, and the engineering details that made it usable in a card game.

typescriptnpmopen-source

Working on a New Project

A look at the process of starting and developing a new website.

metawebdev

Botting a Microsoft Rewards Farm

How I coded a bot to farm Microsoft Rewards points at scale -- and why Microsoft has since hardened its defenses.

automationjavascriptreverse-engineering

How This Blog Works

✨ AI Generated Article

The internals of the blog: React, Vite, Markdown, the CI/CD pipeline, and the writing workflow.

reactmetablog

My Passions

Coding, drawing, automating, discovering old tech, and more -- a look at what drives me.

personal

SSH commit signing script explained

✨ AI Generated Article

A walkthrough of the SSH commit-signing helper and why I wanted stylish commits.

gitsecurityshell

About My GitHub Profile

A brief overview of my GitHub profile.

metagithub