Hacker News new | past | comments | ask | show | jobs | submit login


Gitly is my side project I've been working on for a couple of months. It is an open source repository manager with a focus on performance, ease of use, and productivity (especially for larger projects).

It's still in an early alpha stage, a lot of features are missing. The source code and the ability to self-host will be available within a month.

There's GitHub, Bitbucket, GitLab, gogs. Why create another solution? Gitly has been designed to be very fast and ridiculously easy to maintain. It is much faster than all of the above. It also offers a couple of unique features.

You can self-host gitly in 10 seconds. It has no dependencies, and doesn't require a database or a web server. Updates are automatic and seamless. It's easier to set up than gitweb! At the same time gitly is going to have the same features GitHub/GitLab offer, and even more.

How fast is gitly? Every single page takes less than 0.5s to load, no matter how big the project is. There are no JS libraries used (in fact, there's barely any JS at all), so the client side performance is great.

You can host your repositories on gitly.io, and it offers the same high performance. Cloning the entire Spring framework on gitly.io takes 11 seconds. On GitLab.com it took 7 minutes and 50 seconds. Of course GitLab.com is massive. However, the way gitly was built, performance will always be this good: it can be scaled horizontally very easily. And if you host it locally, the cheapest 256 MB instance should be enough for most users.

Gitly works great with large projects. I successfully tested it with a 10 year old repository with 4 million lines of code. Bitbucket took almost an hour to cache. Gogs crashed, and I didn't manage to install GitLab to test it locally after trying for 2 hours.

Many of the unique features are to improve productivity and help understand the code base better, which is very useful for large projects.

One of them is called "top files". It shows the largest files in any directory of the repository on one page with detailed language stats. Here's how it looks like for the Spring framework:


Another unique feature is language stats. Gitly displays detailed language stats for every single directory. This can give a better picture of the structure of the project.

One of my favorite features is the search. Unlike all other search engines, the one in gitly will search exactly what you asked for: character by character.

For example, if you are a Rust developer, and you need to search for the following declaration:

fn next(&mut self) -> Option<Self::Item> {

You type it, and you only get the results you are interested in:


Gitly also has discussions, which is like a simple forum where you can discuss the project, ask questions and so on. Mailing lists will be integrated as well.

Like most other solutions, gitly has a Trello-like issues board, and you can import all your Trello boards.

It's still an alpha. There are a couple of rough edges (e.g. markdown support is not great). Here are the missing critical features that will be implemented within the next two weeks:

- Forking, pull requests, code review. - User profile (password change, SSH keys etc) - SSH support (only HTTPS for now, making SSH authorization secure takes time)

Some of the upcoming functionality I'm excited about: - Go to definition support for most popular languages - Issues as part of the repository, so that it's possible to manage them locally - Pull request interface that would make Linus happy - Search in commit history - A way to organize a large amount of repositories

Thanks for your time, looking forward to your feedback.

Hey! I think this is a fantastic tool. There's only one thing:


This is easily worth $5 per month per user. It's Github, but lean and fast. There are very few people who would sign up at $1 per month who wouldn't sign up at $5 per month.

Also- if you're trying to make this into a business, self-hosting is something that you can get companies to pay for. Github Enterprise pricing is [obscene](https://enterprise.github.com/features#pricing) compared to the pricing for hosted, and companies pay it.

I think this is fantastic- great work.

As someone that has worked with github enterprise, I agree. Adding a self host option, and external authentication options (LDAP/AD) are needed in a self hosted product.

Thanks for your feedback. I'm glad you like it.

The pricing is not final, but I do want to keep it simple and affordable.

Let me know if you're interested in talking about pricing (probably once the work from launching settles down)- I'm working on a pricing analytics service and would love to get your thoughts/feedback.

> There are no JS libraries used (in fact, there's barely any JS at all)

Holy shit that's refreshing! I was planning on moving from GitLab to cgit + an issue tracker/wiki, but I'll give Gitly a closer look. The speed of the examples is impressive.

Thank you. I really needed that, for self-hosting. Gitlab's UX is difficult, Bitbucket Server is expensive.

It seems you're targeting many features that are way beyond an MVP. Won't you suffer from exhaustion at some point? For example, why not leveraging or extending Git's embedded GitDaemon server features?

Note that I wouldn't mind if it were a paid product, as long as it's open-source.

Yes, there are a lot of features planned, but not all of them will be released before the MVP.

> Note that I wouldn't mind if it were a paid product, as long as it's open-source.

That's what it's going to be.

Will automated repo-mirroring be in your roadmap? I've got a project I'd love to test-drive gitly on, but I know some collaborators will be hesitant to leave gitlab/github


It's really easy to implement. Expect it before Saturday.

Awesome. Count me in!

Looks nice. My vague impression of the alternatives out there: GitLab: <s>Python</s>Ruby ergo slow, hard to set up; Gogs: haven't tried but I remember they directly ripped off GitHub's UI (visually speaking) at least in the initial version, kind of shady; everything else: bad UI. So it's great to see new competitors.

Since you say it's open source, where is the source code? I was curious what the implementation looked like but didn't see a link on the website. You should add one. Or are you waiting until April 1 to release the source?

Edit: FWIW, I'm not sure "Gitly" is the best name. I'd expect something called that to be at git.ly, analogous to bit.ly. But that's just my impression.

I think Gitlab is mostly Ruby.

It's pretty much all Ruby, AFAIK.

The performance intensive parts of GitLab are written in Go, for example https://gitlab.com/gitlab-org/gitlab-workhorse/

We're working on moving the git commands to https://gitlab.com/gitlab-org/gitaly/ this will help to improve cloning speeds.

BTW The people at Booking have a lot of expertise in scaling Git. I'm sure there will be a lot Gitly there we can learn from.

I misremembered.

By the way, which mature web language is fast these days? Go is not quite there in terms of maturity, and everything else is "slow" (maybe the Microsoft stack is fast?), but I'm a web developer by trade and none of my views have been CPU-bound in... ever.

Common Lisp :)

Go is certainly there.

Go's ecosystem is as large as Python's/Ruby's/Node's? I very much doubt that.

That's great, I think this can really fill a niche.

Thanks. Looking forward to the self-hosted release. Sounds like it won't be open source, but if it's gratis or reasonably affordable I'll probably get it.

Thanks! It will be open source. The source will be released within a month.

Impressive performance - what was this built with?

Thanks. Go.

I kept hoping Gogs (or Gittea) would really take off - I love the single-binary Go philosophy. This looks fantastic. I'm afraid the killer deciding feature is going to be the hardest to implement: good code reviews. Github has recently (finally) upped their game, and added (some of) the stuff that was lacking: sending all comments at the end, rather than live as you finish typing them, tracking comments properly when new commits are pushed in response to code reviews, letting you see diffs between such in-progress pull requests, etc. Basically the stuff that Reviewable.io adds (which is basically a list of things that Google's internal tool does that Github doesn't.) :-)

Best of luck!

Thanks for this! Code review is really important, I'm going to try to make it the best in the industry.

No way to reset/change the password?

It will be implemented this week. This a very, very early release.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact