GitHub alternatives? Private vs Public

I want to setup an old laptop as a PRIVATE LAN server for serving pages/db/hosting/storing like github. I want to share within my LAN only, NOT the entire www. And was wondering what is involved etc.

The HP Pavilion DV6000 laptop (11 years old) has a clean and shiny new install of LinuxMint (Cinnamon) as of yesterday. I dumped my other install of ubuntu, it just wasn’t stable, it would lock up just idling and random wifi drops. It worked, but not like I wanted.

You can host unlimited private repositories on bitbucket for free. They currently restrict you to 5 users per repo but it looks like they are changing that to unlimited users soon. See pricing here

Or try Gogs, which might be the simplest of options:


that is an off-site solution -

that is an off-site solution - but, the community edition sounds ideal for the situation

The subject says “Github alternatives?” so I thought you were actually looking for alternatives to Github.


You missed the all caps bits about wanting a local solution.

had to use caps, cause folks on here, including mods and long-timers, can’t comprehend [stuff] …

and as usual, you deliver a smart ass answer … -.-

try boning up on your comprehension skill set …


Are both web interfaces for git repos that you can run locally.

Being a fan of Go (super easy deployment!) I like the look of that, thanks. Will keep it in mind for whenever I next want something like this.

Woah >_> these 2 links are like the next level or something or just the ooooooolld level idk

gittea is a recent fork of gogs with a focus on more community involvement. I’m thinking I’ll have to get this up and running myself.

Again, google, telecom, finance and most security conscious clients do not want their code up in the cloud accessible to the planet. Working with clients who have security at the forefront of their requirements, and want the code in-house only, all these cloud based solutions do not help. Code sitting on some cloud servers, hosted by who knows and hosted where, isn’t going to fly for these clients.

All those responding with hosted services, thanks, but no thanks. I was clear with what exactly I was looking for.

As for the others, thank you. I will check out these solutions.

I installed a GitLab docker image at work. I suggest using docker because it is much easier to backup and RECOVER than gitlab’s rake stuff. You need to adjust the configuration file to your needs (local lan, etc) what is possible with the public documentation.

Before I moved to github (I pay for it) I used Gitlab on a RPi at home. I assume that your old laptop can handle it.

1 Like

Self hosted can be fun if you’ve got spare time. gogs/gittea are preferable to Gitlab due to the footprint of the latters Ruby stack. I was able to run gogs for a while on a $5/mo digital ocean droplet.

In the end, increasing competition in the sector and impressive security features led me to drop self-hosted in favor of free private alternatives from BitBucket and Amazon. I’d definitely recommend looking into CodeCommit. TBH, I think there’s as much practical knowledge to gain from properly managing an AWS service. (plus you get a hefty 50GB free storage, only limit is the 5 users though if you’re working on teams bigger than that you might consider paying)


I don’t really have a problem with paying for a service, and I will (eventually) regardless, but a private, self hosted server would be great for stashing changes that I don’t want to lose, but am not ready to fully commit to the remote repo and want to backup. Not much security or reliability needed there as it’s just redundant anyways. Plus, I’ve already got a server I use to host my services, so what’s one more? :smiley:

1 Like

JIC for those looking into the secure, locally hosted alternatives -

We just setup gitea for our intranet site. (In place of our self hosted setup) And I am amazed at how easy it was to setup and use. I have been recommending this to everyone looking for a self hosted option.


I think you want to have something that I already used recently in my previous company “Redmine” and solution was delivering everything you need, it’s standalone project tracking system easily deployed with Ubuntu LAMP Stack or Windows, MacOSX(We used it on xUbuntu desktop HP DC 7500 Core2Duo machine with 4gb ram). My experience suggests you replace Cinamon with 16.04 xUbuntu which uses XFCE environment and is much lighter and friendly with older configurations and laptops, tested with many different configurations and was always on point, no crushes, programmable as you want it, if you know to administrate and set-up machine for LAN or LAN + remote login from outside after you secure your server.

You can see what it offers here and go download, install, set-up and play around with your team to see if it does what you want.


Redmine is a flexible project management web application. Written using the Ruby on Rails framework, it is cross-platform and cross-database.

Redmine is open source and released under the terms of the GNU General Public License v2 (GPL).

Some of the main features of Redmine are:

Multiple projects support
Flexible role based access control
Flexible issue tracking system
Gantt chart and calendar
News, documents & files management
Feeds & email notifications
Per project wiki
Per project forums
Time tracking
Custom fields for issues, time-entries, projects and users
SCM integration (SVN, CVS, Git, Mercurial, Bazaar and Darcs)
Issue creation via email
Multiple LDAP authentication support
User self-registration support
Multilanguage support
Multiple databases support


Third-party Redmine bundles
TurnKey Redmine Appliance - Provides a free lightweight Debian-based Redmine appliance (available as an ISO, virtual machine image or cloud image).
BitNami Redmine Stack - Provides an all-in-one installer and free virtual machines and cloud images for Redmine.

Pick your poison, its done in 5-10mins. for your LAN set-up environment usage and ready to go, you all register over HP DV6000 set-up as server machine and that’s it, no headaches.


edit: just want to point out that everything is kept in DB on your HP DV6000, nothing goes out of your LAN and nobody comes from outside of your LAN set-up. Classic usage is, you make new project, select people who work on it, give them tasks, deadlines, everybody pull, push and commit just like on Github or any other Git solution but in your LAN and on DV6000, Enjoy

1 Like