Metadata-Version: 2.4
Name: tbflingr
Version: 1.0.1
Summary: Packaged curl for flinging URLs to instances via /.well-known/ternbook.json
Author-email: 11bunno11 <11bunno11@gmail.com>
License-Expression: AGPL-3.0-or-later
Project-URL: Homepage, https://github.com/11bunno11/tbflingr
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# tbflingr

A CLI client for registering websites to the Ternbook web directory.

## Install

```bash
pip install tbflingr
```

## Usage


Fling a site to a Ternbook instance (fetches `/.well-known/ternbook.json`, POSTs to `/api/heartbeat`)<br>
```bash
tbflingr fling https://mysite.com to https://myinstance.com`
```

Fling and save the pair as profile 1<br>
```bash
tbflingr fling https://mysite.com to https://myinstance.com save profile 1
```

Re-run a saved profile<br>
```bash
tbflingr fling profile 1
```

List saved profiles<br>
```bash
tbflingr profiles
```

For more regarding Ternbook, visit https://ternbook.neocities.org

Profiles are stored in `~/.tbflingr/profiles/`.
