{"id":17541775,"url":"https://github.com/toto-dev/wiredtiger-debug-tools","last_synced_at":"2026-04-02T02:46:57.943Z","repository":{"id":246668076,"uuid":"821331269","full_name":"toto-dev/wiredtiger-debug-tools","owner":"toto-dev","description":"Collection of tools to debug and analyze MongoDB WiredTiger files","archived":false,"fork":false,"pushed_at":"2024-07-05T22:09:31.000Z","size":52,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T19:59:36.450Z","etag":null,"topics":["cli","json","mongodb","wiredtiger"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toto-dev.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":"2024-06-28T09:52:54.000Z","updated_at":"2024-07-05T22:06:51.000Z","dependencies_parsed_at":"2024-06-29T14:48:52.362Z","dependency_job_id":"2978e181-98ce-41c6-863e-dfa8189fcad7","html_url":"https://github.com/toto-dev/wiredtiger-debug-tools","commit_stats":null,"previous_names":["toto-dev/wiredtiger-debug-tools"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toto-dev%2Fwiredtiger-debug-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toto-dev%2Fwiredtiger-debug-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toto-dev%2Fwiredtiger-debug-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toto-dev%2Fwiredtiger-debug-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toto-dev","download_url":"https://codeload.github.com/toto-dev/wiredtiger-debug-tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242283692,"owners_count":20102622,"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":["cli","json","mongodb","wiredtiger"],"created_at":"2024-10-20T23:43:10.464Z","updated_at":"2025-12-28T15:25:28.874Z","avatar_url":"https://github.com/toto-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WiredTiger debug tools\n[![image](https://img.shields.io/pypi/v/wiredtiger-debug-tools.svg)](https://pypi.org/project/wiredtiger-debug-tools/)\n![GitHub License](https://img.shields.io/github/license/toto-dev/wiredtiger-debug-tools?color=blue)\n\nCollection  of tools to debug and analyze MongoDB WiredTiger files\n\n# Installation\n## Dependencies\nIn order to use the provided debug tools you need to install `wt` binary on your system.\n\n`wt` can be compiled from wiredtiger [source](https://source.wiredtiger.com/) following [this procedure](https://source.wiredtiger.com/develop/build-posix.html) or from MongoDB [source](https://github.com/mongodb/mongo) using:\n```\nninja install-wiredtiger\n```\nOnce you have the `wt` binary, make sure to add its installation folder to your PATH environment variable.\n\n\nThe wiredtiger package provided in major Linux usually provides a very old version of `wt` that is not capable of processing .wt files produced in newer versions.\n\n## Package\nThe `wiredtiger-debug-tools` package is available on PyPI\n```\npip install wiredtiger-debug-tools\n```\n# Usage\n## `wtd` tool\n\n- Print list of collections contained in the `_mdb_catalog`\n```\nwtd list-collections\n```\n- Inspect content of a specific collection:\n```\nwtd cat local.oplog.rs\n```\n\n### With `FZF`\nYou can use [FZF](https://github.com/junegunn/fzf) to interactively select the the collection to open\n```\nwtd cat `wtd list-collections | fzf | cut -d \" \" -f1`\n```\n\n## CLI Autocompletion\nTo enable CLI auto-completion on ZSH shell run:\n```\neval \"$(_WTD_COMPLETE=zsh_source wtd)\"\n```\nOn Bash shell:\n```\neval \"$(_WTD_COMPLETE=bash_source wtd)\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoto-dev%2Fwiredtiger-debug-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoto-dev%2Fwiredtiger-debug-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoto-dev%2Fwiredtiger-debug-tools/lists"}