{"id":42924483,"url":"https://github.com/veer66/cl-rocksdb","last_synced_at":"2026-01-30T18:06:24.543Z","repository":{"id":139395305,"uuid":"339476957","full_name":"veer66/cl-rocksdb","owner":"veer66","description":"RocksDB binding for Common Lisp","archived":false,"fork":false,"pushed_at":"2024-05-02T07:17:07.000Z","size":63,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-03T07:13:55.659Z","etag":null,"topics":["commonlisp","database","rocksdb"],"latest_commit_sha":null,"homepage":"","language":"Common Lisp","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/veer66.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}},"created_at":"2021-02-16T17:30:22.000Z","updated_at":"2024-05-02T07:17:10.000Z","dependencies_parsed_at":"2024-02-12T09:11:48.177Z","dependency_job_id":"0ad63897-f4fa-4029-839d-f013261de8e5","html_url":"https://github.com/veer66/cl-rocksdb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/veer66/cl-rocksdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veer66%2Fcl-rocksdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veer66%2Fcl-rocksdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veer66%2Fcl-rocksdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veer66%2Fcl-rocksdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veer66","download_url":"https://codeload.github.com/veer66/cl-rocksdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veer66%2Fcl-rocksdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28917033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["commonlisp","database","rocksdb"],"created_at":"2026-01-30T18:06:24.396Z","updated_at":"2026-01-30T18:06:24.532Z","avatar_url":"https://github.com/veer66.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cl-rocksdb\n\nRocksDB binding for Common Lisp\n\n## Example\n\n```Lisp\n(let ((opt (create-options)))\n    (set-create-if-missing opt t)\n    (with-open-db (db \"/tmp/rock-loop\" opt)\n      (put-kv-str db \"A1\" \"B1\")\n      (put-kv-str db \"C\" \"D\")\n      (cancel-all-background-work db t)\n      (with-iter (iter db)\n\t(move-iter-to-first iter)\n\t(let ((lst nil))\n\t  (loop while (valid-iter-p iter)\n\t\tdo\n\t\t   (print (iter-value-str iter))\n\t\t   (move-iter-forward iter))))))\n```\n\n```Lisp\n(with-open-db (db \"existing-db.rocks\")\n    (with-iter (i db)\n      (move-iter-to-first i)\n      (loop while (valid-iter-p i)\n\t    for v = (let ((v (iter-value-str i)))\n\t\t      (move-iter-forward i)\n\t\t      v)\n\t    do\n\t       (princ v)\n\t       (terpri))))\n```\n\n## Open as read-only db example\n\n```\nCL-USER\u003e (ql:quickload \"cl-rocksdb\" :silent t)\n(\"cl-rocksdb\")\nCL-USER\u003e (make-package :ex-read-only :use '(cl cl-rocksdb))\n#\u003cPACKAGE \"EX-READ-ONLY\"\u003e\nCL-USER\u003e (in-package :ex-read-only)\n#\u003cPACKAGE \"EX-READ-ONLY\"\u003e\nEX-READ-ONLY\u003e (defparameter *opt* (create-options))\n*OPT*\nEX-READ-ONLY\u003e (set-create-if-missing *opt* t)\n; No values\nEX-READ-ONLY\u003e (with-open-db (db #P\"/tmp/rock-ex-read-only\" *opt*)\n\t\t(put-kv-str db \"KEY-1\" \"VAL-1\"))\nNIL\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;; CANNOT PUT TO READ ONLY DB ;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\nEX-READ-ONLY\u003e (with-open-db (db #P\"/tmp/rock-ex-read-only\" nil :read-only t)\n\t\t(put-kv-str db \"KEY-2\" \"VAL-2\"))\n\n\"Not implemented: Not supported operation in read only mode.\" \n; Debugger entered on #\u003cCL-ROCKSDB::UNABLE-TO-PUT-KEY-VALUE-TO-DB Not implemented: Not supported operation in read only mode.\n; KEY:#(75 69 89 45 50)\n; VAL:#(86 65 76 45 50)\n;  {105E731FE3}\u003e\n[1] EX-READ-ONLY\u003e \n; Evaluation aborted on #\u003cCL-ROCKSDB::UNABLE-TO-PUT-KEY-VALUE-TO-DB Not implemented: Not supported operation in read only mode.\n; KEY:#(75 69 89 45 50)\n; VAL:#(86 65 76 45 50)\n;  {105E731FE3}\u003e\nEX-READ-ONLY\u003e (with-open-db (db #P\"/tmp/rock-ex-read-only\" nil :read-only t)\n\t\t(get-kv-str db \"KEY-1\"))\n\"VAL-1\"\n```\n\n## Example applications\n\n* DuHin - yet another RocksDB browser [codeberg.org/veer66/duhin](https://codeberg.org/veer66/duhin)\n\n## Status\n\nAlpha\n\n## License\n\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveer66%2Fcl-rocksdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveer66%2Fcl-rocksdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveer66%2Fcl-rocksdb/lists"}