← ritwiksharma.com
Work
AI Systems · Live Platform · Solo author · Ongoing

Soup

The platform under State of Undead Purge, my Project Zomboid Build 42 server: the game server and its mod, a Discord bot and web API, and a Next.js website, all on one state. Built and operated solo.

Role
Solo, architecture, full-stack, ops
Status
● Live
Duration
2026, my main work since July

What it is

Soup is the platform underneath a Project Zomboid multiplayer community. It runs across three completely different surfaces (a Lua-modded game server, a Python Discord bot and API, and a Next.js web app) and presents a single, consistent world to its members. A shop you see on the website is the same shop you walk up to in-game. A reputation score generated by an LLM is visible in Discord, on the leaderboard page, and on your in-game character profile.

The kills leaderboard in game next to the same leaderboard on the website, with the same players and numbers.
The same leaderboard in game (left) and on the website (right), taken minutes apart: same players, same numbers.

This season (launched 10 October 2026, after a public beta from 21 September) 399 player accounts have reached the game, on a server with 24 slots. The platform handles their economy, their progression, their shop network, their seasonal events, their leaderboards, and their interactions with Zombita, the AI administrator who works across all three surfaces.

Players rate it 5.0 from 37 ratings. One review, from a player who has hopped between Project Zomboid public servers for years, calls the website-to-game integration "one of the most impressive and creative implementations I've seen in the PZ community".

The server's reviews page: 5.0 stars from 37 players and the latest reviews, including Out of the box.
The reviews page on the server's website. Players rate and review from a Discord button, and each review shows in Discord and on the site.

Many of the in-game and website screenshots on these pages were taken by the server's players CiBo, Warrior and Dish, and are marked with their names.

Every screenshot, including the ones not used here, is in the Gallery.

Zombita character page on the Soup website with smirk reaction
The Zombita interaction page on the Soup website. The same agent appears in Discord and in-game.

The hard part

The technical challenge isn't building a Discord bot, or a game server mod, or a web app. Each of those is a known problem. The hard part is keeping all three in sync as a single system: same source of truth, same state, same identity layer, same economy, same reputation, with users interacting from any surface at any time.

Architecture

The shape is a hub-and-spoke: a single canonical backend, with three runtime adapters that translate that backend's state into something each surface understands.

                  ┌──────────────────────────┐
                  │   Soup Backend (canonical) │
                  │   Database · Identity ·    │
                  │   Economy · Reputation     │
                  └─────────────┬──────────────┘
                                │
        ┌───────────────────────┼───────────────────────┐
        │                       │                       │
        ▼                       ▼                       ▼
┌───────────────┐       ┌───────────────┐       ┌───────────────┐
│  Lua adapter  │       │  Discord bot  │       │  Web (Next.js)│
│  in-game UI   │       │  Python       │       │  React + SSR  │
│  shopkeeper   │       │  commands +   │       │  shop, leader │
│  dialogs,     │       │  Zombita      │       │  -board, mods │
│  triggers     │       │  conversation │       │  pages, admin │
└───────────────┘       └───────────────┘       └───────────────┘
        │                       │                       │
        └───── Real-time bridge ─────────────────────────┘
                  (single source of truth)

The key design choice: the runtimes never talk to each other. They talk to the backend. This keeps the system from collapsing into N-to-N integration hell, and lets me add a fourth surface (WhatsApp, Teams, a mobile app) without rewiring anything.

Inside Soup

Each part of the platform has its own page, with the screenshots and clips.

Stack

Next.js 15 TypeScript React Tailwind CSS Cloudflare Pages Cloudflare Workers Python Discord bot (40+ cogs) FastAPI (60+ routers) PostgreSQL (about 140 tables) Project Zomboid Lua (Kahlua)

What this project demonstrates

Related work