{"id":18681897,"url":"https://github.com/gravityblast/abramo","last_synced_at":"2025-10-12T20:20:55.190Z","repository":{"id":1006849,"uuid":"824645","full_name":"gravityblast/abramo","owner":"gravityblast","description":"Simple in-memory HTTP document based database made in nodejs","archived":false,"fork":false,"pushed_at":"2010-08-14T14:17:32.000Z","size":124,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-18T16:09:57.545Z","etag":null,"topics":[],"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/gravityblast.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":"2010-08-08T14:06:54.000Z","updated_at":"2022-10-14T11:57:29.000Z","dependencies_parsed_at":"2022-08-16T11:45:30.205Z","dependency_job_id":null,"html_url":"https://github.com/gravityblast/abramo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gravityblast/abramo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fabramo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fabramo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fabramo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fabramo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gravityblast","download_url":"https://codeload.github.com/gravityblast/abramo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fabramo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266761419,"owners_count":23980297,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-11-07T10:10:06.781Z","updated_at":"2025-10-12T20:20:50.148Z","avatar_url":"https://github.com/gravityblast.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ABRAMO\n======\n\nAbramo is a simple RESTful document based database made in [nodejs](http://nodejs.org/).\nIt's inspired by the [CouchDB](http://couchdb.apache.org/) HTTP api, but it's not so advanced and it doesn't implement map/reduce.\nThe entire database is a big hierarchical JSON object.\n\nThe following snippet is a sample of database with 2 documents.\nThe first object is called \"pages\", it has no data, and it has one child called \"first-page\".\n\n    {\n        \"/\": {\n            \"data\": null,\n            \"info\": {\n                \"started_at\": \"2010-08-14T13:06:47.987Z\"\n            },\n            \"children\": {\n                \"pages\": {\n                    \"data\": null,\n                    \"children\": {\n                        \"first-page\": {\n                            \"data\": {\n                                \"title\": \"First Page\",\n                                \"body\": \"hello world\"\n                            },\n                            \"children\": {},\n                            \"info\": {\n                                \"path\": \"/pages/first-page\",\n                                \"last_update_at\": \"2010-08-14T13:07:53.754Z\"\n                            }\n                        }\n                    },\n                    \"info\": {\n                        \"path\": \"/pages\",\n                        \"last_update_at\": \"2010-08-14T13:07:53.754Z\"\n                    }\n                }\n            }\n        }\n    }\n    \nHere how to create the same database after starting abramo:\n\n    curl http://127.0.0.1:9182/pages/first-page -X PUT -d '{\"title\" : \"First Page\", \"body\" : \"hello world\"}'\n    \nBasically the url is the key, so to get the value of \"/pages/first-page\" you just need to send a HTTP GET request to that url:\n\n    curl http://127.0.0.1:9182/pages/first-page\n\nAnd result will be:\n    \n    {\"data\":{\"title\":\"First Page\",\"body\":\"hello world\"},\"info\":{\"path\":\"/pages/first-page\",\"last_update_at\":\"2010-08-14T13:07:53.754Z\"},\"status\":200}\n\nYou can also use the include_children parameter to get the document with all its children.\n\n    curl http://127.0.0.1:9182/pages?include_children=true\n    \nThe result will be:\n\n    {\"data\":null,\"info\":{\"path\":\"/pages\",\"last_update_at\":\"2010-08-14T13:07:53.754Z\"},\"children\":{\"first-page\":{\"data\":{\"title\":\"First Page\",\"body\":\"hello world\"},\"children\":{},\"info\":{\"path\":\"/pages/first-page\",\"last_update_at\":\"2010-08-14T13:07:53.754Z\"}}},\"status\":200}\n    \nIf you want to delete that document you can simply use an HTTP DELETE request:\n\n    curl http://127.0.0.1:9182/pages/first-page -X DELETE\n  \nOnly GET, PUT and DELETE methods are allowed, the HTTP POST request is not implemented.\n\nSAVING DATABASE ON FILE\n-----------------------\n\nIf you want you can save the JSON database in a file calling the following url:\n\n    curl http://127.0.0.1/_/dump\n    \nYou can specify the file path in the configuration file with the key **dump_file**.\n\nAbramo will try to load that file if it exists the next time you'll start the server.\n\nGETTING STARTED\n------------\n\n* Install [nodejs](http://nodejs.org/)\n* Download Abramo\n\nMake a copy of the example configuration file that you can find under the config folder, and then start the server:\n\n    /path/to/abramo/bin/abramo /path/to/config/file/abramo-config.json\n  \nEnjoy","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgravityblast%2Fabramo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgravityblast%2Fabramo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgravityblast%2Fabramo/lists"}