ms-jpq / gay Goto Github PK
View Code? Open in Web Editor NEWColour your text / terminal to be more gay. π³οΈβπ
License: MIT License
Colour your text / terminal to be more gay. π³οΈβπ
License: MIT License
instructions unclear, i am now a transfem :3
Ce soir y a le swatt chez toi sale batard ont va te retrouver j'vais te faire bouffer le bΓ©ton sale pute
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
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?
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.
lolcat
maps its rainbow gradient into the 2d dimensions of the terminal smoothly, so that neighbouring lines get similar colours. For example (comparison):
It would be nice to do the same thing lolcat does, to have it look something like this instead:
This probably means switching from the generator-based rgb_gen to some sort of function of terminal coodinates.
Add option to use just base 16 colors of terminal, thanks!
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:
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:
Hi!
Would you be up for taking a filepath as a positional argument? So that gay
can be used as an alternative to cat
. So that you can do
gay README.md
as well as what you can already do:
cat README.md | gay
# or
gay <README.md
gay men
aromantic
etc
Can you please tag releases? It would make it easier to package in nixpkgs and other package managers.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.