🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

trolol-web

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trolol-web

Web interface for trolling friends

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Trolol web - Web interface for trolling

Web interface for the fun project trolol.

Installation

npm install -g trolol-web

Starting the server

To start trolol-web on default port (6969), do:

trolol-web

To start trolol-web on a custom port, define the PORT environment variable:

PORT=3000 trolol-web

Usage

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 from
  • to: The web site to redirect to

command-not-found

Params:

  • command: The command to disable

rebecca

  • saturday: Pass this to play Saturday instead of Friday
  • wait: How many seconds to wait before executing

steve

  • wait: How many seconds to wait before executing

screensaver

Params:

  • times
  • wait: How many seconds to wait before executing

brightness

Params:

  • length
  • wait: How many seconds to wait before executing

volume-level

Params:

  • length
  • wait: How many seconds to wait before executing

disable-mouse

Params:

  • length
  • wait: How many seconds to wait before executing

move-mouse

Params:

  • length
  • wait: How many seconds to wait before executing

beep

Params:

  • times: How many times to beep
  • wait: How many seconds to wait before executing

eject

Params:

  • times: How many times to eject the media drive
  • wait: How many seconds to wait before executing

dickbutt

No params

shutdown

Params

  • program
  • times: How many times the app "crashes"
  • range: Variety in minutes between crashes
  • wait: Minimum minutes between crashes

License

MIT

FAQs

Package last updated on 21 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts