{"id":19571600,"url":"https://github.com/block-core/blockcore-rocksdb","last_synced_at":"2026-05-15T06:32:30.125Z","repository":{"id":51169815,"uuid":"369245668","full_name":"block-core/blockcore-rocksdb","owner":"block-core","description":".NET bindings for the RocksDB by Facebook","archived":false,"fork":false,"pushed_at":"2022-01-04T14:10:29.000Z","size":146,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-13T23:52:28.744Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/block-core.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":"2021-05-20T14:58:01.000Z","updated_at":"2022-11-03T13:33:28.000Z","dependencies_parsed_at":"2022-09-16T19:50:20.350Z","dependency_job_id":null,"html_url":"https://github.com/block-core/blockcore-rocksdb","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-rocksdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-rocksdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-rocksdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-rocksdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/block-core","download_url":"https://codeload.github.com/block-core/blockcore-rocksdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240441940,"owners_count":19801793,"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":[],"created_at":"2024-11-11T06:19:25.841Z","updated_at":"2026-05-15T06:32:30.097Z","avatar_url":"https://github.com/block-core.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/5221349/72841405-93c2ce80-3c96-11ea-844b-3e1ff782b1ae.png\" height=\"100\" alt=\"Blockcore\" /\u003e\n  \u003c/p\u003e\n  \u003ch3 align=\"center\"\u003e\n    About Blockcore RocksDB\n  \u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n    .NET API for RocksDB\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n      \u003ca href=\"https://github.com/block-core/blockcore-rocksdb/actions/workflows/build.yaml\"\u003e\u003cimg src=\"https://github.com/block-core/blockcore-rocksdb/actions/workflows/build.yaml/badge.svg\" /\u003e\u003c/a\u003e\n      \u003ca href=\"https://github.com/block-core/blockcore-rocksdb/actions/workflows/release.yaml\"\u003e\u003cimg src=\"https://github.com/block-core/blockcore-rocksdb/actions/workflows/release.yaml/badge.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.nuget.org/packages/Blockcore.RocksDB/\"\u003e\u003cimg src=\"https://img.shields.io/nuget/v/Blockcore.RocksDB.svg?maxAge=0\u0026colorB=brightgreen\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\nRocksDB for .NET\n----------------------------\n\nRocksDB is a key-value database with a log-structured-merge design, optimized for flash and RAM storage,\nwhich can be tuned to balance write-, read-, and space-amplification factors.\n\nRocksDB is developed by Facebook and is based on LevelDB.\nFor more information about RocksDB, visit [RocksDB](http://rocksdb.org/) and on [GitHub](https://github.com/facebook/rocksdb).\n\nThis library provides C# bindings for RocksDB, implemented as a wrapper for the [native RocksDB libraries](https://github.com/block-core/blockcore-rocksdb-native) (unmanaged C++) via the rocksdb C API.\n\nThis is a multi-level binding, \nproviding direct access to the C API functions (low level) \nplus some helper wrappers on those to aid in marshaling and exception handling (mid level) \nplus an idiomatic C# class hierarchy for ease of use (high level).\n\n### Example (High Level)\n\n```csharp\nvar options = new DbOptions()\n    .SetCreateIfMissing(true);\nusing (var db = RocksDb.Open(options, path))\n{\n    // Using strings below, but can also use byte arrays for both keys and values\n    db.Put(\"key\", \"value\");\n    string value = db.Get(\"key\");\n    db.Remove(\"key\");\n}\n```\n### Usage\n\n#### Using NuGet:\n\n[![Nuget](https://img.shields.io/nuget/v/Blockcore.RocksDB.svg?maxAge=0\u0026colorB=brightgreen)](https://www.nuget.org/packages/Blockcore.RocksDB/) \n\n```\ninstall-package Blockcore.RocksDB\n```\n\nThe version of the NuGet package is set to follow the official RocksDB version, with the last number representing a revision of the .NET API itself. representing the build number on Azure - i.e. [NuGet version 6.27.3.12](https://www.nuget.org/packages/Blockcore.RocksDB/6.27.3.12) corresponds to release [v6.27.3](https://github.com/facebook/rocksdb/releases/tag/v6.27.3)\n\nThis will install the managed library and the correct version of the unmanaged library depending on your operating system. The native 64-bit library is automatically built for each official RocksDB release, for Windows, Linux and MacOS, and is included in the package by default.\n\n## Releases\n\nTo make a new release, edit the \"revision\" file and commit to trigger a build that will produce a new release. Download the release artefact, verify locally, then publish the release, which will automatically publish to NuGet.org.\n\n## Background\n\nThis library is based upon a fork of the original work by [warrenfalk](https://github.com/warrenfalk) and [theolivenbaum](https://github.com/theolivenbaum)\n\nDue to the major modifications to the setup, including adding support for GitHub Workflows and Releases, this repository is based upon a source-copy and not a linked git-fork.\n\nhttps://github.com/warrenfalk/rocksdb-sharp\n\nhttps://github.com/curiosity-ai/rocksdb-sharp\n\n## License\n\n[BSD 2-Clause License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock-core%2Fblockcore-rocksdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblock-core%2Fblockcore-rocksdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock-core%2Fblockcore-rocksdb/lists"}