Giter Club home page Giter Club logo

krunkrun's Introduction

KRUNKER BOT SERVER

It's app for auto start Krunker game server through telegram bot message.

Krunker - first person web shooter in web browser. www.krunker.io

REQUIREMENTS

NodeJs 12.x.x or higher

curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
n lts

INSTALLATION

 npm i

QUICK START

KRUN_KRUN_TOKEN="12345678:QWERTYUIOPASFDHJKLZXCVBNM" GAME_TIME="10" npm run app

KRUN_KRUN_TOKEN - telegram bot token GAME_TIME - Game time in minutes

BOT COMMANDS

"ะณะพ" - start game

SKYPE SUPPORT

SKYPE_AUTH=login/password

HEROKU DEPLOY [GitHub]

Web UI

  1. Login towww.heroku.com
  2. New -> Create new app
  3. Deploy -> Deployment method = GitHub
    • Connect to GitHub -> repo-name -> Connect
    • Manual deploy -> Choose a branch to deploy
  4. Settings -> Buildpacks
    • Add build pack -> heroku/nodejs
    • Add build pack -> https://github.com/jontewks/puppeteer-heroku-buildpack
  5. Settings -> Config Vars - Reveal Config Vars
    • Add HEADLESS = 1
    • Add KRUN_KRUN_TOKEN = Your telegram token
    • Add GAME_TIME = 10

Heroku CLI

  1. Install CLI -> brew tap heroku/brew && brew install heroku or installer
  2. Add git remote
  3. Add buildpack heroku buildpacks:add https://github.com/jontewks/puppeteer-heroku-buildpack
  4. Define config vars
    • heroku config:set HEADLESS = 1
    • heroku config:set KRUN_KRUN_TOKEN = Your telegram token
    • heroku config:set GAME_TIME = 10
  5. Deploy

The 406 Developers Team

krunkrun's People

Contributors

santonov62 avatar lctncld avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.