Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fletchto99/hn-bot-docker
A docker container to run qznc/hn_bot
https://github.com/fletchto99/hn-bot-docker
Last synced: 19 days ago
JSON representation
A docker container to run qznc/hn_bot
- Host: GitHub
- URL: https://github.com/fletchto99/hn-bot-docker
- Owner: fletchto99
- License: mit
- Created: 2019-12-22T03:05:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-23T19:40:20.000Z (about 5 years ago)
- Last Synced: 2024-11-10T00:24:50.874Z (3 months ago)
- Language: Shell
- Homepage: https://reddit.com/r/hackernews
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HN Bot
This is a containerized version of the qznc's [hackernews bot](https://github.com/qznc/hn_bot) used to post to [/r/hackernews](https://reddit.com/r/hackernews). The bot runs in a cron job every hour.
## Usage
```
docker run \
--name=hn_bot \
-v : \
-e praw_client_id= \
-e praw_client_secret= \
-e praw_username= \
-e praw_password= \
-e database_file= \
fletchto99/hn-bot
```## Parameters
* `-v :`
* `-e praw_client_id` - The bot's client ID
* `-e praw_client_secret` - The bot's client ID
* `-e praw_username` - The bot's username on reddit
* `-e praw_password` - The bot's passwordFor more information see the [praw documentation](https://praw.readthedocs.io/en/latest/getting_started/configuration/options.html#configuration-options).
## Optional Parameters
* `-e databsase_file` - The path to the databse file (preferably mounted on a persistent volume)