github

svenstaro / genact

  • четверг, 18 января 2018 г. в 03:16:22
https://github.com/svenstaro/genact


🌀 A nonsense activity generator



genact - a nonsense activity generator

Build Status license

Pretend to be busy or waiting for computer when you should actually be doing real work! Impress people with your insane multitasking skills. Just open a few instances of genact and watch the show. genact has multiple scenes that pretend to be doing something exciting or useful when in reality nothing is happening at all.

Installation

You don't have to install anything! For your convenience, prebuilt binaries for Linux, OSX and Windows are provided here that should run without any dependencies. Additionally, there is a web version at https://svenstaro.github.io/genact/

It's compatible with Linux, OSX, Windows 10 (it needs a recent Windows 10 to get ANSI support) and most modern web browsers.

Compiling

Just clone it like usual and cargo run to get output:

git clone https://github.com/svenstaro/genact.git
cd genact
cargo run

You can do this using any Rust version.

Running

To see a list of all available options, you can run

./genact -h

or

cargo run -- -h

The help:

genact 0.2.1
Sven-Hendrik Haase <svenstaro@gmail.com>
A nonsense activity generator

USAGE:
    genact [FLAGS] [OPTIONS]

FLAGS:
    -h, --help            Prints help information
    -l, --list-modules    List available modules
    -V, --version         Prints version information

OPTIONS:
    -m, --modules <MODULE>...    Run only these modules [values: bootlog, cargo, cryptomining, cc, download, memdump]

In the web version, you can run specific modules by providing them as ?module parameters like this:

http://svenstaro.github.io/genact?module=cc&module=memdump

Contributing

If you want to add a cool module just implement it, lint it with clippy and make a pull request with a screenshot. I will probably accept it.