Stringy!

The worlds best microstorage service! Only $32.77 for a whole MB! The future is now!



What is this?

Stringy! is a microservice that provides users with a way to store strings on the cloud for public retrieval.
The main motivation was for allowing people to set custom status flags through JSON (or whatever) and let their friends see those statuses.
An example is setting a status like {"isInVrChat": true} as JSON that people could query to see if their friends are in VRChat.
But this is a generic "microstorage" service, so you can store whatever you want into this arbitrary string.

... And early adopters get a free 128 byte string for a year!

How do I use it?

The API is simple, you use a standard GET request to retrieve the string, you use a PUT request combined with an authentication token to set the string.
The URL for the API looks something like this: http://stringy.kh-labs.org/string.php/4642
For the GET you can use HTTP or HTTPS, but for the PUT you have to use HTTPS because you don't want people to get your auth token.
You can even read/write these strings from JS AJAX functions and you won't get any of that pesky CORS error stuff.

cURL Examples

Reading can be done as simply as curl 'http://stringy.kh-labs.org/string.php/4642'
Writing can be done as simply as curl -X PUT -H 'stringy-auth: eyJ0eX.eyJ1c2Vy.qzSOPS' -d 'Hello world!' 'https://stringy.kh-labs.org/string.php/4642' (it has to be HTTPS)
The stringy-auth header holds the auth token that you can get in the My Strings page.
Also keep in mind that cURL doesn't accept null characters in the data, but null characters can be saved in strings using other tools.

Also this service is currently free, please don't DDOS my server or overload my database, keep your GETs and PUTs to less than once every 30 seconds.

Is it free?

For now... 😈
... or until I figure out how microtransactions work in the real world 😅