Skip to content

Instantly share code, notes, and snippets.

@Foxboron
Created December 8, 2012 04:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Foxboron/4238624 to your computer and use it in GitHub Desktop.
Save Foxboron/4238624 to your computer and use it in GitHub Desktop.
Bot modules
Modules:
- git module (clone etc)
- nginx module (make config for site, restart etc)
- file module (execute file, download file etc)
- user module (get information about vps user etc)
- server module (launch custom bash commands from files)
Auth system:
- Specify admins in config file
- Add new users with priviliges in sqlite file
- Remove user
- authenticate with password
---
bot add sotd
*creats http://sotd.codetalk.io and all the files it needs.
maps the folder dir to the name sotd.*
bot sotd clone github.com_repo_shit
*clones repo shit to the folder dir under sotd.*
bot sotd exec <file>
*execs a file containing shell commands. each file should contains shit so server can be restarted
rebooted, cleaned, started etc*
bot del sotd
*RM EVERYTHING!"
@sssergii
Copy link

sssergii commented Jul 4, 2022

Hola bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment