Our great sponsors
-
Have you tried compressing your JSON before base64 encoding it.
https://github.com/KilledByAPixel/JSONCrush
Agreed with GP, it seems like you don't even need a backend.
-
Rent a $5 cloud server, copy main.py, app.py and db.py from here (https://github.com/void4/lazyweb/blob/main/main.py) and use json.dumps/loads(data) to (de)serialize the JSON data into a text field
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
lambda + s3. add ec2 spot if you need it.
just make sure you understand how billing works. mostly it’s just egress bandwidth is expensive.
do something like this:
https://github.com/nathants/aws-gocljs
or with less opinions:
https://github.com/nathants/libaws/tree/master/examples/simp...
welcome to cloud, glhf!
-
lambda + s3. add ec2 spot if you need it.
just make sure you understand how billing works. mostly it’s just egress bandwidth is expensive.
do something like this:
https://github.com/nathants/aws-gocljs
or with less opinions:
https://github.com/nathants/libaws/tree/master/examples/simp...
welcome to cloud, glhf!
-
I think you know best what you want to build yourself. :-)
If you separate the abstract interface for sending/receiving game states and its implementation, you can rely on an external service like hushfile to get started, and then switch to running a similar service yourself afterwards. Saves you from having to deploy and maintain the server initially.
Running a VPS wouldn't cost more than $5/mo.
Since nobody mentioned it, you may want to consider:
It is a service specifically for managing JSON game state.
But it comes with its own ideas, so your mileage may vary.
-
this is an example: https://github.com/topaz/paste
in the big brain bucket, you could generate the url and use and url shortener