Need advice about which tool to choose?Ask the StackShare community!

Gogs

171
301
+ 1
182
Sourcegraph

99
123
+ 1
8
Add tool

Gogs vs Sourcegraph: What are the differences?

Developers describe Gogs as "A self-hosted Git service written in Go". The goal of this project is to make the easiest, fastest and most painless way to set up a self-hosted Git service. With Go, this can be done in independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, and Windows. On the other hand, Sourcegraph is detailed as "Code search and code intelligence for you and your team". Sourcegraph is a code search engine that lets you search across hundreds of thousands of libraries and browse code in the same way you can do in a great IDE. Search for a function, see live examples of how it’s used by other repositories, and jump to the definition of other code around it—even if the definition is in a completely different repository.

Gogs belongs to "Code Collaboration & Version Control" category of the tech stack, while Sourcegraph can be primarily classified under "Code Search".

Some of the features offered by Gogs are:

  • Activity timeline
  • SSH/HTTP(S) protocol support
  • SMTP/LDAP/reverse proxy authentication support

On the other hand, Sourcegraph provides the following key features:

  • Search open source and private code repositories by function or package
  • find usage examples
  • jump to definition

"Self-hosted github like service" is the primary reason why developers consider Gogs over the competitors, whereas "Understand the connections between code components" was stated as the key factor in picking Sourcegraph.

Gogs is an open source tool with 30.6K GitHub stars and 3.54K GitHub forks. Here's a link to Gogs's open source repository on GitHub.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Gogs
Pros of Sourcegraph
  • 36
    Self-hosted github like service
  • 31
    Very low memory footprint
  • 29
    Easy to install / update
  • 17
    Lightweight (low minimal req.) runs on Raspberry pi
  • 16
    Single binary deploy no dependencies
  • 14
    Open source
  • 12
    Cross platform (MacOS, Windows, Linux ...)
  • 11
    Wiki
  • 10
    Issue tracker
  • 3
    Great UI
  • 3
    LDAP Support
  • 4
    Understand the connections between code components
  • 4
    Discover why code works the way it does

Sign up to add or upvote prosMake informed product decisions

What is Gogs?

The goal of this project is to make the easiest, fastest and most painless way to set up a self-hosted Git service. With Go, this can be done in independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, and Windows.

What is Sourcegraph?

Sourcegraph is a universal code search tool that lets you find and fix things across ALL your code -- any code host, any repo, any language. Stay in flow and find your answers quickly with smart filters, and more.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Gogs?
What companies use Sourcegraph?
See which teams inside your own company are using Gogs or Sourcegraph.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Gogs?
What tools integrate with Sourcegraph?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Gogs and Sourcegraph?
Gitea
Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD. It published under the MIT license.
GitLab
GitLab offers git repository management, code reviews, issue tracking, activity feeds and wikis. Enterprises install GitLab on-premise and connect it with LDAP and Active Directory servers for secure authentication and authorization. A single GitLab server can handle more than 25,000 users but it is also possible to create a high availability setup with multiple active servers.
GitBucket
GitBucket provides a Github-like UI and features such as Git repository hosting via HTTP and SSH, repository viewer, issues, wiki and pull request.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Bitbucket
Bitbucket gives teams one place to plan projects, collaborate on code, test and deploy, all with free private Git repositories. Teams choose Bitbucket because it has a superior Jira integration, built-in CI/CD, & is free for up to 5 users.
See all alternatives