Products · 6 min read
Years of wanting a better way to host web apps: introducing Platinum Server
After dozens of client projects and internal tools, we built the hosting platform we kept wishing existed, and it turned out to speed up multiplayer, too.
In this article
The problem we kept solving again
Over the years we have built and hosted dozens of web applications, for clients and for ourselves: dashboards, internal tools, content pipelines, small services that glue other systems together. Each time, the application itself was the interesting part. And each time, we spent a surprising share of the schedule on everything around it.
That meant picking a framework, wiring sign-in, deciding how sessions work, standing up a database, writing a deployment script, thinking about TLS, working out how to keep production separate from a demo, and wondering how we would know if a release had been tampered with. None of it was exotic, and all of it was necessary. We tried many approaches along the way, including conventional frameworks on virtual machines, container-based setups, managed platforms and serverless offerings. Each solved part of the problem and introduced its own tradeoffs in cost, lock-in, operational burden or fit.
We kept wishing for one place where the application model, the security model and the deployment model all agreed with each other. Eventually we realized we were already building it.
What we tried first: egui
Early in development we tried egui, the popular immediate-mode Rust GUI library, as the way to build interfaces for web-deployed applications. It was a reasonable bet. egui is quick to start with, and it fits naturally with Rust.
In our hands it did not hold up. The interfaces felt unresponsive to us, and the interaction had a “weird” quality we could not tune away: things behaved almost, but not quite, the way people expect controls to behave. For software we want to feel comfortable and personal, that was a dealbreaker. What we did like, a lot, was how seamlessly it deployed. Getting an application onto the web without a pile of packaging steps was exactly the experience we wanted.
That was the useful lesson. We wanted egui’s effortless deployment with an interface that feels right, so we built toward that combination with Platinum’s own GUI. It is GPU-accelerated and responsive, it is shared with our desktop applications, and it ships through Platinum Server with the same low-friction deployment.
Build it like a Platinum application
Platinum Server lets you build web applications the way you build Platinum applications. You can write in Lua, use immediate or retained GUI, or drop down to native Rust when you need it. Services use the same objects, commands and events as the desktop applications, so a developer who knows one side is productive on the other.
You can serve Platinum’s GPU-accelerated interface directly in the web, serve plain HTML, CSS and JavaScript, or expose a clean API, all from the same server and all behind the same authorization model. A route that needs a rich interactive workspace can have one. A route that just needs to return JSON can do exactly that.
Security is the default, not an add-on
The reason we wanted this inside Platinum is that Platinum already has an answer to the questions we used to solve from scratch. Platinum Runtime provisions and manages the deployment, verifies what is running, and keeps production deployments separate from interactive demonstrations, so a demo cannot quietly become a way to write to real records.
Platinum Auth gives you a straightforward identity integration, and you can roll your own if you prefer. The Software Hub supplies release and licensing checks at the server boundary, so a request is judged against a verified release and a current entitlement and not just against a button that happens to be enabled. Traffic can travel over HTTPS or over Platinum Tunnels, which negotiate encryption between peers under system and application policy, and refuse to connect rather than silently fall back to plaintext.
We try to be honest about what this does and does not promise. Encryption protects content in transit, not against a compromised endpoint. The Runtime’s kernel-level enforcement is opt-in. No design can promise perfect security, but the defaults are where we want them to be, and weaker settings have to be chosen deliberately.
Modules instead of a pile of glue
Platinum Server is modular. You enable what your application needs and leave the rest. One example is a wrapper for the Winnitude! Search API: a few lines in a Lua handler, and your application can run searches without hand-writing HTTP calls or response parsing. Authentication, licensing checks, storage and event pipelines follow the same pattern.
The idea is that the integration points you would otherwise write yourself, and test yourself, and secure yourself, are already there, already agreed with the rest of the platform, and already used by our own applications.
What it did for multiplayer
The effect we did not fully anticipate was on multiplayer. Online games need exactly the things a good server platform provides: identity, sessions, authoritative state, entitlements and an encrypted transport. Building those separately for each game was, in our experience, the part that kept multiplayer projects from starting.
With Platinum Server, hosting multiplayer and online services for Platinum Game Creator games is a matter of enabling the modules and writing the game logic. The same server can check that a player owns the right to play online, host the session, and serve a companion web dashboard or leaderboard. It is also straightforward to expand: add a custom Lua or Rust hook for events, scoring or seasonal content without starting a second backend.
Where it fits, and what it is not
Platinum Server is for teams that want to build web applications, internal tools and game backends on a coherent foundation, and for anyone already working with Platinum applications. It is not a drop-in replacement for every hosting product. If you need a particular managed database or a specific cloud service, you will still integrate it. What changes is that the platform around your code no longer has to be rebuilt each time.
Private, invite-only testing is available now. If you would like to try Platinum Server, get in touch through our contact page and tell us what you are building. Our first production-ready, 1.0 certified bespoke Platinum application, Platinum Net Surfer, goes public by December 1st.
Sources & further reading
Primary material behind the discussion and useful places to go deeper. The recommendations and worked examples in this article are our synthesis.
Working through a software or game-development problem of your own?
Talk to Winnitude! ↗Explore our tools ↗