{"id":19520331,"url":"https://github.com/henryhale/lowdb","last_synced_at":"2026-05-12T21:33:07.455Z","repository":{"id":229170277,"uuid":"772781650","full_name":"henryhale/lowdb","owner":"henryhale","description":"⚪ A C++ implementation of typicode/lowdb js library","archived":false,"fork":false,"pushed_at":"2024-06-06T06:29:26.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T13:38:49.553Z","etag":null,"topics":["bash","cpp","lowdb"],"latest_commit_sha":null,"homepage":"","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/henryhale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-03-15T22:17:43.000Z","updated_at":"2024-06-06T06:29:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"1024112e-6b09-4f4c-afe3-2f37d67ec9e1","html_url":"https://github.com/henryhale/lowdb","commit_stats":null,"previous_names":["henryhale/lowdb"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henryhale%2Flowdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henryhale%2Flowdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henryhale%2Flowdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henryhale%2Flowdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henryhale","download_url":"https://codeload.github.com/henryhale/lowdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240768250,"owners_count":19854421,"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":["bash","cpp","lowdb"],"created_at":"2024-11-11T00:25:00.661Z","updated_at":"2026-05-12T21:33:02.429Z","avatar_url":"https://github.com/henryhale.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LowDB\n\nLowDB is a lightweight C++ library for simple key-value storage with support for _different_ storage adapters. It provides an easy-to-use interface for storing, retrieving, updating, and removing data. It is a C++ port of [typicode/lowdb](https://github.com/typicode/lowdb) javascript library. \n\n## Features\n\n- Simple key-value storage.\n- Easy-to-use interface for interacting with the data.\n- Supports default and custom-made storage adapters (e.g. in-memory adapter).\n\n## Installation\n\nTo use LowDB in your C++ project, you can either link against the static library or include the source files directly in your project.\n\n### Static Library\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/henryhale/lowdb.git\n   ```\n\n2. Compile the library:\n\n   ```bash\n   cd lowdb/build\n   chmod +x start.sh\n   ./start.sh\n   ```\n\n3. Include the header files located in the `include/lowdb` directory in your project.\n\n4. Link against the static library (`liblowdb.a`) located in the `build` directory.\n\n### Source Files\n\nYou can also include the source files directly in your project. Simply copy the source code files into your project directory and compile them along with your project.\n\n## Usage\n\nA complete example illustrating how to use LowDB can be found in the [example](./example/) sub folder.\n\n```cpp\n#include \"path/to/lowdb.hpp\"\n#include \u003ccstdlib\u003e\n#include \u003ciostream\u003e\n\nint main(void) {\n  lowdb::Store db = lowdb::createInMemoryDatabase();\n\n  db.set(\"key\", \"value\");\n\n  std::cout \u003c\u003c db.get(\"key\") \u003c\u003c std::endl;\n\n  return EXIT_SUCCESS;\n}\n```\n\n## Contributing\n\nContributions to LowDB are welcome! To contribute, follow these steps:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/your-feature`).\n3. Make your changes.\n4. Commit your changes (`git commit -am 'Add new feature'`).\n5. Push to the branch (`git push origin feature/your-feature`).\n6. Create a new pull request.\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE.md)\n\nCopyright © 2024-present, [Henry Hale](https://github.com/henryhale)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenryhale%2Flowdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenryhale%2Flowdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenryhale%2Flowdb/lists"}