Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/svenstaro/genact
🌀 A nonsense activity generator
https://github.com/svenstaro/genact
cli fake hacktoberfest nonsense useless wasm webassembly
Last synced: 5 days ago
JSON representation
🌀 A nonsense activity generator
- Host: GitHub
- URL: https://github.com/svenstaro/genact
- Owner: svenstaro
- License: mit
- Created: 2011-02-09T08:11:05.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2024-12-01T14:31:09.000Z (about 1 month ago)
- Last Synced: 2024-12-30T16:41:39.762Z (12 days ago)
- Topics: cli, fake, hacktoberfest, nonsense, useless, wasm, webassembly
- Language: Rust
- Homepage: https://svenstaro.github.io/genact/
- Size: 10.3 MB
- Stars: 9,829
- Watchers: 84
- Forks: 423
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome - svenstaro/genact - 🌀 A nonsense activity generator (Rust)
- Awesome-GitHub-Repo - genact - 该神器会显示一些多任务场景,让看到你电脑屏幕的人都误以为你在 Coding。[<img src="https://tva1.sinaimg.cn/large/008i3skNly1gxlhtmg11mj305k05k746.jpg" alt="微信" width="18px" height="18px" />](https://mp.weixin.qq.com/s?__biz=MzUxNjg4NDEzNA%3D%3D&chksm=f9a22463ced5ad753dc826e9eb975a5585068c8275293cd2c7835f56cbd619cb7622c849749f&idx=2&mid=2247497642&scene=21&sn=ec8f2d7a4f03a40d3186e23dadfb5da3#wechat_redirect) (好玩项目 / 摸鱼神器)
- awesome - svenstaro/genact - 🌀 A nonsense activity generator (Rust)
- starred - svenstaro/genact - 🌀 A nonsense activity generator (Rust)
- awesome-dev-fun - genact - 🌀 A nonsense activity generator for your shell. (CLI)
- starred-awesome - genact - :cyclone: A nonsense activity generator (Rust)
- StarryDivineSky - svenstaro/genact
- awesome - svenstaro/genact - 🌀 A nonsense activity generator (Rust)
- awesome - svenstaro/genact - 🌀 A nonsense activity generator (Rust)
README
# 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
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-osxA 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## 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 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 Global speed factor [default: 1]
-i, --instant-print-lines Instantly print this many lines [default: 0]
--exit-after-time Exit after running for this long (format example: 2h10min)
--exit-after-modules Exit after running this many modules
--print-completions 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=memdumpYou 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 `
- `cargo release --execute `
- Releases will automatically be deployed by GitHub Actions.
- Update Arch package.