41 lines
1.4 KiB
Markdown
41 lines
1.4 KiB
Markdown
|
|
# Intro
|
||
|
|
babil0nia-kli (bkli) 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).
|
||
|
|
|
||
|
|
Also available bablin0nia-server (bserver), is the same but through web, and the same db can be shared/sync.
|
||
|
|
|
||
|
|
# How it looks.
|
||
|
|

|
||
|
|
|
||
|
|
# 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 web downloaded (as image).
|
||
|
|
|
||
|
|
# Installation
|
||
|
|
```sh
|
||
|
|
git clone https://code.lacashita.com/sml/bkli
|
||
|
|
go build bkli.go
|
||
|
|
./bkli
|
||
|
|
```
|
||
|
|
|
||
|
|
# Usage
|
||
|
|
|
||
|
|
| Description | Command |
|
||
|
|
| ----------- | ----------- |
|
||
|
|
| Add url | <kbd>bkli add -u https://lacashita.com -d "Cool blog"</kbd>|
|
||
|
|
| Add url with tags | <kbd>bkli add -u https://lacashita.com -d "Cool blog" -t linux,coding,go</kbd>|
|
||
|
|
| List url by tag | <kbd>bkli list -t linux</kbd>|
|
||
|
|
| List url by word | <kbd>bkli list -w myword</kbd>|
|
||
|
|
| List all urls | <kbd>bkli list</kbd>|
|
||
|
|
| List url by status | <kbd>bkli list -s Open </kbd>|
|
||
|
|
| Delete url | <kbd>bkli delete <id></kbd>|
|
||
|
|
| Modify tags | <kbd>bkli mod <id> -t hacking,testing</kbd>|
|
||
|
|
| Modify description | <kbd>bkli mod <id> -d "My new description"</kbd>|
|
||
|
|
| Download Url | <kbd>bkli download <id></kbd>|
|
||
|
|
| View image if downloaded| <kbd>bkli view <id></kbd>
|
||
|
|
|
||
|
|
|