{"id":13316198,"url":"https://github.com/ravener/luvel","last_synced_at":"2025-10-29T21:31:48.536Z","repository":{"id":62629667,"uuid":"561194300","full_name":"ravener/luvel","owner":"ravener","description":"A LevelDB wrapper for LuaJIT and Luvit","archived":false,"fork":false,"pushed_at":"2024-02-20T14:40:04.000Z","size":25,"stargazers_count":3,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T05:04:24.853Z","etag":null,"topics":["database","ffi","ffi-bindings","ffi-wrapper","key-value","leveldb","lua","luajit","luajit-bindings","luajit-ffi","luajit-ffi-bindings","luvit"],"latest_commit_sha":null,"homepage":"https://ravener.github.io/luvel","language":"Lua","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/ravener.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":"2022-11-03T06:45:11.000Z","updated_at":"2022-11-14T11:13:53.000Z","dependencies_parsed_at":"2022-11-04T03:16:28.971Z","dependency_job_id":null,"html_url":"https://github.com/ravener/luvel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fluvel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fluvel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fluvel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fluvel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ravener","download_url":"https://codeload.github.com/ravener/luvel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238900122,"owners_count":19549453,"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":["database","ffi","ffi-bindings","ffi-wrapper","key-value","leveldb","lua","luajit","luajit-bindings","luajit-ffi","luajit-ffi-bindings","luvit"],"created_at":"2024-07-29T18:20:37.493Z","updated_at":"2025-10-29T21:31:48.061Z","avatar_url":"https://github.com/ravener.png","language":"Lua","readme":"# Luvel\n`luvel` is a LuaJIT FFI wrapper for [leveldb](https://github.com/google/leveldb)\n\n## Install\nluvel only runs on LuaJIT and Luvit.\n\nIf you are using LuaJIT just copy the `luvel.lua` file into your project.\n\nIf you are using luvit then you may install the lit package:\n\n```sh\n$ lit install ravener/luvel\n```\n\n## Usage\n\n```lua\nlocal luvel = require(\"luvel\")\nlocal db = luvel.open(\"database\", { createIfMissing = true })\n\n-- Putting keys\ndb:put(\"key\", \"value\")\ndb:put(\"another\", \"two\")\n\n-- Getting keys\nprint(db:get(\"key\"))\n\n-- Iterators\nfor k, v in pairs(db) do\n  print(k, v)\nend\n\n-- Close the database.\ndb:close()\n```\n\nSee also the full [documentation](https://ravener.github.io/luvel)\n\n## TODO\nThe library is usable, although I'm still cleaning it up and things are bound to change a lot.\n\nHere's a list of things left to do:\n- Snapshots support\n- Support more options\n- More documentation\n- Tests\n\nAnd more, expect it to be stable after a `1.0.0` release. In the meantime sending feedback regarding the design will help a lot.\n\n## License\nReleased under [MIT License](LICENSE)\n\nThe initial code started as a modification of [Codezerker/lua_leveldb](https://github.com/Codezerker/lua_leveldb) but has since evolved into a much higher level wrapper.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravener%2Fluvel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravener%2Fluvel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravener%2Fluvel/lists"}