https://github.com/s3rious/ponies-to-telegram-channel
An automated derpibooru to telegram channel grabber bot
https://github.com/s3rious/ponies-to-telegram-channel
Last synced: 8 months ago
JSON representation
An automated derpibooru to telegram channel grabber bot
- Host: GitHub
- URL: https://github.com/s3rious/ponies-to-telegram-channel
- Owner: s3rious
- Created: 2017-07-25T18:30:52.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-21T00:19:37.000Z (almost 8 years ago)
- Last Synced: 2025-02-26T09:28:12.411Z (over 1 year ago)
- Language: JavaScript
- Size: 112 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# An automated derpibooru to telegram channel grabber bot
## How?
Copy `docker-compose.yml.sample` to `docker-compose.yml` and fulfill it with _your_ data:
* database name,
* username
* password
* telegram channel name
* your telegram bot token
* etc, etc
After you'll run `docker-compose up` for the first time you need to create mongo admin user, just like that
```
docker-compose exec mongo mongo admin
db.createUser({ user: 'your_mongo_admin_name', pwd: 'your_mongo_admin_password', roles: [ { role: "userAdminAnyDatabase", db: "admin" } ] })
```
And most importantly you should create your mongo database and user with read'n'write permissions
```
docker-compose exec mongo mongo admin -u your_mongo_admin_name -p your_mongo_admin_password
use your_mongo_database_name;
db.createUser({ user: 'your_mongo_user', pwd: 'your_mongo_user', roles:['readWrite']});
```
After that all you need it to relaunch `docker-compose up` and voila, your channel is being fulfilled with pictures of cute and little adorable ponies.