Giter Site home page Giter Site logo

skwalexe / typrint Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 254 KB

โŒจ๏ธ Print text with a typing effect - Made with rust ๐Ÿฆ€

Home Page: https://skwalexe.github.io/typrint

License: MIT License

Rust 95.55% Dockerfile 2.52% Makefile 1.92%
typewriter print fun skwalexe

typrint's Introduction

typrint โŒจ๏ธ

โŒจ๏ธ Print text with a typing effect - Made with rust ๐Ÿฆ€

Installation ๐Ÿ“ฆ

Arch Linux ๐Ÿง

typrint is in the AUR

yay -S typrint

Other ๐ŸชŸ๐Ÿง

With make - Linux ๐Ÿง

Run make

# ๐Ÿ“‚ typrint/
make

Build from source - Linux ๐Ÿง & Windows ๐ŸชŸ

Clone this repo

git clone https://github.com/SkwalExe/typrint.git

build with cargo

# ๐Ÿ“‚ typrint/
cargo build --release

[ LINUX ONLY ] : Move the binary

# ๐Ÿ“‚ typrint/
sudo cp target/release/typrint /usr/bin/typrint

On windows the executable will be target\release\typrint.exe you can move it wherever you want.

Usage ๐Ÿ“

Docker ๐Ÿณ

Run the latest version

docker run --rm -it ghcr.io/skwalexe/typrint:main

Test your changes ๐Ÿšง

Build ๐Ÿ› ๏ธ

# ๐Ÿ“‚ typrint/
docker build -t typrint .

Run ๐Ÿƒ

docker run --rm -it typrint [OPTIONS]

Uninstall ๐Ÿ—‘

With make

Run make uninstall

# ๐Ÿ“‚ help-ukraine/
make uninstall

Or

Just remove the binary

sudo rm /usr/bin/typrint

final

If you have any problem, don't hesitate to open an issue

contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

typrint's People

Contributors

imgbot[bot] avatar skwalexe avatar

Stargazers

 avatar

Watchers

 avatar

typrint's Issues

[BUG] : random speed is always true in 0.1.0 - fixed in 0.1.1

Hey, just found out there is a bug with the --random-speed option, this options sets random_speed to true but it is true by default so it is never false

...
let mut args: Vec<String> = std::env::args().collect(); // arguments vector
let mut speed = 70; // the delay in milliseconds between each chars
let mut random_speed = true; // if the speed is random between 20 and speed
args.remove(0); // remove the program name
...
"--random-speed" | "-r" => {
                random_speed = true;
                args.remove(0);
}

If you have this problem just update to 0.1.1

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.