Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keroserene/rickrollrc
Rick Astley invades your terminal.
https://github.com/keroserene/rickrollrc
Last synced: 30 days ago
JSON representation
Rick Astley invades your terminal.
- Host: GitHub
- URL: https://github.com/keroserene/rickrollrc
- Owner: keroserene
- Created: 2013-03-04T08:37:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-10-21T21:18:53.000Z (about 1 year ago)
- Last Synced: 2024-10-01T13:02:45.033Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 4.92 MB
- Stars: 1,380
- Watchers: 27
- Forks: 157
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-terminal-art - rickrollrc
README
# rickrollrc
Bash script which [rickrolls](http://en.wikipedia.org/wiki/Rickrolling) your
terminal by playing Rick Astley’s “Never Gonna Give You Up” with ANSI 256-color
coded UTF-8 characters + audio (if available).## How to Roll
To start rickrollin’ immediately:curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash
Here is the clandestine command you can give to your friends 😈
curl -s -L https://bit.ly/3zvELNz | bash
![rickroll in xterm](http://i.imgur.com/ZAsQWtP.png)
![rickroll in mac](http://i.imgur.com/yDLaZna.png)For the record: It is not actually a good idea to make a habit of
curl $(random_script_from_the_internets) | bash"
Nevertheless, for the enhanced experience, I highly recommend the following:
./roll.sh inject
Which essentially just does:
echo "curl -s -L http://bit.ly/10hA8iC | bash" >> ~/.bashrc
For a salutary lesson in the importance of taking care what you
execute in your terminal, inspired by the classic
[sl](http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html), save the
command in a shell script called `suod` somewhere on your `PATH`. It’s
recommended to download the script for faster startup, to avoid
spoiling the surprise when you accidentally execute it for the nth
time (and also, unless you really like living dangerously, for
security, in case we are demonically possessed to replace `roll.sh`
with something evil).## Misc.
This has been tested on Arch, Debian, Ubuntu, Mac and Cygwin (so far).
To enable sound in Cygwin, install the **sox** package.Since this is a colorful hobby, you need to ensure 256-color mode is enabled or
Astley will look sad.For example, if you use GNU screen, ensure your ~/.screenrc contains something
like:termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce "on"Kudos to jart for our lovely hiptext shenanigans.
Please see our sister project: [hiptext](https://github.com/jart/hiptext), which
generates ANSI color codes for any image or video.<3,
~serene ([@kiserene](http://twitter.com/kiserene))