{"id":15066687,"url":"https://github.com/Kazooki123/LunarDB","last_synced_at":"2025-09-25T21:31:20.669Z","repository":{"id":257051862,"uuid":"857195172","full_name":"TheStarloTeam/LunarDB","owner":"TheStarloTeam","description":"LunarDB is a cache key-value store database made in C++","archived":false,"fork":false,"pushed_at":"2024-09-24T11:37:02.000Z","size":284,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-25T01:10:13.309Z","etag":null,"topics":["cache","cache-storage","cpp","database","key-value-store","lunar","nosql"],"latest_commit_sha":null,"homepage":"https://lunardbdocs.vercel.app/","language":"C++","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/TheStarloTeam.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":"2024-09-14T02:48:04.000Z","updated_at":"2024-09-24T13:38:22.000Z","dependencies_parsed_at":"2024-09-14T15:57:04.264Z","dependency_job_id":"c0ff04f4-ebca-44c7-a6a8-2859c0e57214","html_url":"https://github.com/TheStarloTeam/LunarDB","commit_stats":null,"previous_names":["kazooki123/lunardb","thestarloteam/lunardb"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheStarloTeam%2FLunarDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheStarloTeam%2FLunarDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheStarloTeam%2FLunarDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheStarloTeam%2FLunarDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheStarloTeam","download_url":"https://codeload.github.com/TheStarloTeam/LunarDB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219871408,"owners_count":16554408,"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","cache-storage","cpp","database","key-value-store","lunar","nosql"],"created_at":"2024-09-25T01:10:49.923Z","updated_at":"2025-09-25T21:31:20.664Z","avatar_url":"https://github.com/TheStarloTeam.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\r\n  \u003cimg src=\"lunardblogomain.png\" alt=\"LunarDB\"\u003e\r\n\r\n  \u003ch1\u003e🌑LunarDB: A cache key-value database\u003c/h1\u003e\r\n\r\n  \u003ch3\u003e\u003cb\u003e⚡A Blazingly Fast Cache database written in Rust⚡\u003c/b\u003e\u003c/h3\u003e\r\n\u003c/div\u003e\r\n\r\n## 🔗What is it?\r\n\r\n`NOTE`: The maintainer of this project has rewritten the source codes from C++ to Rust.\r\n\r\nLunarDB is a **multi-model, key-value store, cache, memory based database** that loads keys and values in a file when saved by command.\r\n\r\n## Install\r\n\r\nA Guide to **Installing LunarDB**!\r\n\r\n### Git clone 💽 (Recommended)\r\n\r\nIf you want the full source code of **LunarDB** for yourself then you can run:\r\n\r\n```bash\r\ngit clone https://github.com/Kazooki123/LunarDB.git\r\n```\r\n\r\n### Rust 🦀\r\n\r\nBy using Cargo, simply run:\r\n\r\n```bash\r\ncargo add lunardb\r\n```\r\n\r\n### 💻 CLI\r\n\r\n`NOTE`: If you want to install the `CLI` of LunarDB, you can check the repo in [here](https://github.com/Kazooki123/lunardb-cli)\r\n\r\nFor Rust using Cargo, you can do:\r\n\r\n```bash\r\ncargo install lunardb-cli\r\n```\r\n\r\n## 📖 Documentation\r\n\r\n**💫LunarDB** has a documentation website with a guide for users who are new and learning to use LunarDB!\r\n\r\n**🌐Visit** [here](https://lunardbdocs.vercel.app/docs/)\r\n\r\n## 🔗 Commands\r\n\r\n**🧭 Basic commands:**\r\n\r\nSET key value [ttl] - Set a key-value pair with optional TTL in seconds.\r\n\r\nGET key - Get the value for a key.\r\n\r\nDEL key - Delete a key-value pair.\r\n\r\nMSET key1 value1 key2 value2 ... - Set multiple key-value pairs\r\n\r\nMGET key1 key2 ... - Get multiple values\r\n\r\nKEYS - List all keys\r\n\r\nLUA dofile ('./path/to/your/lua/file.lua')\r\n\r\nHASH SHA256 key - Hashes a key using SHA-256\r\n\r\nHASH MURMUR3 key - Hashes a key using the MURMUR3 encryption method\r\n\r\nHASH ROTATE input shift - Rotates a hash base on the amount of shifts\r\n\r\nCLEAR - Clear all key-value pairs\r\n\r\nSIZE - Get the number of key-value pairs\r\n\r\nCLEANUP - Remove expired entries\r\n\r\nSAVE filename - Save the cache to a file\r\n\r\nLOAD filename - Load the cache from a file\r\n\r\nLPUSH key value - Push an element to the head of the list\r\n\r\nLPOP key - Remove and return an element from the head of the list\r\n\r\nRPUSH key value - Push an element to the tail of the list\r\n\r\nRPOP key - Remove and return an element from the tail of the list\r\n\r\nLRANGE key start stop - Get a range of elements from the list\r\n\r\nLLEN key - Get the length of the list\r\n\r\nQUIT - Exit the program\r\n\r\n### Additional Notes\r\n\r\nFor more commands you can run the **CLI** executable or read our **Documentation Page**.\r\n\r\n## 🫂 Community\r\n\r\n**Join** the LunarDB Community!\r\n\r\n- [Discord](https://discord.gg/KgxNzAZ5)\r\n\r\n## 🤝 CONTRIBUTIONS\r\n\r\nFeel free to contribution as it is open for all developers! Just make sure to follow the [CONTRIBUTION](CONTRIBUTING.md) rules and be respectful.\r\n\r\n## ©️ LICENSE\r\n\r\nLunarDB is under the LICENSE of [MIT](https://github.com/Kazooki123/LunarDB/blob/main/LICENSE)\r\n\r\nAnd the [LunarDB License Agreement (LLA)](https://github.com/Kazooki123/LunarDB/blob/main/LUNARDB_LICENSE.txt)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKazooki123%2FLunarDB","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKazooki123%2FLunarDB","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKazooki123%2FLunarDB/lists"}