Giter Club home page Giter Club logo

tu's Introduction

tg-shellbot-heroku

https://github.com/botgram/shell-bot

Deploy to Heroku

You can deploy without cloning this repo to test it out.

Instructions:

  • Click on "Use this template" if you want to make your repo private (forking wont allow the repo to be private).
  • Edit your config.sh It's a bash script which gets executed while the Dockerfile builds the image. Everything you need to install and setup needs to be written down here.
  • Open your version of this repo and in the address bar add this: https://heroku.com/deploy?template= as the prefix.
  • Fill everything in and deploy. After its finished click manage app and go to resources tab and turn on the worker.
  • Now click on the deploy tab, connect your github account and then connect your repo. This way you can edit config.sh through Github web and the app will automatically redeploy and apply changes.
  • If you want a file to be copied to heroku dyno, put it in the stuff folder in your repo. Make your repo private if you don't want your sensitive files be shown to the public.

Misc:

Command List for BotFather:

Copy paste this through Edit Commands in BotFather to view commands when you type in a / (slash).
Text /help to the bot for a slightly more detailed explanation.

help - get help boi
status - you can see the current status and settings for this chat
run - <command> and I'll execute it for you
env - to manipulate the environment
cd - use this instead of /run cd, default directory is /home
enter - Reply to one of my messages to send input to the command
end - to send an EOF (Ctrl+D) to the command
cancel - to send SIGINT (Ctrl+C) to the process group, or the signal you choose
kill -  to send SIGTERM to the root process, or the signal you choose
redraw - to force a repaint of the screen for graphical applications
type - to press keys
control - ctrl button (to send the next key with Ctrl)
meta - alt button (to send the next key with Alt)
keypad - to show a keyboard for special keys
resize - to change the size of the terminal
shell - to see or change the shell used to run commands
file - <file-location> to display the contents of file as a text message. This also allows you to edit the file
upload - <file-location> and I'll send that file to you

tu's People

Contributors

erlandi-main-api avatar

Watchers

 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.