Skip to content

jhekasoft/sum11-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sum11-bot

Bot for Telegram (https://t.me/sum11_bot) with Ukrainian dictionary. Using site sum.in.ua.

Run

cp .env.example .env

Put bot token into .env.

npm run start

Build and run production

npm run build
node ./dist/server.js

Run as service (POSIX systems with systemd)

sudo mkdir /opt/sum11-bot
sudo cp ./.env /opt/sum11-bot
sudo cp ./dist /opt/sum11-bot -r
sudo cp ./node_modules /opt/sum11-bot -r
sudo cp ./systemd/sum11-bot.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now sum11-bot.service

Show log:

journalctl -xeu sum11-bot.service

About

Telegram bot with Ukrainian vocabuary.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published