6 Commits
2.1 ... 2.2

Author SHA1 Message Date
184b3ef7cb Update links to screenshots & releases 2023-03-30 07:28:51 -05:00
4d4716e825 Go mod tidy 2023-03-30 07:25:05 -05:00
ebb9186bbe Update go version 2023-03-30 07:24:40 -05:00
ab62644960 Update Dependencies 2023-03-30 07:12:16 -05:00
7f10a81cec Don't duplicate root values when root is bucket. 2021-05-31 10:03:53 -05:00
7718e0f038 Update links to binaries for v2.1 2021-05-31 09:39:19 -05:00
7 changed files with 18 additions and 19 deletions

1
.gitignore vendored
View File

@@ -25,6 +25,7 @@ _testmain.go
# Binaries
*.exe
boltbrowser
boltbrowser.*
# Test Database
test.db

View File

@@ -3,9 +3,9 @@ boltbrowser
A CLI Browser for BoltDB Files
![Image of About Screen](http://bullercodeworks.com/boltbrowser/ss2.png)
![Image of About Screen](https://git.bullercodeworks.com/brian/boltbrowser/raw/branch/master/build/aboutscreen.png)
![Image of Main Browser](http://bullercodeworks.com/boltbrowser/ss1.png)
![Image of Main Browser](https://git.bullercodeworks.com/brian/boltbrowser/raw/branch/master/build/mainscreen.png)
Installing
----------
@@ -20,13 +20,7 @@ Then you'll have `boltbrowser` in your path.
Pre-built Binaries
------------------
Here are pre-built binaries:
* [Linux 64-bit](https://git.bullercodeworks.com/brian/boltbrowser/releases/download/2.0/boltbrowser.linux64.zip)
* [Linux 32-bit](https://git.bullercodeworks.com/brian/boltbrowser/releases/download/2.0/boltbrowser.linux386.zip)
* [Linux Arm](https://git.bullercodeworks.com/brian/boltbrowser/releases/download/2.0/boltbrowser.linuxarm.zip)
* [Windows 64-bit](https://git.bullercodeworks.com/brian/boltbrowser/releases/download/2.0/boltbrowser.win64.exe.zip)
* [Windows 32-bit](https://git.bullercodeworks.com/brian/boltbrowser/releases/download/2.0/boltbrowser.win386.exe.zip)
* [Mac OS](https://git.bullercodeworks.com/brian/boltbrowser/releases/download/2.0/boltbrowser.darwin64.zip)
Pre-build binaries are available on the [Releases Page](https://github.com/br0xen/boltbrowser/releases).
Usage
-----

View File

@@ -280,6 +280,7 @@ func (bd *BoltDB) refreshDatabase() *BoltDB {
return err
})
if err != nil {
memBolt = new(BoltDB)
// Check if there are key/values directly in the root
bb, err := readBucket(tx.Cursor().Bucket())
if err == nil {

BIN
build/aboutscreen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
build/mainscreen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

11
go.mod
View File

@@ -3,9 +3,12 @@ module github.com/br0xen/boltbrowser
require (
github.com/boltdb/bolt v1.3.1
github.com/br0xen/termbox-util v0.0.0-20170904143325-de1d4c83380e
github.com/mattn/go-runewidth v0.0.4 // indirect
github.com/nsf/termbox-go v0.0.0-20180819125858-b66b20ab708e
golang.org/x/sys v0.0.0-20191002091554-b397fe3ad8ed // indirect
github.com/nsf/termbox-go v1.1.1
)
go 1.13
require (
github.com/mattn/go-runewidth v0.0.9 // indirect
golang.org/x/sys v0.6.0 // indirect
)
go 1.20

12
go.sum
View File

@@ -2,9 +2,9 @@ github.com/boltdb/bolt v1.3.1 h1:JQmyP4ZBrce+ZQu0dY660FMfatumYDLun9hBCUVIkF4=
github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps=
github.com/br0xen/termbox-util v0.0.0-20170904143325-de1d4c83380e h1:PF4gYXcZfTbAoAk5DPZcvjmq8gyg4gpcmWdT8W+0X1c=
github.com/br0xen/termbox-util v0.0.0-20170904143325-de1d4c83380e/go.mod h1:x9wJlgOj74OFTOBwXOuO8pBguW37EgYNx51Dbjkfzo4=
github.com/mattn/go-runewidth v0.0.4 h1:2BvfKmzob6Bmd4YsL0zygOqfdFnK7GR4QL06Do4/p7Y=
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
github.com/nsf/termbox-go v0.0.0-20180819125858-b66b20ab708e h1:fvw0uluMptljaRKSU8459cJ4bmi3qUYyMs5kzpic2fY=
github.com/nsf/termbox-go v0.0.0-20180819125858-b66b20ab708e/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ=
golang.org/x/sys v0.0.0-20191002091554-b397fe3ad8ed h1:5TJcLJn2a55mJjzYk0yOoqN8X1OdvBDUnaZaKKyQtkY=
golang.org/x/sys v0.0.0-20191002091554-b397fe3ad8ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
github.com/nsf/termbox-go v1.1.1 h1:nksUPLCb73Q++DwbYUBEglYBRPZyoXJdrj5L+TkjyZY=
github.com/nsf/termbox-go v1.1.1/go.mod h1:T0cTdVuOwf7pHQNtfhnEbzHbcNyCEcVU4YPpouCbVxo=
golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=