trolol-web
v1.0.0
Published
Web interface for trolling friends
Readme
Trolol web - Web interface for trolling
Web interface for the fun project trolol.
Installation
npm install -g trolol-webStarting the server
To start trolol-web on default port (6969), do:
trolol-webTo start trolol-web on a custom port, define the PORT environment variable:
PORT=3000 trolol-webUsage
Choose your favorite command below. To use it, just access http://<server>:<port>/<command>.
The params of each command are to be passed in the query string,
so to beep twice, access http://<server>:<port>/beep?times=2.
website
Params:
from: The web site to redirect fromto: The web site to redirect to
command-not-found
Params:
command: The command to disable
rebecca
saturday: Pass this to play Saturday instead of Fridaywait: How many seconds to wait before executing
steve
wait: How many seconds to wait before executing
screensaver
Params:
timeswait: How many seconds to wait before executing
brightness
Params:
lengthwait: How many seconds to wait before executing
volume-level
Params:
lengthwait: How many seconds to wait before executing
disable-mouse
Params:
lengthwait: How many seconds to wait before executing
move-mouse
Params:
lengthwait: How many seconds to wait before executing
beep
Params:
times: How many times to beepwait: How many seconds to wait before executing
eject
Params:
times: How many times to eject the media drivewait: How many seconds to wait before executing
dickbutt
No params
shutdown
Params
programtimes: How many times the app "crashes"range: Variety in minutes between crasheswait: Minimum minutes between crashes
License
MIT
