Tldr Bot Save

A simple bot that performs automation tasks on the main tldr repo

Project README

tldr-bot

A simple bot that performs automation tasks on the main tldr repo.

Quick start

First of all, set the needed environment variables:

FLASK_APP=/path/to/app/tldr_bot.py
BOT_TOKEN=<token>
REPO_SLUG=tldr-pages/tldr
PORT=<port>

Then run using Flask:

flask run --port=$PORT

Run as a service

See the tldr-bot.service file for an example systemd unit configuration.

Typically, the service is running under uWSGI and fronted by nginx. So you need to set the proper nginx config too.

location / {
    include uwsgi_params;
    uwsgi_pass 127.0.0.1:6129;
}
Open Source Agenda is not affiliated with "Tldr Bot" Project. README Source: tldr-pages/tldr-bot
Stars
28
Open Issues
4
Last Commit
4 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating