whyblocked/README.md

59 lines
1.3 KiB
Markdown
Raw Normal View History

2018-08-30 14:03:25 +02:00
**whyblocked** reminds you why you blocked someone. It is developed with
Mastodon in mind, but can be used for other contexts, of course.
It has a text interface and uses a SQLite-database.
2018-08-30 14:30:55 +02:00
## Usage
2018-08-30 16:40:06 +02:00
### Example
2018-08-30 14:30:55 +02:00
```PLAIN
$ whyblocked
2018-08-30 16:54:34 +02:00
This is whyblocked 0.4.1.
2018-08-30 14:30:55 +02:00
Type add, remove, view or details. Or just the first letter.
2018-08-30 16:40:06 +02:00
Type quit or q to quit the program.
: add
User or instance: @tastytea@soc.ialis.me
Blocked(b) or silenced(s): b
Reason: Too nice
2018-08-30 16:54:34 +02:00
@tastytea@soc.ialis.me added.
2018-08-30 16:40:06 +02:00
Add receipt? [y/n] y
URL: https://tastytea.de/
2018-08-30 16:54:34 +02:00
Receipt added.
2018-08-30 16:40:06 +02:00
Add receipt? [y/n] n
: view
Blocked: @tastytea@soc.ialis.me because: Too nice
: details
User or instance: @tastytea@soc.ialis.me
@tastytea@soc.ialis.me is blocked, because: Too nice
2018-08-30 14:30:55 +02:00
Receipts:
2018-08-30 16:40:06 +02:00
https://tastytea.de/
: remove
User or instance: @tastytea@soc.ialis.me
2018-08-30 16:54:34 +02:00
@tastytea@soc.ialis.me removed.
: view
: details
User or instance: @tastytea@soc.ialis.me
@tastytea@soc.ialis.me is not in the database.
2018-08-30 16:40:06 +02:00
: quit
2018-08-30 14:30:55 +02:00
```
## Install
### Dependencies
* C++ compiler (tested: gcc 6/7/8)
* [cmake](https://cmake.org/) (at least 3.7)
* [vsqlite++](http://vsqlite.virtuosic-bytes.com/) (tested: 0.3.13)
* [libxdg-basedir](http://repo.or.cz/w/libxdg-basedir.git) (tested: 1.2)
### Compile
```SH
mkdir build
cd build
cmake ..
make
make install
```