{"id":21734293,"url":"https://github.com/shaunlwm/jsonbin","last_synced_at":"2026-04-17T17:31:44.080Z","repository":{"id":52359728,"uuid":"211239249","full_name":"ShaunLWM/jsonbin","owner":"ShaunLWM","description":"🗑️ A small deployable Redis-backed JSON bin for mini projects.","archived":false,"fork":false,"pushed_at":"2022-12-11T07:33:17.000Z","size":60,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T00:17:51.785Z","etag":null,"topics":["json","json-api","json-data","redis","redis-database"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ShaunLWM.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":"2019-09-27T04:58:31.000Z","updated_at":"2023-03-09T03:42:50.000Z","dependencies_parsed_at":"2023-01-26T18:15:22.151Z","dependency_job_id":null,"html_url":"https://github.com/ShaunLWM/jsonbin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ShaunLWM/jsonbin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Fjsonbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Fjsonbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Fjsonbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Fjsonbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShaunLWM","download_url":"https://codeload.github.com/ShaunLWM/jsonbin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Fjsonbin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31938642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["json","json-api","json-data","redis","redis-database"],"created_at":"2024-11-26T05:08:39.456Z","updated_at":"2026-04-17T17:31:44.061Z","avatar_url":"https://github.com/ShaunLWM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsonbin\n\u003cimg src=\"https://img.shields.io/github/package-json/v/ShaunLWM/jsonbin\"/\u003e \u003cimg src=\"https://img.shields.io/github/license/ShaunLWM/jsonbin\"/\u003e \u003cimg src=\"https://img.shields.io/github/commit-activity/m/ShaunLWM/jsonbin\"/\u003e\n\nA simple deployable Redis-backed JSON bin for your mini projects.\n\n## Requirements\n- redis\n- node v8 and above\n\n## Installation\n```\ngit clone https://github.com/ShaunLWM/jsonbin\ncd jsonbin\nnode index.js\n```\n\n## Configurations\nconfig.js\n```\nserverPort: int         // port to run server on (default: 5000)\nredisExtension: str     // preceeding text to uniquely identify jsonbin keys (default: bin_)\ncollectionLength: str   // maximum string length for collection name (default: 20)\ndataPerPage: int        // maximum number of data per page for pagination (default: 20)\nmainExplanation: strs   // array of strings explaining api methods\n```\n\n## API Calls\nGenerating your personal bin\n```\nGET /genid\n\nReturns your own personal bin token to use. This shall be referred to as bin_id from now on.\n```\n\n### Adding Data\n```\nPOST /bin_id[/collection_name]\nHEADER application/json\nDATA json_formatted string\n\nAdd your json formatted data into your bin.\ncollection_name is optional if you want to add data into its own personal collection\n\nExample:\n/bin_id/students\n/bin_id/company\n```\n\n### Retreiving Data\n```\nGET /bin_id[/collection_name][?q=?][?sort=?][?page=?\u0026limit=?][?all=1]\n\nRetrieve your data from bin\nIf collection_name is given, retrieve data from specific collection\n--\nif q parameter is given, parse them according to given parameter value\nExample: ?q=name:Time,score:\u003e35,age:=30,verified:true\nRetrieve data where name is Tim, score more than 35, age is 30 \u0026 verified is true\nNumber operators: \u003e, \u003c, \u003e=, \u003c=\nString operators: str* (start with str), *str (end with str), *str* (has str anywhere inbetween)\nBoolean operatos: true, false\n--\nIf sort parameter is given, sort them according to ascending [?sort=age] or descending order [?sort=-age]\nIf page and limit parameters are given, return values based on pagination (default: page 1, limit 20 rows)\nIf all parameter is given, return all data ignoring page and limit parameters\n```\n\n### Deleting Data\n```\nDELETE /bin_id[/id][/collection_name][?q=?]\n\nDelete full bin data if id and collection name is not given.\nDelete id only if id is given\nDelete all data from collection is collection is given \nIf q is given, it will delete data based on filtering system according to how Retrieving Data works.\n```\n\n### Updating Data\n```\nPUT /bin_id/id\nHEADER application/json\nDATA json_formatted string\n\nUpdate data based on given id\nNote: Partial updating is not yet supported. This will do a full update and replacement.\n```\n\n## Credits\n- [vasanthv/jsonbox](https://github.com/vasanthv/jsonbox)\n\n## License\nMIT (2019) Shaun","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaunlwm%2Fjsonbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaunlwm%2Fjsonbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaunlwm%2Fjsonbin/lists"}