GitHub avatar

Fox's Blog

Blog Posts

Luna Protocol: shared brains, emotion classification, and interesting/futile routing

Luna Protocol went from a monolith to a four-layer architecture: adapters, brain, emotion classifier, and inference. On the menu: 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, here's how conversational AI learned to talk, and what a chatbot repo teaches us about 60 years of research.

chatbotiatypescriptelizaparryaliceaimljabberwackycleverbotllmnlphistoireluna-protocol

Luna Protocol: Why I fine-tuned a 1.5B model on 50k Discord samples and why few-shot priming changed everything

A smaller model trained on less data can outperform a bigger one -- if you know how to prime it. Here is why Luna Protocol switched from a 3B Hermes to a 1.5B Qwen fine-tune, and why few-shot priming became the real game-changer.

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

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

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

typescriptffmpegautomationai

5 ingenious ways to use GitHub Actions (and what they teach about secrets)

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

github-actionsdevopsautomation

How to get any cape on Minecraft Bedrock

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

minecraftbedrocktutorialreverse-engineering

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 Reverse-Engineered Every Difficulty Setting

Vision, aim tracking, spy backstab angles, sniper 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

Luna Protocol: I created an autonomous Discord bot that simulates a human being

Luna Protocol is a fully autonomous Discord bot powered by 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

Cape Mod: how to steal Jeb_'s cape with RSA signature injection

A Fabric mod that exploits a logical flaw in Minecraft's trust system: a valid Mojang RSA signature but replayed on a wrong account. Code explanation, security implications, and cryptographic lessons.

minecraftfabricjavasecurityreverse-engineering

AI Learns Minecraft PvP -- Imitation Learning, Reinforcement Learning, and the 30 variables that mattered

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

minecraftaipython

Super Mario Bros.: the level format, pointers, and 256 glitch worlds

How 128 levels x 4 area types fit in 40KB of ROM, why the Minus World exists, and how a NES Tennis cartridge swap can load glitch worlds.

retroreverse-engineering

I spent a weekend reading konosuba-rpg's 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

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

Bareiron -- a Minecraft server running on a $1 microcontroller

6800 lines of C, zero malloc, Perlin noise replaced by bilinear interpolation, biomes as a tile map -- here's the actual source code.

minecraftreverse-engineeringembeddedcesp32

My dumb AI for Nausicaa

A heuristic coefficient-based AI with hyperparameters that randomly change every 5 turns, and an Oracle that runs away -- diving into the brain of a mythological strategy board game.

gamingaijavascriptopen-source

I used git as a database to run a bot for free 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-compiled runtime snapshots.

automationjavascriptserverlessaigit

Repo to VPS: Turn GitHub Actions into a free VPS with persistent storage

How to turn a GitHub Actions runner into an always-on VPS using 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 without WebSocket.

discordcloudflareserverlesstypescriptbots

Minecraft Pathfinding Logic and Applications

How A*, block malice, and POI mechanics let you control, predict, and exploit mob movement -- from wireless redstone to optimized farms.

minecraftpathfindingreverse-engineering

Running a Node.js library in the browser without Wasm -- typescript-virtual-container's polyfills

✨ AI Generated Article

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

typescriptnodejspolyfillsbrowseropen-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

Comparing Javascript Solutions For Linux Kernels Simulation

A deep analysis of Linux environnements recreations in Javacript/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's anti-bot detection has since caught up.

automationjavascriptreverse-engineering

SSH commit signing script explained

✨ AI Generated Article

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

gitsecurityshell

How Does This Blog Work?

✨ AI Generated Article

A deep dive into this blog's internals: React, Vite, Markdown, the CI/CD pipeline, and the article-writing workflow.

reactmetablog

About My GitHub Profile

A brief introduction to my GitHub profile.

metagithub

My Passions

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

personal