{"id":15690919,"url":"https://github.com/nikhilcodes/amnesiadb","last_synced_at":"2025-05-08T00:32:22.686Z","repository":{"id":138557612,"uuid":"405436897","full_name":"NikhilCodes/AmnesiaDB","owner":"NikhilCodes","description":"Multithreaded key value pair store using thread safe locking mechanism allowing concurrent reads","archived":false,"fork":false,"pushed_at":"2023-03-06T16:49:29.000Z","size":134,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-31T15:48:57.452Z","etag":null,"topics":["cache-storage","key-value","key-value-store","keydb","redis-alternate","server-cache"],"latest_commit_sha":null,"homepage":"https://amnesiadb.nikhilcodes.in","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NikhilCodes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-11T17:08:43.000Z","updated_at":"2024-11-05T16:00:31.000Z","dependencies_parsed_at":"2024-03-30T22:15:34.220Z","dependency_job_id":null,"html_url":"https://github.com/NikhilCodes/AmnesiaDB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilCodes%2FAmnesiaDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilCodes%2FAmnesiaDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilCodes%2FAmnesiaDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilCodes%2FAmnesiaDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikhilCodes","download_url":"https://codeload.github.com/NikhilCodes/AmnesiaDB/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252978267,"owners_count":21834898,"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","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":["cache-storage","key-value","key-value-store","keydb","redis-alternate","server-cache"],"created_at":"2024-10-03T18:17:44.264Z","updated_at":"2025-05-08T00:32:22.584Z","avatar_url":"https://github.com/NikhilCodes.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"assets/keystone.png\" alt=\"logo\" height=\"200\" /\u003e\n    \u003ch1 align=\"center\"\u003eProject Amnesia\u003c/h1\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eA Multi-threaded key-value pair store using thread safe locking mechanism allowing concurrent reads.\u003c/p\u003e\n\n## Curious to Try it out??\nCheck out NodeJS client [here](https://github.com/NikhilCodes/amnesia-js).\nShell Client \u0026 Web Client Coming soon\n\n## Documentation\n### 1. Simple Key Value pair\n```bash\nIN:  SET key42 AS something\nOUT: OK\n\nIN:  GET key42\nOUT: something\n\nIN:  SET key42 AS \"multi word\"\nOUT: OK\n\nIN:  GET key42\nOUT: multi word\n```\n\n### 2. Simple Key Value pair But with Expiry\n```bash\nIN:  SET key42 AS something WHERE TTL=30s\nOUT: OK\n\nIN:  GET key42\nOUT: something\n\n# After 30 seconds\n\nIN:  GET key42\nOUT: \u003cNIL\u003e\n```\n\n### 3. ...With Limited Number of Read Op\n```bash\nIN:  SET key42 AS something WHERE NFETCH=2\nOUT: OK\n\nIN:  GET key42  # First Read Op\nOUT: something\n\nIN:  GET key42  # Second Read Op Now Deleting\nOUT: something\n\nIN:  GET key42\nOUT: \u003cNIL\u003e\n```\n\n## TODO\n - [x] Implement Thread Safe CHM\n - [x] NodeJs Client\n - [ ] Shell-based client \n - [ ] Web Playground \n - [ ] Multi Tenant\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilcodes%2Famnesiadb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhilcodes%2Famnesiadb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilcodes%2Famnesiadb/lists"}