base on 🌀 A nonsense activity generator # genact - a nonsense activity generator [![CI](https://github.com/svenstaro/genact/workflows/CI/badge.svg)](https://github.com/svenstaro/genact/actions) [![Docker Hub](https://img.shields.io/docker/pulls/svenstaro/genact)](https://cloud.docker.com/repository/docker/svenstaro/genact/) [![Crates.io](https://img.shields.io/crates/v/genact.svg)](https://crates.io/crates/genact) [![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/svenstaro/genact/blob/master/LICENSE) [![Stars](https://img.shields.io/github/stars/svenstaro/genact.svg)](https://github.com/svenstaro/genact/stargazers) [![Downloads](https://img.shields.io/github/downloads/svenstaro/genact/total.svg)](https://github.com/svenstaro/genact/releases) **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. ![](gifs/cc.gif) ![](gifs/memdump.gif) ![](gifs/cargo.gif) ## Installation <a href="https://repology.org/project/genact/versions"><img align="right" src="https://repology.org/badge/vertical-allrepos/genact.svg" alt="Packaging status"></a> You don't have to install anything! For your convenience, prebuilt binaries for Linux, OSX and Windows are provided [here](https://github.com/svenstaro/genact/releases) that should run without any dependencies. **Additionally, there is a web version at https://svenstaro.github.io/genact/** It's compatible with FreeBSD, Linux, macOS, Windows, 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](https://github.com/svenstaro/genact/releases) and run chmod +x genact-linux ./genact-linux **On macOS**: Download `genact-osx` from [the releases page](https://github.com/svenstaro/genact/releases) and run chmod +x genact-osx ./genact-osx A homebrew package is also available. To install it this way, run brew install genact On macOS, you can also install via MacPorts: sudo port install genact **On Windows**: Download `genact-win.exe` from [the releases page](https://github.com/svenstaro/genact/releases) and double click it. It is also available on Scoop: scoop install genact **With Cargo**: If you have a somewhat recent version of Rust and Cargo installed, you can run cargo install genact genact **With gah**: If you are using [gah](https://github.com/marverix/gah), you can run gah install 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 A nonsense activity generator Usage: genact [OPTIONS] Options: -l, --list-modules List available modules -m, --modules <MODULES> Run only these modules [possible values: ansible, bootlog, botnet, bruteforce, cargo, cc, composer, cryptomining, docker_build, docker_image_rm, download, julia, kernel_compile, memdump, mkinitcpio, rkhunter, simcity, terraform, weblog] -s, --speed-factor <SPEED_FACTOR> Global speed factor [default: 1] -i, --instant-print-lines <INSTANT_PRINT_LINES> Instantly print this many lines [default: 0] --exit-after-time <EXIT_AFTER_TIME> Exit after running for this long (format example: 2h10min) --exit-after-modules <EXIT_AFTER_MODULES> Exit after running this many modules --print-completions <shell> Generate completion file for a shell [possible values: bash, elvish, fish, powershell, zsh] --print-manpage Generate man page -h, --help Print help -V, --version Print version ### 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: - Make sure `CHANGELOG.md` is up to date. - `cargo release <version>` - `cargo release --execute <version>` - Releases will automatically be deployed by GitHub Actions. - Update Arch package. ", Assign "at most 3 tags" to the expected json: {"id":"9005","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"