{"id":15240492,"url":"https://github.com/kazooki123/lunardb","last_synced_at":"2025-07-03T13:33:38.306Z","repository":{"id":257051862,"uuid":"857195172","full_name":"Kazooki123/LunarDB","owner":"Kazooki123","description":"LunarDB is a multi-model database made in Rust","archived":false,"fork":false,"pushed_at":"2025-04-04T12:56:55.000Z","size":61365,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T13:39:32.625Z","etag":null,"topics":["cache","cache-storage","database","key-value-store","multimodal","nosql","rust"],"latest_commit_sha":null,"homepage":"https://lunardbdocs.vercel.app/","language":"Rust","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/Kazooki123.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-14T02:48:04.000Z","updated_at":"2025-04-04T13:17:16.000Z","dependencies_parsed_at":"2024-09-14T15:57:04.264Z","dependency_job_id":"c0ff04f4-ebca-44c7-a6a8-2859c0e57214","html_url":"https://github.com/Kazooki123/LunarDB","commit_stats":{"total_commits":127,"total_committers":4,"mean_commits":31.75,"dds":"0.15748031496062997","last_synced_commit":"c87920b41785c7c80c8a654c2e2683e11d6edb32"},"previous_names":["kazooki123/lunardb","thestarloteam/lunardb"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Kazooki123/LunarDB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazooki123%2FLunarDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazooki123%2FLunarDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazooki123%2FLunarDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazooki123%2FLunarDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kazooki123","download_url":"https://codeload.github.com/Kazooki123/LunarDB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazooki123%2FLunarDB/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263335614,"owners_count":23450892,"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","database","key-value-store","multimodal","nosql","rust"],"created_at":"2024-09-29T11:21:12.921Z","updated_at":"2025-07-03T13:33:38.298Z","avatar_url":"https://github.com/Kazooki123.png","language":"Rust","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"}