Giter Club home page Giter Club logo

gay's Introduction

Colour your text / terminal to be more gay.

Gayer version of lolcat

pip3 install -U gay

Show me

Text

echo 'message' | gay

help.png

-i 1d, --interpolation 1d

1d.png

-i 2d, --interpolation 2d

2d.png

Flag

gay --flag

Unlike the demo, it shows 1 flag and 1 flag only.

flags.gif

Thank yous

nshepperd for helping with 2D gradient

wrennnnnn for helping with windows

gay's People

Contributors

cybertailor avatar lond-en avatar ms-jpq 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  avatar  avatar  avatar  avatar  avatar

gay's Issues

Nondeterministic output?

I wanted to add a startup message for my terminal and colorize it with gay; however it appears gay may have some nondeterminism in its output?

Here's an example:
2022-07-28_11-32
And here's the file used in said example:
woof.txt

I have verified that this happens with other inputs, such as simpler inputs that don't use any fancy unicode, etc.
I have verified that this problem occurs in kitty and alacritty; it seems the common denominator is gay.
Also, this happens for any color scheme, not just -t.

EDIT: Okay so using the interpolation option 2d "fixes" it, though it's still not entirely deterministic:
2022-07-28_17-26

No license listed

I'd like to be able to download this (and perhaps add it to nixpkgs), but there's no license listed! Could you add a LICENSE file with your favorite in there and list it in the README as well?

Smoother transition between terminal lines

lolcat maps its rainbow gradient into the 2d dimensions of the terminal smoothly, so that neighbouring lines get similar colours. For example (comparison):

screenshot

It would be nice to do the same thing lolcat does, to have it look something like this instead:

screenshot

This probably means switching from the generator-based rgb_gen to some sort of function of terminal coodinates.

dataclasses not installed by pip

Installed via pip3 install --user gay, then ran gay -h | gay and got the following trace:

Traceback (most recent call last):
  File "/home/duncan/.local/bin/gay", line 6, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
Traceback (most recent call last):
  File "/home/duncan/.local/bin/gay", line 6, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'

So I went ahead and installed dataclasses with pip3 install --user dataclasses, which fixed it.

fait attention

Ce soir y a le swatt chez toi sale batard ont va te retrouver j'vais te faire bouffer le bΓ©ton sale pute

Better support for light backgrounds

Some of the color schemes fade to white, which makes the characters blend with lighter backgrounds. Maybe instead of fading to white, they could fade to black?

Tag releases

Can you please tag releases? It would make it easier to package in nixpkgs and other package managers.

Thanks!

Using just the command gay in cmd line will indefinetly hang

When just using the command 'gay' alone, with specific flag arguments (when you call without -f), with colour arguments, and with interpolation arguments the command will hang indefinitely. I know its not the correct use but having something to error it out, or have it randomly print a flag, would be beneficial.
Any combination of those arguments used without -f or a input command, such as 'foo | gay' will hang until user presses ctrl+c.

*btw I love this so much, thank you <3

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.