whyblocked/README.md

91 lines
2.2 KiB
Markdown
Raw Normal View History

2018-08-30 08:03:25 -04: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 08:30:55 -04:00
## Usage
2018-08-30 10:40:06 -04:00
### Example
2018-08-30 08:30:55 -04:00
```PLAIN
$ whyblocked
2018-08-30 10:54:34 -04:00
This is whyblocked 0.4.1.
2018-08-30 08:30:55 -04:00
Type add, remove, view or details. Or just the first letter.
2018-08-30 10:40:06 -04: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 10:54:34 -04:00
@tastytea@soc.ialis.me added.
2018-08-30 10:40:06 -04:00
Add receipt? [y/n] y
URL: https://tastytea.de/
2018-08-30 10:54:34 -04:00
Receipt added.
2018-08-30 10:40:06 -04: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 08:30:55 -04:00
Receipts:
2018-08-30 10:40:06 -04:00
https://tastytea.de/
: remove
User or instance: @tastytea@soc.ialis.me
2018-08-30 10:54:34 -04: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 10:40:06 -04:00
: quit
2018-08-30 08:30:55 -04:00
```
## Install
2018-08-30 17:53:58 -04:00
### Packages
Every [release](https://schlomp.space/tastytea/whyblocked/releases) includes
a .deb-package, an .rpm-package and a .tar.gz-package with precompiled binaries
for x86_64(amd64). These are automatically built and not tested. You can install
them with `dpkg -i` or `rpm -i`, respectively.
Gentoo ebuilds are available via my
[repository](https://schlomp.space/tastytea/overlay).
### From source
#### Dependencies
2018-08-30 08:30:55 -04:00
* C++ compiler (tested: gcc 6/7/8)
* [cmake](https://cmake.org/) (at least 3.6)
2018-08-30 08:30:55 -04:00
* [vsqlite++](http://vsqlite.virtuosic-bytes.com/) (tested: 0.3.13)
* [libxdg-basedir](http://repo.or.cz/w/libxdg-basedir.git) (tested: 1.2)
2018-08-30 17:53:58 -04:00
#### Get sourcecode
Download the current
[release](https://schlomp.space/tastytea/whyblocked/releases).
#### Compile
2018-08-30 08:30:55 -04:00
```SH
mkdir build
cd build
cmake ..
make
make install
```
2018-08-30 12:10:59 -04:00
2018-08-31 10:09:02 -04:00
## Bugs
Please report them on the
[issue tracker](https://schlomp.space/tastytea/whyblocked/issues) or to
`tastytea`@`tastytea.de`.
2018-08-30 17:53:58 -04:00
## Copyright
2018-08-30 12:10:59 -04:00
```PLAIN
Copyright © 2018 tastytea <tastytea@tastytea.de>.
License GPLv3: GNU GPL version 3 <https://www.gnu.org/licenses/gpl-3.0.html>.
This program comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
```