{"id":20568926,"url":"https://github.com/neelr/gojson","last_synced_at":"2025-10-29T01:37:44.022Z","repository":{"id":55892678,"uuid":"256593456","full_name":"neelr/goJSON","owner":"neelr","description":"A simple, lightning fast, instant database in Golang","archived":false,"fork":false,"pushed_at":"2022-07-19T07:36:40.000Z","size":194,"stargazers_count":40,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T16:17:12.833Z","etag":null,"topics":["api","database","golang","json"],"latest_commit_sha":null,"homepage":"https://db.neelr.dev/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neelr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-17T19:37:39.000Z","updated_at":"2024-01-23T07:44:47.000Z","dependencies_parsed_at":"2022-08-15T08:50:24.185Z","dependency_job_id":null,"html_url":"https://github.com/neelr/goJSON","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neelr/goJSON","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelr%2FgoJSON","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelr%2FgoJSON/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelr%2FgoJSON/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelr%2FgoJSON/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neelr","download_url":"https://codeload.github.com/neelr/goJSON/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelr%2FgoJSON/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279074976,"owners_count":26097756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","database","golang","json"],"created_at":"2024-11-16T04:55:22.513Z","updated_at":"2025-10-15T10:51:52.136Z","avatar_url":"https://github.com/neelr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goJSON\n\n[![Run on Repl.it](https://repl.it/badge/github/neelr/gojson)](https://repl.it/github/neelr/gojson)\n\n\u003cimg src=\"https://gojson.hacker22.repl.co/gojson.png\" width=\"100\"/\u003e\n\nA simple and lightning fast database written in Golang!\n\nThis api is meant for small projects that just need a fast database, and dont want to mess around with tokens and setting one up yourself! Just copy the link, and use the API methods to store and retrieve any JSON you need!\n\nOpen Source and accepting contributors!\n\n## API\n\n**UPDATE**: To check the magnitude of requests, I made an open source log for the API. Check at https://db.neelr.dev/logs. It only tracks the number of requests, not IP's or anything else.\n\nUse the UI to take a look at your token's database: https://dash.db.neelr.dev\n\nYour very own database API endpoint is `/api/:key`\n\n### Add/Update Data\n\n**POST** or **PUT** `/api/f0e4408dc81b90365ed5b11112ff2575`!\n\nAlso you can update inner objects using keys!\n\nex. POST `/api/f0e4408dc81b90365ed5b11112ff2575/hello/hi`\n\n```json\n{\n\t\"go\": true\n}\n```\n\nwill update it to create a JSON\n\n```json\n{\n\t\"hello\": {\n\t\t\"hi\": {\n\t\t\t\"go\": true\n\t\t}\n\t}\n}\n```\n\n**IMPORTANT UPDATE:**  \nTake note that **PUT** method only updates, and does not delete any keys in the database when writing, while **POST** overwrites any existing keys in the same directory. For the example above both work, but instead, if there were other values at /hello/hi **POST** would overwite all of them with `go:true`\n\n### View Data\n\n**GET** `/api/f0e4408dc81b90365ed5b11112ff2575` or navigate through the keys with `/api/f0e4408dc81b90365ed5b11112ff2575/hello` would return\n\n```json\n{\n\t\"hi\": {\n\t\t\"go\": true\n\t}\n}\n```\n\n### Delete Data\n\n**DELETE** `/api/f0e4408dc81b90365ed5b11112ff2575` and you can delete using the same key navigation given above!\n\n## Building and Running\n\n1. Install Golang on your computer\n\n2. Run `git clone https://github.com/neelr/gojson`\n\n3. Create an empty `database` folder\n\n4. Go into the directory and run `go run .`!\n\n## Contribution\n\nAny type of feedback, pull request or issue is welcome.\n\n**MIT LICENSE**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneelr%2Fgojson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneelr%2Fgojson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneelr%2Fgojson/lists"}