Six Secret Easter Eggs in GitHub (2024)

Lee Reilly for GitHub

Posted on

Six Secret Easter Eggs in GitHub (4) Six Secret Easter Eggs in GitHub (5) Six Secret Easter Eggs in GitHub (6) Six Secret Easter Eggs in GitHub (7) Six Secret Easter Eggs in GitHub (8)

#github

GitHub has quite a few Easter eggs hidden deep in the code. This post highlights a few of them - well, 6 to be exact!

Did you know: The phrase "Easter egg" was first coined in 1979 by Steve Wright, Director of Software Development at Atari. If you saw the movie Ready Player One, you'll know exactly what I'm talking about. Here's the scene where they uncover the world's first Easter egg in the classic game 'Adventure':

1. Easy as pi

I don't think there's a language that doesn't have the value for pi in it's standard/math library. But if Google is down, and you forget your high school math, you can always point your browser to a https://github.com/π.

There you'll get an ASCII art representation of Pi correct to 336 decimal places! Handy huh?

 3.141592653589793238462643383279 5028841971693993751058209749445923 07816406286208998628034825342117067 9821 48086 5132 823 06647 0938446 09550 5822317 25359 4081 2848 1117 4502 8410 2701 9385 21105 55964 46229 48954 9303 81964 4288 10975 66593 34461 284756 48233 78678 31652 71 2019091 456485 66 9234603 48610454326648 2133936 0726024914127 3724587 00660631558 817488 152092096 Via https://github.com/Legend-of-iPhoenix/ascii-pi

I believe you'll also get other representations to π by adding file extensions like .json or jpeg. Mmmm... pie.

Six Secret Easter Eggs in GitHub (9)

2. Octocats in the system

Speaking of ASCII art, did you know there's an API endpoint for Mona, GitHub's Octocat mascot? Curl or visit https://api.github.com/octocat in a browser:

curl https://api.github.com/octocat MMM. .MMM MMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMM ____________________________ MMMMMMMMMMMMMMMMMMMMM | | MMMMMMMMMMMMMMMMMMMMMMM | Keep it logically awesome. | MMMMMMMMMMMMMMMMMMMMMMMM |_ ________________________| MMMM::- -:::::::- -::MMMM |/ MM~:~ 00~:::::~ 00~:~MM .. MMMMM::.00:::+:::.00::MMMMM .. .MM::::: ._. :::::MM. MMMM;:::::;MMMM -MM MMMMMMM ^ M+ MMMMMMMMM MMMMMMM MM MM MM MM MM MM MM MM MM MM MM .~~MM~MM~MM~MM~~. ~~~~MM:~MM~~~MM~:MM~~~~ ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~

That speech bubble contains a little bit of GitHub Zen that my buddy @benbalter explains in this blog post.

🚨 WARNING: Be careful if you curl ASCII art (or anything for that matter) off of the internet. Turns out that some ASCII art is executable! 🤯

3. Everything zen

After a long day staring at a dark terminal, GitHub CLI users can take a deep breath, and take a walk through their repository's roguelike garden with gh repo garden. You can even navigate with vi keys!

Six Secret Easter Eggs in GitHub (10)

Each flower is represented by the first letter of the committer's GitHub username, and the color of each flower is the first 6 characters of the commit's SHA interpreted as a hex code.

Eg. commit b6b3d26ee50fc6540e1796d8bdc563d22da44ba5 would be #b6b3d2 (a nice lilac color). Thistle do nicely 👌

4. Spruced-up user profiles

It's not exactly a secret secret, but you you can customize your user profile by adding a special repo named after your username:

Six Secret Easter Eggs in GitHub (11)

With a little a bit of Markdown and an image or two, it's a great way to tell people about yourself, show what you're working on, etc.

If you're looking for some inspiration, check out this post featuring ten standout profile READMEs.

5. Spooktacular contributions

Once every year your contributions graph will look even more spooktacular as those lovely shades of green turn... halloweeny (is that a word?).

Six Secret Easter Eggs in GitHub (12)

6. Viewing your contributions... 80s style

If you haven't stumbled upon it yet, GitHub Skyline is a cool little visualization of your contributions for a given year. Look at mine from 2020 for example. You can download those Skylines as .stl files to print, purchase physical copies of them, and/or explore them in virtual reality.

Six Secret Easter Eggs in GitHub (13)

To activate the Easter egg, enter the Konami Code once a Skyline has loaded and you'll be transported back even further in time...

B A

Kudos to @carlesnunez for discovering it:

Six Secret Easter Eggs in GitHub (14)

Six Secret Easter Eggs in GitHub (15)

Carles Núñez Tomeo

@carlesnunez

Six Secret Easter Eggs in GitHub (16)

Skyline is a cool website from @github but you know what's cooler than that?

Finding that the website have a Konami code on its source code. Go to skyline.github.com and press the next sequence:

⬆️⬆️⬇️⬇️⬅️➡️⬅️➡️🅱🅰

Voilà! You will see the chart with a shader!!!!!

21:57 PM - 17 Feb 2021

Six Secret Easter Eggs in GitHub (17) Six Secret Easter Eggs in GitHub (18) Six Secret Easter Eggs in GitHub (19)

End of line

Top comments (9)

Subscribe

Lee Reilly

Lee Reilly

Developer Relations at GitHub. Into #gamedev #opensource. All onions are pwn.

  • Location

    Walnut Creek, CA

  • Joined

Mar 12 '21

  • Copy link

Not sure if they all work, but there are some vanilla JS, Vue, Gatsby, and more plugins for adding the Konami code to your site @ github.com/topics/konami-code and github.com/search?q=konami+code <3

eLabFTW

eLabFTW

Dev of eLabFTW, a free and open source laboratory notebook.

  • Joined

Mar 13 '21

  • Copy link

Note that github.com/π.avi replies a 406 error code: Not acceptable. First time I see that error code ^^

Lee Reilly

Lee Reilly

Developer Relations at GitHub. Into #gamedev #opensource. All onions are pwn.

  • Location

    Walnut Creek, CA

  • Joined

Apr 2 '21

  • Copy link

Will see about 301 redirecting .avi, .mp4, etc. to github.co/video 🤘🏻

skullface

skullface

i’m skullface, a designer who codes! queer white latina.

  • Location

    Cleveland, OH

  • Work

    Designer at GitHub

  • Joined

Mar 23 '21

  • Copy link

🤘🤘 Secrets aren't fun unless you share with everyone 😜

Jayanth PSY

Jayanth PSY

CSE undergrad at IIT Kharagpur

  • Location

    India

  • Joined

Mar 13 '21

  • Copy link

super cool

Manbir Singh Marwah

Manbir Singh Marwah

A blockchain community and ecosystem leader. Worked with Consensys, MetaMask, Ethereum Foundation, Binance, and scaled developer communities impacting a broad set of developers and consumers globally.

  • Education

    Master's in Business from San Francisco | Bachelor's in Engineering from India

  • Work

    Ethereum Ecosystem Builder

  • Joined

Mar 13 '21

  • Copy link

Dope stuff, as always!

DaCuteRaccoon

DaCuteRaccoon

  • Education

    Earth

  • Work

    CEO at Raccoon, Inc.

  • Joined

Oct 31 '21

  • Copy link

I made a GitHub repo for this page :)
git.io/eastereggs

Michelle Duke

Michelle Duke

Developer Advocate | Hackathon Queen | International Speaker

  • Location

    Australia

  • Education

    The University of Melbourne

  • Work

    Developer Advocate at GitHub

  • Joined

Mar 15 '21

  • Copy link

Amazing!

erica (she/her)

erica (she/her)

perpetually overcaffeinated junior dev

  • Location

    Milwaukee, WI

  • Education

    devCodeCamp

  • Work

    Junior Developer

  • Joined

Mar 12 '21

  • Copy link

These are super cool!

For further actions, you may consider blocking this person and/or reporting abuse

Six Secret Easter Eggs in GitHub (2024)

FAQs

What are Easter eggs in the code? ›

Software. In computer software, Easter eggs are secret responses that occur as a result of an undocumented set of commands. The results can vary from a simple printed message or image to a page of programmer credits or a small video game hidden inside an otherwise serious piece of software.

What are secret Easter eggs? ›

Easter eggs in movies are akin to hidden treasures buried within the cinematic landscape, waiting to be unearthed by the keenest of observers. These hidden references, inside jokes, or secret messages are delicately woven into the fabric of the film, often going unnoticed during a casual viewing.

What are Easter eggs on websites? ›

If you haven't come across them before, Easter eggs are often hidden secrets that appear on websites that rarely serve a purpose and only exist for entertainment purposes. They take on many forms and can be relatively simple or extremely elaborate.

What is an Easter egg in coding? ›

Easter eggs are undocumented features or messages that developers hide in software or hardware. Over the years, the tech industry has been famous for all sorts of humorous and weird eggs that people have managed to discover.

What is the egg code 0? ›

The first number of the egg code defines four methods of hens raising: 0, organic egg production. 1, free-range eggs. 2, deep litter indoor housing.

What are the egg codes? ›

Cracking the code of egg labels

In other words, If you notice a '0', your egg comes from an organic farm. If you notice a '1', it comes from free-range farm. If you notice a '2', it comes from a deep litter poultry farming system while a '3' means that your egg comes from a battery farm.

What are the 10 Google Easter eggs? ›

10 Hidden Google Easter Eggs
  • Solitaire. Type 'Solitaire' into your search bar to bring up the all-time classic game to enjoy at your desk!
  • Tic Tac Toe. ...
  • Flip a Coin. ...
  • Roll a Die. ...
  • What Sound Does A Cow Make? ...
  • Google in 1998. ...
  • Do a Barrel Roll. ...
  • Pacman.

Why are hidden secrets called Easter eggs? ›

In a 2003 interview, Robinett recounts that Steve Wright, an Atari manager at the time, loved the idea of hidden surprises in games because they reminded him of “waking up on Easter morning and hunting for Easter eggs.” So, the hidden features became known as Easter eggs.

What is the Google Secret 42? ›

Adams says he picked the number simply as a joke, with no deeper meaning. Google also has a calculator easter egg when one searches "the answer to the ultimate question of life, the universe, and everything." Once typed (all in lowercase), the calculator answers with the number 42.

What are the Easter eggs on Chrome? ›

Our Top 10 Favorite Google Easter Eggs:
  • Dinosaur Game.
  • Google in 1998.
  • The Answer to Life and Everything.
  • Once in a Blue Moon.
  • Flip a Coin.
  • Search for Askew#askew.
  • Blink HTML.
  • Super Mario Brothers.

What is egg in Google? ›

Google Easter Eggs are hidden functions, games or jokes that can be found in Google's Search Engine and various other products and services. They are often seen as inside jokes and serve as a creative element to surprise and amuse users.

What are hidden Easter eggs? ›

Easter eggs are secrets, tricks, and jokes hidden in pieces of media, such as TV series, movies, video games, websites, and so on. Usually hard to spot, they might reveal a new detail or clues about the story, or simply pay homage to an inspiration that the creators loved.

What is the Easter egg HTTP code? ›

TTP Status Code 418 (I'm a Teapot) An HTTP Easter Egg, which was part of an April Fools' joke. HTTP servers are not expected to implement this protocol, but if you're curious what it looks like, check out Google's Teapot page.

What are secrets in coding? ›

Secrets Management refers to the way in which we protect configuration settings and other sensitive data which, if made public, would allow unauthorized access to resources. Examples of secrets are usernames, passwords, api keys, SAS tokens etc.

What is the Easter egg response code? ›

418 — I'm a teapot: This HTTP status is used as an Easter egg in some websites, including Google.com. The server refuses the attempt to brew coffee with a teapot.

What does the Easter egg stand for? ›

Throughout history, people have given each other eggs at spring festivals to celebrate the new season. Eggs represent new life and rebirth, and it's thought that this ancient custom became a part of Easter celebrations.

What is the hidden meaning of Easter eggs? ›

The egg itself became a symbol of the Resurrection. Just as Jesus rose from the tomb, the egg symbolized new life emerging from the eggshell. In the Orthodox tradition, eggs are painted red to symbolize the blood that Jesus shed on the cross. The egg-coloring tradition has continued even in modern secular nations.

References

Top Articles
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated:

Views: 6284

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.