Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shoshinnikita/boltbrowser
boltBrowser is a GUI web-based explorer and editor for boltDB
https://github.com/shoshinnikita/boltbrowser
boltdb database-browser go gui help-wanted web
Last synced: 12 days ago
JSON representation
boltBrowser is a GUI web-based explorer and editor for boltDB
- Host: GitHub
- URL: https://github.com/shoshinnikita/boltbrowser
- Owner: ShoshinNikita
- License: mit
- Created: 2018-05-14T18:35:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-03T15:07:42.000Z (over 3 years ago)
- Last Synced: 2024-10-22T23:27:59.230Z (21 days ago)
- Topics: boltdb, database-browser, go, gui, help-wanted, web
- Language: Go
- Homepage:
- Size: 33.7 MB
- Stars: 153
- Watchers: 8
- Forks: 20
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# boltBrowser
[![Maintenance](https://img.shields.io/badge/Maintained%3F-no-red.svg)](https://github.com/ShoshinNikita/boltBrowser/graphs/commit-activity)
[![Go Report Card](https://goreportcard.com/badge/github.com/ShoshinNikita/boltBrowser)](https://goreportcard.com/report/github.com/ShoshinNikita/boltBrowser)
[![Coverage Status](https://coveralls.io/repos/github/ShoshinNikita/boltBrowser/badge.svg?branch=add-travis)](https://coveralls.io/github/ShoshinNikita/boltBrowser?branch=master)
[![GitHub license](https://img.shields.io/github/license/ShoshinNikita/boltBrowser.svg)](https://github.com/ShoshinNikita/boltBrowser)
[![Github all releases](https://img.shields.io/github/downloads/ShoshinNikita/boltBrowser/total.svg)](https://github.com/ShoshinNikita/boltBrowser/releases)boltBrowser is a web-based explorer for BoltDB.
**Warning!** I need your help. For details see [help wanted](#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)[Examples of using the program](Examples.md)
![1](stuff/screenshot.png)
## How to start
1. Run the program (you can download the latest release [here](https://github.com/ShoshinNikita/boltBrowser/releases))
1. Go to [localhost:500](http://localhost:500)
1. Open the list of databases
1. Add a database by pressing sign '+'
1. 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 windowYou can change settings by editing a config file or using command line flags.
### Config file
The config file – `config.ini`. The default content:
```ini
# 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](src/converters/converters.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](https://bitbucket.org/ShoshinNikita/boltbrowser).
## 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](https://github.com/ShoshinNikita/boltBrowser/issues) or you can skim through the source code.
## License
[MIT License](LICENSE)