Forebodere is a quotation bot for Discord, using the Whoosh search engine for quote lookups.
Running
Python
To run the bot directly with python, you should install the requirements in a clean virtualenv and run the package, passing the path to hord and the discord bot token (which can also be inferred from the $DISCORD_TOKEN environment variable):
virtualenv .venv -p python3.6 source .venv/bin/activate pip install -r requirements.txt python -m forebodere --hord '/path/to/forebodere.hord' --token 'DISCORD_TOKEN'
Docker
A repository exists on Dockerhub for Forebodere, which can be pulled:
docker pull autophagy/forebodere:latest
However, this will not run on ARM processors, like those on Raspberry Pi machines. Instead, you should build the image directly on the machine:
docker build -t autophagy/forebodere:latest .
You can then run the docker image by setting the DISCORD_TOKEN environment variable
docker run -d -e DISCORD_TOKEN="TOKEN" autophagy/forebodere:latest
However, due to the ephemeral nature of containers, the Quote DB will be deleted upon container destruction. To create a persistant quote DB, pass in the forebodere.hord as a volume:
docker run -d -v /path/to/forebodere.hord:/app/forebodere.hord -e DISCORD_TOKEN="TOKEN" autophagy/forebodere:latest
Metadata
Release files for forebodere 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| forebodere-0.1.0.tar.gz | 7.0 kB | Without provenance | Details for forebodere-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forebodere-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for forebodere-0.1.0-py3-none-any.whl |
Total release size: 16.7 kB
Release files / forebodere-0.1.0.tar.gz
| Download URL | forebodere-0.1.0.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
102eb30c2bfe03c22ded6e8cedbde4c41cd99f38df8c9cb5950bdd553c6a5d65
|
|
BLAKE2b-256 checksum How to use checksums |
dee2b606666db067b5379ded5d4b6d2ec5ae0a87dafff9f2cb17f8c51d5c84b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
|
Release files / forebodere-0.1.0-py3-none-any.whl
| Download URL | forebodere-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57ac42715af3a02371fcf510fe7c925e453d35119d8c6208a150f90302bba33f
|
|
BLAKE2b-256 checksum How to use checksums |
2dfa0c26474ff582e4d0ba25ae160f18162ea01a7e55ac7bce0d5b1e5042235d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
|
Security for forebodere 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.