HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tiemster

no profile record

Submissions

[untitled]

1 points·by tiemster·hace 7 meses·0 comments

[untitled]

1 points·by tiemster·hace 8 meses·0 comments

[untitled]

1 points·by tiemster·hace 8 meses·0 comments

Roast My Minimalist Webpage

timokats.xyz
2 points·by tiemster·hace 9 meses·2 comments

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

timokats.xyz
3 points·by tiemster·hace 9 meses·2 comments

Show HN: API for CRUD-ing JSON data

github.com
4 points·by tiemster·hace 10 meses·4 comments

comments

tiemster
·hace 2 meses·discuss
Useful with the new Grafana RSS widget, which often breaks due to CORS restrictions, nice.
tiemster
·hace 6 meses·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
·hace 7 meses·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
·hace 8 meses·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
·hace 8 meses·discuss
thank you!
tiemster
·hace 9 meses·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
·hace 10 meses·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.