12 releases (breaking)

0.11.0 Mar 19, 2021
0.10.0 Aug 27, 2020
0.9.0 Aug 10, 2020
0.7.0 Apr 22, 2019
0.4.0 Feb 3, 2018

#83 in Command line utilities

Download history 2/week @ 2020-12-24 19/week @ 2020-12-31 9/week @ 2021-01-07 8/week @ 2021-01-14 3/week @ 2021-01-21 7/week @ 2021-01-28 4/week @ 2021-02-04 87/week @ 2021-02-11 16/week @ 2021-02-18 10/week @ 2021-02-25 13/week @ 2021-03-04 7/week @ 2021-03-11 56/week @ 2021-03-18 53/week @ 2021-03-25 21/week @ 2021-04-01 44/week @ 2021-04-08

62 downloads per month

MIT license

1MB
2K SLoC

genact - a nonsense activity generator

CI DockerHub AUR Crates.io license Stars Downloads

Pretend to be busy or waiting for your 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

Packaging status

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 FreeBSD, Linux, OSX, Windows 10 (it needs a recent Windows 10 to get ANSI support) and most modern web browsers that support WebAssembly.

On FreeBSD: You don't have to do anything special here. Just run

pkg install genact
genact

On Linux: Download genact-linux from the releases page and run

chmod +x genact-linux
./genact-linux

On OSX: Download genact-osx from the releases page and run

chmod +x genact-osx
./genact-osx

On Windows: Download genact-win.exe from the releases page and double click it.

With Cargo: If you have a somewhat recent version of Rust and Cargo installed, you can run

cargo install genact
genact

Running

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

./genact -h

or

cargo run -- -h

or (on Docker)

docker run -it --rm svenstaro/genact -h

Usage

genact 0.11.0
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:
    -e, --exit-after <exit-after>    Exit after running for this long (format example: 2h10min)
    -m, --modules <modules>...       Run only these modules [possible values: bootlog, botnet,
                                     cargo, cc, composer, cryptomining, simcity,
                                     download, docker, docker_build, memdump, mkinitcpio,
                                     kernel_compile, weblog]
    -s, --speed-factor <speed-factor>    Global speed factor [default: 1]

Web usage

In the web version, you can run specific modules by providing them as ?module parameters like this: https://svenstaro.github.io/genact?module=cc&module=memdump

You can also provide a ?speed-factor like this: https://svenstaro.github.io/genact?speed-factor=5

Building

You should have a recent version of rust and cargo installed.

Then, just clone it like usual and cargo run to get output:

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

Releasing

This is mostly a note for me on how to release this thing:

  • cargo release --dry-run
  • cargo release
  • Releases will automatically be deployed by Github Actions.
  • Docker images will automatically be built by Docker Hub.
  • Update AUR package.

Dependencies

~15MB
~316K SLoC