boltBrowser
boltBrowser is a web-based explorer for BoltDB.
Warning! I need your help. For details see help wanted
Features
You can work with several databases in one time
You can visit nested buckets
Minimalistic and simple interface
Opportunity to search records and buckets using regex
Opportunity to edit a db (create, delete, modify buckets and records)
How to start
Run the program (you can download the latest release here)
Open the list of databases
Add a database by pressing sign '+'
Enjoy!
Settings
Setting
Default value
Description
port
:500
port of the website
offset
100
number of records on a single page
debug
false
mode of debugging
check version
true
should program check a new version
open browser
true
should the program open a browser automatically
neat window
true
should the program open a neat window
You can change settings by editing a config file or using command line flags.
Config file
The config file – config.ini. The default content:
# List of all opts:
# port
# debug
# offset
# should_check_version
# is_write_mode
# open_browser
# open_neat_window
# Port for website
port=:500
debug=false
# number of records on a single screen
offset=100
should_check_version=true
is_write_mode=true
open_browser=true
# has effect only if 'open browser' is true
open_neat_window=true
You can overwrite values from the config file by setting flags.
Flags
The default values are the same as values in the config file.
Flag
Description
-port
port of the website
-offset
number of records on single page
-debug
mode of debugging
-checkVer
should program check a new version
-openBrowser
should the program open a browser automatically
-neatWindow
should the program open a neat window
Security
Program use function EscapeString() from package html for preventing of js-injection.
Other
You can change mode of converting []byte. Just change functions ConvertKey(b []byte) string (or ConvertValue()) in src/converters/converter.go
Note: function will be used for converting all keys (or values). So, if your keys (or values) were converted from either string or uint program will crash.
Additional info
Initial work was undertaken on Bitbucket.
Help wanted
Unfortunately, I'm not a good frontend and UI developer. So, it would be great, if you decide to help me.
If you want to help, you can check Issues or you can skim through the source code.
License