Giter Club home page Giter Club logo

trolol's Introduction

Trolol - Command line tool for trolling

Troll your friends with a simple command AS QUICKLY AS POSSIBLE. Trolol

Currently usable only on Linux and Mac OS X machines.

Installation

Install npm and use it to install trolol globally

$ npm install -g trolol

Usage

  Usage: trolol [options] [command]


  Commands:

    website <from> <to>                  [RUN AS ADMIN] Redirect webpage to a different site
    command-not-found|cmd <command>      Overwrite command with a fake alias
    friday [options]                     Open "Friday by Rebecca Black" in a browser
    volume-level|vol [options] <length>  [MAC ONLY] Change volume level randomly in period of time (length in seconds)
    brightness [options] <length>        Change brightness randomly in period of time (length in seconds)
    move-mouse|mouse [options] <length>  Move mouse slowly and randomly across the screen
    disable-mouse [options] <length>     Disable mouse cursor for some time (length in seconds)
    say [options] <message>              [MAC ONLY] Scare the sh*t out of your dude with a speaking computer
    beep [options] <times>               Beeep beeeeep, annoying little sh*t
    photo-booth [options] <times>        [MAC ONLY] Open up Photo booth n times
    spotify [options] <times>            [MAC ONLY] Switch Spotify music track back after every 15 seconds n time

  Options:

    -h, --help     output usage information

Examples

Command not found

Make a given command "not found" with a fake alias. For example existing command grails

$ trolol command-not-found grails

will start throwing error after using a command above

-bash: grails: command not found

Change volume level randomly

Command

$ trolol volume-level 10 --wait 25

will start changing volume level after 25 seconds randomly 10 times.

Contribute

  1. Implement a cool and "easy to revert" troll in a bash script
  2. Move the script to ./src/scripts
  3. Write a command to ./bin/trolol (more info about commander.js)
  4. Write a shell script executor to ./src/trolol.js (more info about ShellJS)
  5. Test (no automated tests for now)
  6. Make a pull request

With a succesful contribution you can write your name in history.

License

MIT

trolol's People

Contributors

ukupat avatar henriots avatar c0b41 avatar

Watchers

Subhash Ramesh 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.