It's app for auto start Krunker game server through telegram bot message.
Krunker - first person web shooter in web browser. www.krunker.io
NodeJs 12.x.x or higher
curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
n lts
npm i
KRUN_KRUN_TOKEN="12345678:QWERTYUIOPASFDHJKLZXCVBNM" GAME_TIME="10" npm run app
KRUN_KRUN_TOKEN - telegram bot token GAME_TIME - Game time in minutes
"ะณะพ" - start game
SKYPE_AUTH=login/password
Web UI
- Login towww.heroku.com
- New -> Create new app
- Deploy -> Deployment method =
GitHub
- Connect to GitHub -> repo-name -> Connect
- Manual deploy -> Choose a branch to deploy
- Settings -> Buildpacks
- Add build pack ->
heroku/nodejs
- Add build pack ->
https://github.com/jontewks/puppeteer-heroku-buildpack
- Add build pack ->
- Settings -> Config Vars - Reveal Config Vars
- Add
HEADLESS = 1
- Add
KRUN_KRUN_TOKEN = Your telegram token
- Add
GAME_TIME = 10
- Add
Heroku CLI
- Install CLI ->
brew tap heroku/brew && brew install heroku
or installer - Add git remote
- Add buildpack
heroku buildpacks:add https://github.com/jontewks/puppeteer-heroku-buildpack
- Define config vars
heroku config:set HEADLESS = 1
heroku config:set KRUN_KRUN_TOKEN = Your telegram token
heroku config:set GAME_TIME = 10
- Deploy
The 406 Developers Team