HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tiemster

no profile record

Submissions

[untitled]

1 points·by tiemster·7 maanden geleden·0 comments

[untitled]

1 points·by tiemster·8 maanden geleden·0 comments

[untitled]

1 points·by tiemster·8 maanden geleden·0 comments

Roast My Minimalist Webpage

timokats.xyz
2 points·by tiemster·9 maanden geleden·2 comments

Show HN: Self-hosted API for CRUD-ing JSON data

timokats.xyz
3 points·by tiemster·9 maanden geleden·2 comments

Show HN: API for CRUD-ing JSON data

github.com
4 points·by tiemster·10 maanden geleden·4 comments

comments

tiemster
·2 maanden geleden·discuss
Useful with the new Grafana RSS widget, which often breaks due to CORS restrictions, nice.
tiemster
·6 maanden geleden·discuss
Also emmer (which is perhaps too niche to get mentioned in an article like this), which I focuses more on being a quick/flexible 'data scratchpad', rather than just scale.

https://hub.docker.com/r/tiemster/emmer
tiemster
·7 maanden geleden·discuss
Hi all. As you may or may not know, Emmer is a self-hosted API for CRUD-ing JSON data on different filesystems (local, S3, azure blob, ...). Written in GO.

I recently added the S3 connector. Meaning, through a generic API you can CRUD json files in S3. Happy coding!
tiemster
·8 maanden geleden·discuss
Created a self-hosted API for CRUD-ing JSON data using GO. Helps me with quick/flexible data storage tasks that can easily interface with different programs.

The API is based on the JSON structure. So the example below is for CRUD-ing [key1][key2] in file.json. The value (which can be anything) is then added to the body of the request. Moreover, there are helper functions for appending and incrementing values.

  DELETE/PUT/GET: localhost:8080/api/file/key1/key2/...
tiemster
·8 maanden geleden·discuss
thank you!
tiemster
·9 maanden geleden·discuss
Yes! And you can use "append" mode for use cases like these also. Then the value will be added as a list object. So:

  {users: [{"username": "tom"}, {"username": "tim"}]}
tiemster
·10 maanden geleden·discuss
thanks! That's the exact reason I made this. Just install and go. Most database software is built for a level of scale my personal projects never reach anyways, but I do get stuck with the complexity and configuration.