{"id":20874658,"url":"https://github.com/neomutt/test-store","last_synced_at":"2025-08-10T04:36:08.972Z","repository":{"id":208146766,"uuid":"720918432","full_name":"neomutt/test-store","owner":"neomutt","description":"Test tools for key/value stores","archived":false,"fork":false,"pushed_at":"2023-11-27T13:13:37.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-12T16:15:08.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neomutt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-11-20T00:56:20.000Z","updated_at":"2023-11-20T00:58:15.000Z","dependencies_parsed_at":"2023-11-20T02:29:02.186Z","dependency_job_id":"5fc93a4b-104b-4646-9324-1ec95f6b725b","html_url":"https://github.com/neomutt/test-store","commit_stats":null,"previous_names":["neomutt/test-store"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neomutt","download_url":"https://codeload.github.com/neomutt/test-store/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-store/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259137620,"owners_count":22810747,"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-18T06:35:31.798Z","updated_at":"2025-06-10T19:39:41.715Z","avatar_url":"https://github.com/neomutt.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test Tools for Key/Value Stores\n\nNeoMutt uses a key/value store, e.g. lmdb, as a cache for email headers.\n\nThis repo contains some test tools to work with these stores.\n\n## lmdb-dump.c\n\nDump the contents of an LMDB store.\n\n**build**:\n```sh\ngcc lmdb-dump.c -o lmdb-dump -llmdb\n```\n\n**run**:\n```sh\n./lmdb-dump store-file\n```\n\n**output**:\n```\nOpening store-file\nkey: /home/flatcap/mail/1679930513.M731552P185191.flatcap.org,S=5071,W=5169\n\tdata length: 999\nkey: /home/flatcap/mail/1679932108.M761797P185751.flatcap.org,S=5055,W=5153\n\tdata length: 1008\n...\n54569 records\n```\n\n## lmdb-cull.c\n\nCull a percentage of the contents of an LMDB store.\n\n**build**:\n```sh\ngcc lmdb-cull.c -o lmdb-cull -llmdb\n```\n\n**run**:\n```sh\n# Delete a random 30% of the records\n./lmdb-cull store-file 30\n```\n\n**output**:\n```\nOpening store-file\nCulling 30%\n54569 records\n16321 culled\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneomutt%2Ftest-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneomutt%2Ftest-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneomutt%2Ftest-store/lists"}