-
Check out also TG Channels Parser
- Posting by schedule
- Security: Receives posts only from admins
- Simple running: 100% configuration placed in one config
- Language: Node.JS 17.9.0
- Telegram Client API library: Telegraf 3.39
- Clone this repo:
git clone https://github.com/ExposedCat/tg-channels-publisher.git
- Go to project root:
cd tg-channels-publisher
- Rename
example.env
to.env
and replace example data with with yours. API credentials should be registered here: Bot Father - Run app:
node src/index.js
Or you can use PM2 to run in background:
pm2 start src/index.js --name=tgpublisher
Done.
You can stop PM2 process via
pm2 stop tgpublisher