News for hackers. Stuff that matters.
Re:Before GitHub by 3form on Wednesday April 29, 2026 @02:45AM (#47944911)
>To me it felt liberating to quickly create a repository attached to my name

If I remember correctly, it was also one of the few places sticking to the now-standard passing of the parameters via path rather than the '?' URL query part.

It might not seem like much now, but then the ease and simple beauty of having just github.com/user/repo - not only for web access but also cloning - was definitely some freshness factor.

Re:Before GitHub by Chaosvex on Wednesday April 29, 2026 @07:38AM (#47946925)
Definitely not. That's been a thing for at least as long as mod_rewrite has existed (and I'm sure there's prior art). It was common long before GitHub.
Re:Before GitHub by robertlagrant on Wednesday April 29, 2026 @08:52AM (#47947630)
It happened, but not as often as you'd think. In 2017 I was arguing with someone that the back button should work and URLs should be obvious in a fairly large project and they said "people are used to the back button not working - like a bank website".
Re:Before GitHub by fl4regun on Wednesday April 29, 2026 @12:06PM (#47950341)
i've seen people argue about how the back button should work this year on HN
Re:Before GitHub by Izkata on Wednesday April 29, 2026 @11:41AM (#47949974)
Path parameters has nothing to do with history replacement breaking the back button, did you mean to respond to someone else?
Re:Before GitHub by robertlagrant on Friday May 01, 2026 @04:26AM (#47972432)
That was the "URLs should be obvious" bit - sorry, it was a bit buried.
Re:Before GitHub by echelon on Wednesday April 29, 2026 @01:12PM (#47951350)
GitHub was one of the first popular places to

1. not use query params for key entities in the URL

2. to stick user identifiers at the root path! totally unheard of to occupy such an important path at that point!

Taken together, this was entirely novel. Next to nobody did this. Twitter was the one other notable example, and that's literally all I can think of.

The URL bar was so different back then. It wasn't search by default. The average tech savviness of internet users was higher. People cared about URLs despite the fact most websites had garbage cgi-bin query string slop. Lots of folks had personal domain names. People typed URLs and shared them a lot - so this was a big deal, because they were memorable, unlike the other slop URLs at the time.

To give more character - HN's urls would have been considered exceptionally nice back then. The average URL was way worse and was littered with hundreds of query parameters.

A great deal of websites put your session token in the query params. PHP had first class ways of spending "sessions" to all urls. Essentially a cookie. It was disgusting.

GitHub revolutionized urls as a product. Even today, not many companies followed suit.

They're still the gold standard.

Re:Before GitHub by wredcoll on Wednesday April 29, 2026 @06:11PM (#47955406)
Reddit did it, linked in, most social media really, this is all just a throwback to /~user/ paths from apache and other early webservers. I think slashdot used the same convention.
Re:Before GitHub by 3form on Thursday April 30, 2026 @07:53AM (#47961115)
Reddit doesn't have users at top level (point 2 of the parent post). This is I think a very distinctive factor, at least at that time.
Re:Before GitHub by ImPostingOnHN on Thursday April 30, 2026 @10:43AM (#47963329)
Top level would be your name is the tld.

2nd level would be yourname.com.

3rd level would be yourname.site.com, like LiveJournal and Blogspot had a long time ago.

4th level would be site.com/yourname, like Myspace had a long time ago, and Facebook had after that, and Github had after that.

Once you sink all the way down to the obscure depths of 4th level, there's not much difference between site.com/yourname and site.com/whatever/yourname

Re:Before GitHub by echelon on Thursday April 30, 2026 @03:27PM (#47967126)
I said "root path".

Very few companies do this. Github and Twitter are some of the only ones. And they were certainly incredibly novel at the time.

Back in the 90's and 2000s, URLs looked disgusting. Remember this [1] nonsense?

[1] https://www.php.net/manual/en/session.idpassing.php (see "example 1")

Re:Before GitHub by ImPostingOnHN on Thursday April 30, 2026 @06:26PM (#47969053)
> I said "root path".

That may be, but the user I responded to said "top level". Anyways, what looks disgusting about:

yourname.livejournal.com

yourname.blogspot.com

myspace.com/yourname

?

This was all before github, so objectively not novel by then.

Re:Before GitHub by bluedino on Wednesday April 29, 2026 @09:22AM (#47948064)
That was just a byproduct of how Rails did routing based on the URL