Giter Site home page Giter Site logo

hhy5277 / genact Goto Github PK

View Code? Open in Web Editor NEW

This project forked from svenstaro/genact

0.0 2.0 0.0 2.15 MB

:cyclone: A nonsense activity generator

Home Page: https://svenstaro.github.io/genact/

License: MIT License

Makefile 2.28% Rust 92.77% HTML 4.49% CSS 0.47%

genact's Introduction

genact - a nonsense activity generator

Build Status license

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

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 that suppot WebAssembly.

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

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

The help:

genact 0.3.2
Sven-Hendrik Haase <[email protected]>
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, --exitafter <EXITAFTER>    Exit after running for this long (format example: 2h10min)
    -m, --modules <MODULE>...      Run only these modules [values: bootlog, cargo, cc, composer, cryptomining, download,
                                   memdump, kernel_compile]

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

Compiling

You should have a recent version of rust and cargo installed. You don't need nightly. Then, just clone it like usual and cargo run to get output:

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

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.

Releasing

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

  • Update versions in README.md, static/index.html, Cargo.toml.
  • git commit and git tag -s, git push.
  • cargo publish
  • Releases will automatically be deployed by Travis.
  • Update AUR package.

genact's People

Contributors

floj avatar gaga5lala avatar hatzel avatar lilianmoraru avatar opatut avatar pedrorijo91 avatar svenstaro avatar walfie avatar

Watchers

 avatar  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.