Basically a https://jsonbin.io clone?
Sounds like it, though as the author of jsonbin is in this thread points out, this one is open source: https://news.ycombinator.com/item?id=16765885
Jsonstore.io – Store your data for free without signing up
41–50 of 55 posts
Re: Jsonstore.io – Store your data for free without signing up
#42Earlier quoted context omitted.
I believe your question is equivalent to the question of solving the tragedy of the commons, which suggests it's indeed a tricky problem. As a strawman proposal, we could take some of Elinor Ostrom's suggestions for a non-governmental solution ( https://en.wikipedia.org/wiki/Tragedy_of_the_commons#Non-gov... ) and apply them: 1. Introduce the concept of an API key to allow users to voluntarily segregate the traffic i…
I built essentially what you describe a while back (jsondata.io if you're interested, though the certificate has expired and I've turned off the actual service for now). The idea was to make an infinitely scalable (within reason) solution that works well as a pastebin-style, no-setup-required data store for hacking on projects, but also as something that can scale with the needs of a business. The architecture is bui…
If the service API were fully standardized, and users paid for their own database, and signing up for a new website meant that the user granted controlled DB access to the site, then that might be enough impetus for developers to use a provider of the service. Maybe it could follow a Dropbox model where the first N bytes/month are free per user, and service providers pay affiliate fees to sites that recruit lots of paying users.
See also Attic Labs (https://techcrunch.com/2018/01/08/salesforce-acquires-attic-...).
Re: Jsonstore.io – Store your data for free without signing up
#43Hashing a value from Math.random() with a cryptographic hash (i.e. SHA256) doesn't make it cryptographically random[1]. If you want a random string get one directly via crypto.randomBytes(...)[2]: const id = crypto.randomBytes(32).toString('hex'); [1]: https://github.com/bluzi/jsonstore/blob/87af0d3ef6bf11222b98... [2]: https://nodejs.org/api/crypto.html#crypto_crypto_randombytes...
Why not use uuids?
Re: Jsonstore.io – Store your data for free without signing up
#44Hashing a value from Math.random() with a cryptographic hash (i.e. SHA256) doesn't make it cryptographically random[1]. If you want a random string get one directly via crypto.randomBytes(...)[2]: const id = crypto.randomBytes(32).toString('hex'); [1]: https://github.com/bluzi/jsonstore/blob/87af0d3ef6bf11222b98... [2]: https://nodejs.org/api/crypto.html#crypto_crypto_randombytes...
Why not use uuids?
If you're generating v4 UUIDs server side using the "uuid" NPM module then you're fine as internally it's using crypto.randomBytes(...)[1] with an almost 16-byte random string (UUIDs are 16-bytes but a proper v4 UUID has to override some of the bits to conform to the spec[2]).
If you're rolling your own UUID function or generating them client side then they may not be as random as you think. For example the same uuid NPM module silently uses Math.random()[3] on the client side if it can't find a better alternative. It's fine for something purely local to the one browser but I wouldn't rely on it being unique globally.
[1]: https://github.com/kelektiv/node-uuid/blob/17d443f7d8cfb65a7...
[2]: https://github.com/kelektiv/node-uuid/blob/17d443f7d8cfb65a7...
[3]: https://github.com/kelektiv/node-uuid/blob/17d443f7d8cfb65a7...
Re: Jsonstore.io – Store your data for free without signing up
#45Earlier quoted context omitted.
Not at all, it has nothing to do with Forter. It's my own personal project.
I hope you've learned a lesson about creating things that may help people on the modern, legislated internet. Next time, be prepared to handle all complaints first or stop providing services to people and let the bigger companies do it that can absorb the administrative costs that come with worldwide legal conformance.
Re: Jsonstore.io – Store your data for free without signing up
#46Just a word of warning: "We have discontinued the publicly hosted version of RequestBin due to ongoing abuse that made it very difficult to keep the site up reliably."
Re: Jsonstore.io – Store your data for free without signing up
#47Re: Jsonstore.io – Store your data for free without signing up
#48Re: Jsonstore.io – Store your data for free without signing up
#49what is the backend / infrastructure like ? is it just Mongodb?