Skip to content

Commit

Permalink
initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
lunasorcery committed Jun 17, 2020
0 parents commit 4725d89
Show file tree
Hide file tree
Showing 7 changed files with 809 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2

workflows:
version: 2
dist-compile:
jobs:
- build

jobs:
build:
docker:
- image: gcc:8.2
steps:
- checkout
- run: make
- run: ./pridecat --help
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vscode/
.DS_Store
pridecat
408 changes: 408 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CXX ?= clang

all: pridecat

pridecat: main.cpp
$(CXX) main.cpp -o pridecat -std=c++11 -lstdc++ -Wall -Wextra -O3

install: pridecat
cp pridecat /usr/local/bin/pridecat

uninstall:
rm -f /usr/local/bin/pridecat

clean:
rm -f pridecat
74 changes: 74 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# pridecat

Like **cat**, but more colorful - inspired by [lolcat](https://github.com/busyloop/lolcat).

Colorize your terminal output with pride!

![](docs/screenshot.png)

## Flags

```
--asexual,--ace
Asexual pride flag designed by AVEN user 'standup' in 2010
--bisexual,--bi
Bisexual pride flag designed by Michael Page in 1998
--genderqueer
Genderqueer pride flag designed by Marilyn Roxie in 2011
--lgbt
Classic 6-color rainbow flag popular since 1979
--lgbt-1978
Original 8-color rainbow flag designed by Gilbert Baker in 1978
--lipstick-lesbian,--pink-lesbian
Lipstick lesbian pride flag designed by Natalie McCray in 2010
--new-lesbian
New lesbian pride flag designed by Emily Gwen in 2018
--nonbinary,--enby,--nb
Non-binary pride flag designed by Kye Rowan in 2014
--pansexual,--pan
Pansexual pride flag designed by Evie Varney in 2010
--transgender,--trans
Transgender pride flag designed by Monica Helms in 1999
```

## Additional options

```
-f,--force
Force color even when stdout is not a tty
-t,--truecolor
Force truecolor output (even if the terminal doesn't seem to support it)
-h,--help
Display the help page
```

## Building

On any *nix system it _should_ be as simple as:

```
git clone https://github.com/lunasorcery/pridecat.git
cd pridecat
make && make install
```

This depends on a recent (C++11) C++ compiler being available. If you encounter issues, please let me know.

## Windows support?

Not presently available. It might work out-of-the-box in WSL but this hasn't been tested.

## License

**pridecat** is made available under the Creative Commons Attribution-NonCommercial 4.0 International license.
Binary file added docs/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4725d89

Please sign in to comment.