Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thehxdev/tbc

Simple and easy to use CLI client for Txtban services
https://github.com/thehxdev/tbc

Last synced: 13 days ago
JSON representation

Simple and easy to use CLI client for Txtban services

Awesome Lists containing this project

README

        

# TBC
TBC is a CLI client for [Txtban](https://github.com/thehxdev/txtban) services.

## Build
You have to install go compiler GNU make. Then run:
```bash
make
```
This command will build `tbc`.

### Install
```bash
make install PREFIX=/usr/local/bin
```
Command above will install `tbc` executable to the directory specified by `PREFIX` variable.

## Usage
Use `help` command-line flag to get a help message:
```bash
./tbc help
```

1. Create a `config.json` file and set `TBC_CONF` environment variable equal to full path to the `config.json` file.
You can use [the example config file](config.example.json). (You can leave `user` fields empty)
2. If you don't have an account use `tbc useradd -password ` command to signup.
3. Then you can use `tbc` to interact with txtban server.