OpenGB – modular game back end engine with first-class scripting
I’m tired of getting screwed by game backends like Microsoft PlayFab and Unity Gaming Services. To get a simple cross-platform friends system, we’ve bent over backward fighting against their limited APIs to jerry-rig the behavior we need. These backends “solved” their platform’s rigidity by tacking on a clunky scripting layer [1] [3] with a proprietary KV database [2] [4] (look ma, no transactions!). They proceed to claim you can build a LiveOps game on this rubbish without testing, database migrations, monitoring, BI tooling, etc. We got fed up and built an open-source backend engine as an…
In plain words
OpenGB is an open-source game backend engine designed as an alternative to proprietary services like PlayFab and Unity Gaming Services. It features modular architecture with customizable modules, scripts, and registries to accommodate different game requirements. Built for developers who need flexible cross-platform functionality like friends systems and LiveOps features, OpenGB provides a transactional database and tooling for testing, migrations, and monitoring that commercial backends lack.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
I’m tired of getting screwed by game backends like Microsoft PlayFab and Unity Gaming Services. To get a simple cross-platform friends system, we’ve bent over backward fighting against their limited APIs to jerry-rig the behavior we need. These backends “solved” their platform’s rigidity by tacking on a clunky scripting layer [1] [3] with a proprietary KV database [2] [4] (look ma, no transactions!). They proceed to claim you can build a LiveOps game on this rubbish without testing, database migrations, monitoring, BI tooling, etc. We got fed up and built an open-source backend engine as an alternative: Open Game Backend. OpenGB is comprised of four components: the engine, modules, scripts, & registries. Modules & Registries No two games have identical use cases, but these game backends try to provide the same API to everyone. For example, PlayFab has 44 API endpoints for their economy API [5], yet every developer I know still finds it too restrictive to use in a serious game. Instead, OpenGB assumes game developers will start with off-the-shelf modules, then fork & write new modules as their needs grow. Everything down to auth, tokens, & rate limiting are implemented as modules so they can be modified. Forking a module is as simple as `opengb fork <module>` to pull code in to the repo. Scripts I love niche game engines & languages, so I’ve seen a lot of weird tooling. But these cloud scripts are some of the most tedious platforms I’ve written code for. Even their example code has race conditions [6] and requires 306 LOC to implement a simple transaction [7]. We built the scripting API to feel as much like a game engine as possible. All of the complexities of database queries/migrations, schema validation, and networking are abstracted away in a cozy engine-like scripting environment where game devs feel at home. It's dead simple to write a leaderboard module from scratch in a couple minutes: https://opengb.dev/build/crash-course Official Registry We don’t intend to ship a truckload of half-baked services like PlayFab & UGS does. We want to build a solid engine that others can extend with modules. To help developers bootstrap their backends, we maintain an official registry of modules (written by us & external contributors) that are thoroughly reviewed for performance, testing, & docs. We hope other devs also share their registries, similar to the Unity Asset Store community. See: https://opengb.dev/modules/overview We’re currently working with a few studios rolling OpenGB out to production. If you give it a spin, we’d love to hear your thoughts below or in our Discord: https://rivet.gg/discord Documentation: https://opengb.dev GitHub: https://github.com/rivet-gg/opengb A few more notes: - Licensed permissively under Apache 2.0, go nuts - Leverages PostgreSQL’s features & extensions, similar to Supabase - Generates type-safe client SDKs & Open API specs for your modules - Supports Deno, NodeJS, Cloudflare Workers [1] https://learn.microsoft.com/en-us/gaming/playfab/features/automation/cloudscript/writing-custom-cloudscript [2] https://learn.microsoft.com/en-us/gaming/playfab/features/entities/entity-objects [3] https://docs.unity.com/ugs/en-us/manual/cloud-code/manual/scripts [4] https://docs.unity.com/ugs/en-us/manual/cloud-save/manual [5] https://learn.microsoft.com/en-us/rest/api/playfab/economy/catalog [6] https://github.com/Unity-Technologies/com.unity.services.samples.use-cases/blob/main/Assets/Use%20Case%20Samples/Daily%20Rewards/Config%20as%20Code/DailyRewards_Claim.js#L38 [7]…
Does the same job
all alternatives →- HAHomegames. An open-source game platform I've been making for 8 yearsJul 2026 · homegames.io · ▲229
I'm making a platform for simple open source games you can play anywhere. Games are all just JavaScript classes and you can read the source of every game on the platform. I started working on initial "games" (mostly rendering tests) in 2018 and eventually built all of the platform stuff around it to make it easy to share games. There's also an in-browser editor available for you to make and publish games all from the browser. Would love some feedback on the games and studio features as well as the platform overall. All of the code is available at https://github.com/homegamesio
- NONous – Open-Source Agent Framework with Autonomous, SWE Agents, WebUI2024 · github.com · ▲155
Hello HN! The day has finally come to stop adding features and start sharing what I've been building the last 5-6 months. It's a bit of CrewAI, OpenDevon, LangFuse/Cloud all in one, providing devs who prefer TypeScript an integrated framework thats provides a lot out of the box to start experimenting and building agents with. It started after peeking at the LangChain docs a few times and never liking the example code. I began experimenting with automating a simple Jira request from the engineering team to add an index to one of our Google Spanner databases (for context I'm the…
- MAmade a html5 game, polished it many many times2011 · hotbazooka.com · ▲211
hi all, I've always wanted to make my own game, but couldn't afford a thousand-dollar adobe (flash+photoshop) license. I'm not a talented programmer, have no degree in CS. But I understand some elements of design. So I got me a copy of ImpactJS, and after about 5 months of steep learning curve (at least for me), I managed to come up with a game. I also integrated it with a highscore and badge system, similar to what you get at Kongregate. You need to login with Google/OpenID to earn badges/scores. link is: http://www.hotbazooka.com/privatejoe hope to hear some feedback/questions from you guys!
- IMI made a 2D Lua game engine using Rust with code and asset live reloadMay 2026 · usagiengine.com · ▲30
I love making small 2D pixel art games, especially using tools that have some constraints. Things like Pico-8 and the Playdate SDK are simple, fun, and allow for focusing on the game idea rather than the technical minutia. Years ago I prototyped an idea for this little game engine, Usagi, but used Rhai instead of Lua. The idea for this little game engine never went away, so I decided to finally dig in and build it. Today I released v1.0.0 of Usagi Engine after making a bunch of small games, getting feedback from developers, and stabilizing the API. It's simple, has a great developer…
- FOFreeBoardGames.org – FOSS platform for publishing boardgame.io games2021 · ▲33
Hello HN, I have started FBG some years ago when I moved to the Bay Area and could not find a simple, cross-platform, no-registration way to play board games with my friends back in my home country. I also wanted to make it simple to create multiplayer board games online for developers in their free time. Shortly after, I found out about boardgame.io with similar goals and decided to join forces with them. It became the engine of our board games, and we focused on publishing/serving them. To be fair with everyone and inspired by Wikipedia, we made the project a non-profit with GPLv3…
- MBMy biggest solo-project: Game engine with its own programming languageMay 2026 · github.com · ▲5
Hi, so i'm making a 2D game engine with its own IDE and interpreted programming language, all are written in C# It's open source, and I'm looking for contributors! The backend engine is MonoGame, the IDE is WinForms and the project is real, not just another AI-slop... Please check it out, i promise it's an unusual thing! Here's a YouTube video showing me using the engine for making a little cute game: https://youtu.be/h_AnUg4yJWs?si=MR3nQCVvOMDP3iqg Any feedback is welcome!
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Launched alongside, March 2024
the whole month →
- 3Y
Life & fun · 2024 · github.com
Microlaunch▲1,116Launch and get feedback on both the idea and product
Dev tools · 2024 · microlaunch.net


