Git Product home page Git Product logo

confetty's Introduction

Confetty

Confetti (or fireworks) inside your terminal.

Confetti in your TTY

Fireworks in your TTY

Installation

go install github.com/maaslalani/confetty@latest

Preview

Get confetty in your terminal without installing through SSH.

ssh -p 2222 ssh.caarlos0.dev # Confetti
ssh -p 2223 ssh.caarlos0.dev # Fireworks

Usage

confetty
confetty fireworks

Press any key to cause more confetti / fireworks to appear. Ctrl-C or q to exit.

Why?

¯\_(ツ)_/¯

confetty's People

Contributors

ankush avatar caarlos0 avatar maaslalani avatar mattn avatar mrmelon54 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

confetty's Issues

Enhancement request: Add text modal

Would be nice to be able to pass a message to confetty -m "You win!" that created some kind of modal or title to show what is being celebrated

[Feature] Moving starting point (e.g. using arrow keys)

I was just a bit confused when I found out that pressing any key casts a new confetti, but pressing arrow keys doesn't do anything different from any other key.

I'd intuitively expect arrow keys to move the confettis in any direction. Or at least left/right, which would be even more expectable from fireworks since they're launched from bottom to top. By the way, moving fireworks horizontally "mid-air" just sounds dynamic and cool.

I have not tried to implement this myself (yet?), but since fireworks are launched from a random point that is (!) available on the screen, and the confettis are centered relative to the screen, I take it as not too hard of a task.

P.S. The confettis remind me of cmatrix

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.