Here are a handful of ones that I really like (all related to gaming):
DOOM:
http://fabiensanglard.net/doom3/index.php - A great overview of it, mentioning the third game and its variants. Their whole github is pretty great. Just worth noting that many people consider Carmack's code to be some of the best in the industry. Really worth a read.
https://github.com/fabiensanglard/Doom3-for-MacOSX-
https://github.com/id-Software/DOOM
https://github.com/id-Software/DOOM-3
Monogame:
The Open Source implementation of Microsoft's XNA game dev framework. Really well loved C# code. And they keep it very clean.
https://github.com/MonoGame/MonoGame
Battle for Wesnoth:
Famous and well loved open source 4x game
https://github.com/wesnoth/wesnoth
Rogue-Likes:
There are a bunch of rogue-likes that are open source. It's a lovely look at the evolution of the genre and old school limitations. The genre as a whole is very open source friendly.
http://rephial.org/ - Angband
https://github.com/crawl/crawl - Dungeon Crawl Stone Soup
Lastly, here is a list of open source games. I would argue a huge chunk are not that nice. But there are gems in here. https://github.com/leereilly/games
I contributed to a few open source projects over the years, but I only focused on solving the problem I had, either a bug I wanted to fix or a feature I wanted to add. Once my issue was resolved, I didn't really care much about the rest of the project. I found it was less of a learning opportunity.
That's why I created this project to really track down the codebases that you can read from start to finish and learn how they are designed and implemented. Currently it only lists a few codebases that I actually have read. They are mostly small-size projects. I'd like to hear advice on how to approach and learn from a large project.
Also, LuaJIT.
That's being said, your repository probably end up on my next issue :).
---
https://medium.com/@012parth/what-source-code-is-worth-study...
Bottle can be read from end to end, and one can understand how it works internally fairly quickly.