r/vibecoding • • 1d ago

Showcase/Project I vibe-coded a 100% client-side AI Solo TTRPG web app (PWA) with dynamic themes/maps and BYOK—hosted free on GitHub Pages

Post image

I got tired of paying for AI wrapper subscriptions or juggling 5 tabs to play solo tabletop RPGs, so I built Solo Engine using Google AI Studio and deployed it straight to GitHub Pages.

The coolest parts of the build:

  • Zero Backend / 100% Free: Originally had a Node/Express backend, then ripped it out and converted it to Bring Your Own Key (BYOK). You drop in your own free Gemini API key, it saves to localStorage, and calls Google directly from your browser. No servers, no subscriptions, no database.
  • Swappable Worlds & Rules: Nothing is hardcoded. Paste or load any custom ruleset/world file, and the app generates a custom UI theme and interactive SVG map for that specific campaign.
  • Installable Mobile PWA: Works straight from the browser or installs to your phone's home screen with local persistence and JSON save exports.

Links:

Would love feedback on the mobile UX, the BYOK onboarding flow, or any edge cases you manage to break!

4 Upvotes

12 comments sorted by

2

u/PretendBass1642 1d ago

The tavern writeup is sharper than I figured a vibe-coded GM would manage. That scout staring at the pack is an actual hook.

1

u/Pro_Bono-004 1d ago

Yeah, some of the first prototypes were very dry... I think we're steering towards a more immersive experience luckily! Thanks for the feedback.

1

u/Training_External964 1d ago

that detail caught my eye too, feels way less passive than the usual generated intro

0

u/RyuGamer97 1d ago

Buena bot

1

u/Iridian_Rocky 1d ago

Dude... You just shared this at the right time in my dev journey.

1

u/Pro_Bono-004 1d ago

Oh yeah? How so? Are you wokring on something similar right now?

1

u/Iridian_Rocky 1d ago

Well, I'm working on my own personal project. Not trying to sell it or anything. I've been pretty caught up in the dungeon crawler Carl universe and am trying my hand at some narrative driven game state items. But the engine can't break and needs rules. It's a tough concept especially since I want the game world to be walkable (I'm a visual guy).

1

u/Pro_Bono-004 1d ago

Thats super cool! Best of luck :)

1

u/Pro_Bono-004 1d ago

Something you might want to look at is the JSON parsing and contextual map design that the code uses. It helps keep all of the characters and the GM aware without too many tokens.

1

u/Iridian_Rocky 1d ago

You don't have a license in your repo... So I didn't want to intrude.

1

u/Pro_Bono-004 1d ago

Whoops, I added that. Feel free to dig around and copy anything you find that may be useful!

1

u/Iridian_Rocky 1d ago

Thanks my friend.