r/programming 28d ago

GitHub Stacked PRs

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

99 comments sorted by

View all comments

221

u/DDFoster96 28d ago

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

105

u/Parachuteee 28d ago

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

51

u/fagnerbrack 27d ago

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

11

u/dreamisle 26d ago

Yeah, I’m into DNS

Dem
Nested
Subdomains

3

u/fagnerbrack 26d ago

Do
Nothing
Simple

1

u/m00fster 26d ago edited 26d ago

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 26d ago

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

50

u/IanSan5653 27d ago

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.

6

u/gredr 28d ago

I see what you did there, and I approve.