Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thehxdev/tbc
- Owner: thehxdev
- License: mit
- Created: 2024-07-13T15:52:26.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-31T21:35:00.000Z (3 months ago)
- Last Synced: 2024-11-14T04:22:37.348Z (2 months ago)
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.