# Intro babil0nia-server (bserver) is the web gui for [bkli](https://code.lacashita.com/sml/bkli). It can be used to save/organize your favourite urls, URLs are saved into the sqlite3 db and then you can do some searchs, filtering or download the saved url to a file (jpg). babil0nia-cli(bkli) and babil0nia-server(bserver) uses the same sqlite3 database, so if you are using both you can share/sync the db file between them. Check changelog.txt to see the current status. # How it looks ![babil0nia-image](babil0nia.png) # To know Feel free to change the code in order to adapt the program to your needs. During the first run the program: * Creates ~/babil0nia.db file which is the database. * Creates ~/.babil0niafiles which is the folder to store the screenshots. * Creates a link from ~/.babil0niafiles to screenshots/ in the same folder where is the executable. * The server uses the port 8002. Check that you have permissions to run the program in the port 8001 and also write permissions in screenshots folder in order to download the screenshots if needed. Once started, you can access at http://127.0.0.1:8002. # Usage | Description | Command | | ----------- | ----------- | | Start the web server (without allowing to archive) | bserver| | Start the web server (allowing to archive) | bserver -a| # Installation ```sh git clone https://code.lacashita.com/sml/bserver go build bserver.go ./bserver.go -a ``` # Upgrade Just clone the repo with the last version, compile and replace with the latest binary.