{"id":13409123,"url":"https://github.com/apache/couchdb-erlfdb","last_synced_at":"2025-10-19T13:30:40.268Z","repository":{"id":44769546,"uuid":"252164142","full_name":"apache/couchdb-erlfdb","owner":"apache","description":"Erlang API for FoundationDB","archived":false,"fork":false,"pushed_at":"2024-04-12T06:26:30.000Z","size":242,"stargazers_count":30,"open_issues_count":6,"forks_count":18,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-01-30T10:11:14.768Z","etag":null,"topics":["couchdb","erlang","foundationdb"],"latest_commit_sha":null,"homepage":"https://www.foundationdb.org","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.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":"2020-04-01T12:08:38.000Z","updated_at":"2024-11-12T22:16:17.000Z","dependencies_parsed_at":"2024-09-30T01:21:11.507Z","dependency_job_id":"2ef71b0c-fbb2-47c6-a9d4-a3f9a6d4ddec","html_url":"https://github.com/apache/couchdb-erlfdb","commit_stats":{"total_commits":133,"total_committers":9,"mean_commits":"14.777777777777779","dds":0.4736842105263158,"last_synced_commit":"1f9375257ff64c41a2bbf6d19baa734e619f57cf"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcouchdb-erlfdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcouchdb-erlfdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcouchdb-erlfdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcouchdb-erlfdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/couchdb-erlfdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237133464,"owners_count":19260490,"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":["couchdb","erlang","foundationdb"],"created_at":"2024-07-30T20:00:58.150Z","updated_at":"2025-10-19T13:30:34.967Z","avatar_url":"https://github.com/apache.png","language":"Erlang","funding_links":[],"categories":["Bindings"],"sub_categories":[],"readme":"An Erlang Binding to FoundationDB\n===\n\n[![CI](https://github.com/apache/couchdb-erlfdb/actions/workflows/ci.yml/badge.svg)](https://github.com/apache/couchdb-erlfdb/actions/workflows/ci.yml)[![Coverage](https://coveralls.io/repos/github/apache/couchdb-erlfdb/badge.svg?branch=main)](https://coveralls.io/github/apache/couchdb-erlfdb?branch=main)\n\nThis project is a NIF wrapper for the FoundationDB C API. Documentation on\nthe main API can be found [here][fdb_docs].\n\nThis project also provides a conforming implementation of the [Tuple] and\n[Directory] layers.\n\n[fdb_docs]: https://apple.github.io/foundationdb/api-c.html\n[Tuple]: https://github.com/apple/foundationdb/blob/master/design/tuple.md\n[Directory]: https://apple.github.io/foundationdb/developer-guide.html#directories\n\n\nBuilding\n---\n\nAssuming you have installed the FoundationDB C API library, building erlfdb\nis as simple as:\n\n    $ make\n\nAlternatively, adding erlfdb as a rebar dependency should Just Work ®.\n\n\nDocumentation for installing FoundationDB can be found [here for macOS]\nor [here for Linux].\n\n[here for macOS]: https://apple.github.io/foundationdb/getting-started-mac.html\n[here for Linux]: https://apple.github.io/foundationdb/getting-started-linux.html\n\n\nQuick Example\n---\n\nA simple example showing how to open a database and read and write keys:\n\n```erlang\n\nEshell V9.3.3.6  (abort with ^G)\n1\u003e Db = erlfdb:open(\u003c\u003c\"/usr/local/etc/foundationdb/fdb.cluster\"\u003e\u003e).\n{erlfdb_database,#Ref\u003c0.2859661758.3941466120.85406\u003e}\n2\u003e ok = erlfdb:set(Db, \u003c\u003c\"foo\"\u003e\u003e, \u003c\u003c\"bar\"\u003e\u003e).\nok\n3\u003e erlfdb:get(Db, \u003c\u003c\"foo\"\u003e\u003e).\n\u003c\u003c\"bar\"\u003e\u003e\n4\u003e erlfdb:get(Db, \u003c\u003c\"bar\"\u003e\u003e).\nnot_found\n```\n\nBinding Tester\n---\n\nFoundationDB has a custom binding tester that can be used to test whether\nchanges have broken compatibility. See the [BINDING_TESTER](BINDING_TESTER.md)\ndocumentation for instructions on building and running that system.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcouchdb-erlfdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fcouchdb-erlfdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcouchdb-erlfdb/lists"}