https://github.com/powerdns/lmdbnav
A terminal UI to inspect LMDB database files
https://github.com/powerdns/lmdbnav
Last synced: about 1 year ago
JSON representation
A terminal UI to inspect LMDB database files
- Host: GitHub
- URL: https://github.com/powerdns/lmdbnav
- Owner: PowerDNS
- License: mit
- Created: 2023-03-07T10:58:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T13:10:15.000Z (over 2 years ago)
- Last Synced: 2025-04-18T17:19:28.680Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 484 KB
- Stars: 19
- Watchers: 13
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lmdbnav
A terminal UI to inspect LMDB database files.
This is a tool that we use internally to debug LMDB databases. We decided to open source it, since it can be useful to others.
Contributions are welcome.
## Installation
From a local source checkout:
```
$ GOBIN=/path/to/target/bin go install ./cmd/lmdbnav
```
Or directly, without any local checkout:
```
$ GOBIN=/path/to/target/bin go install github.com/PowerDNS/lmdbnav/cmd/lmdbnav@latest
```
## Usage
```
$ lmdbnav /path/to/lmdb
```
To enable support for [Lightning Stream](https://github.com/PowerDNS/lmdbnav) headers:
```
$ lmdbnav --ls /path/to/lmdb
```
Key bindings:
- Arrow keys are used for navigation
- `Enter` dives into a subview
- `Esc` returns to the previous screen
- `R` or `r` refreshes the view from the LMDB
- `[` and `]` jump 1000 rows
- `{` and `}` jump 10000 rows
- `Home` and `End` navigate to the beginning and end
## Example screenshots


