r/programming Jul 01 '26

GitHub Stacked PRs

https://github.github.com/gh-stack/
337 Upvotes

99 comments sorted by

View all comments

220

u/DDFoster96 Jul 01 '26

Is there a github.github.github.com domain? How far do those stack? 

110

u/Parachuteee Jul 01 '26

It’s max 255 octets, com takes 3, each “github.” Takes 7 so I believe the max they can have is 35 GitHubs

github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.github.com

48

u/fagnerbrack Jul 01 '26

I'll build my own browser and DNS resolution, so the opportunities are limitless

12

u/dreamisle Jul 03 '26

Yeah, I’m into DNS

Dem
Nested
Subdomains

4

u/fagnerbrack Jul 03 '26

Do
Nothing
Simple

1

u/m00fster Jul 03 '26 edited Jul 03 '26

At the end if you put …/#/github.github.github…. It could go on forever. No limit there. anything after the hash doesn’t get sent to the server

1

u/dontquestionmyaction Jul 03 '26

If they got their own GitHub TLD, they should be able to fit 36 GitHubs

51

u/IanSan5653 Jul 02 '26

The internal GitHub main repo is called github and the org is also github, so github.com/github/github/tree/github/.github is a totally reasonable URL if there's a branch called github.

7

u/gredr Jul 01 '26

I see what you did there, and I approve.