PostHog VS sourcegraph

Compare PostHog vs sourcegraph and see what are their differences.

PostHog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host. (by PostHog)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
PostHog sourcegraph
99 69
17,013 9,697
7.2% 2.0%
10.0 10.0
7 days ago 4 days ago
Python Go
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

PostHog

Posts with mentions or reviews of PostHog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-12.
  • How Telemetry Saved my Open-Source Platform
    3 projects | dev.to | 12 Apr 2024
    It would be a shame not to mention PostHog as the telemetry provider we are using, since it turned out to be extremely useful. Because it is hard to find people who will talk with you about your product, gathering statistics gave us a much greater insight into our users.
  • Free tools for developers to build their apps
    4 projects | dev.to | 5 Jan 2024
    6- PostHog
  • Using Analytics on My Website
    7 projects | news.ycombinator.com | 15 Dec 2023
    Hi HN, PostHog employee here. I'm working on our Web Analytics product, which is currently in beta. It's fun to see us mentioned here :)

    I should mention that we have a ton of SDKs (see https://posthog.com/docs/libraries) for back end frameworks and languages, so if you wanted to use PostHog without any client-side JS you could send pageviews and other events manually, but for the vast majority of people it makes more sense to use our JS snippet.

    Hijacking this comment to share the roadmap for web analytics https://github.com/PostHog/posthog/issues/18547. It's very much in the launch-early-and-be-embarassed phase, but I would love to hear any feedback or suggestions that people have, particularly if you're already a PostHog user.

  • Show HN: Flywheel
    1 project | news.ycombinator.com | 14 Dec 2023
    how's this different than https://posthog.com/ ?
  • Open Source alternatives to tools you Pay for
    21 projects | dev.to | 8 Dec 2023
    PostHog - Open Source Alternative to Mixpanel
  • Show HN: Monitor your webapp with minimal setup
    7 projects | news.ycombinator.com | 20 Nov 2023
  • Ask HN: Where to Store Logs?
    3 projects | news.ycombinator.com | 21 Oct 2023
    Don't insert the logs/events/analytics into your Application DB. Usually, you send those to specialist datastores (OLAP etc) that process such high volume of data. You can use something like clickhouse [0] for example or use 3rd party SAAS solutions like posthog [1] etc that are built on top of clickhouse

    [0] https://clickhouse.com

    [1] https://posthog.com

  • Ask HN: What would you use to build a mostly CRUD back end today?
    5 projects | news.ycombinator.com | 16 Sep 2023
    I may use Flask-Admin initially to offload the "CRUD" operations to have an initial prototype fast but then drop it ASAP because I don't want to write a "flask-admin application" to fight against later on. If the application is mainly "CRUD", then Flask-Admin is suitable.

    Now...

    Would you do a breakdown/list of all the jobs you've done by sector/vertical and by function/role and by application functionality?

    - [0]: https://flask.palletsprojects.com

    - [1]: https://flask-admin.readthedocs.io/en/latest

    - [2]: https://flask.palletsprojects.com/en/2.3.x/patterns/celery

    - [3]: https://sentry.io

    - [4]: https://posthog.com

    - [5]: https://www.docker.com

  • Ask HN: Who is hiring? (July 2023)
    16 projects | news.ycombinator.com | 3 Jul 2023
    PostHog | Remote (US/Europe timezones) | Full stack engineer, technical ex-founder, tech lead | https://posthog.com

    PostHog is the only open-source Product OS, combining product analytics, session recordings, feature flags, cdp and a data warehouse in one.

    We have a culture of written async communication (see our handbook [0]), lots of individual responsibility and an opportunity to make a huge impact. Being fully remote means we're able to create a team that is truly diverse. We're based all over the world, and the team includes former YC founders, CTOs turned developers and recent grads.

    To apply see https://posthog.com/careers or email us [email protected]

    [0] https://posthog.com/handbook/

  • planetsin.space -- a PI management and reminder tool
    1 project | /r/Eve | 3 Jul 2023
    There seems to be posthog.com analytics and AB or feature flag functionality that is blocked by adblockers. Probably that?

sourcegraph

Posts with mentions or reviews of sourcegraph. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-01.
  • Ask HN: Who is hiring? (March 2024)
    12 projects | news.ycombinator.com | 1 Mar 2024
    Sourcegraph | REMOTE | Full-Time | Machine Learning Engineer, Developer Advocate, Enterprise Product Manager, Technical Advisor | https://sourcegraph.com

    Sourcegraph is a code AI platform that makes it easy to read, write, and fix code–even in big, complex codebases.

    We are building Cody, an AI coding assistant that uses code search and code intelligence to help devs quickly understand what's happening in code and generate new code that matches the best practices in your codebase. Cody supports AI-enabled autocompletion, fixing bugs, refactoring, test generation, code explanation, and answering high-level questions. You can read Steve Yegge's post on why Cody's code context engine differentiates it from the fast-moving field of AI dev tools: https://about.sourcegraph.com/blog/cheating-is-all-you-need.

    Apply here: https://grnh.se/0572f98b4us

  • Architecture.md (2021)
    4 projects | news.ycombinator.com | 24 Feb 2024
    That's pretty much what https://sourcegraph.com/ are selling, is it not?
  • Tell HN: GitHub is blocking search unless you are logged in
    1 project | news.ycombinator.com | 10 Feb 2024
    Despite their shitty rug-pull <https://github.com/sourcegraph/sourcegraph/pull/53345>, I do really like Sourcegraph and one doesn't (currently?!) need to be logged in to use it: https://sourcegraph.com/search and they have a handy rewrite pattern such that one can just plug the repo path into the URL for quick searching e.g. https://sourcegraph.com/github.com/JetBrains/intellij-commun...
  • My 2024 AI Predictions
    3 projects | news.ycombinator.com | 8 Jan 2024
    - https://sourcegraph.com is pivoting and building a copilot application (named Cody). This is pretty good, since sourcegraph is great at understanding your code
  • The Curse of Docker
    4 projects | news.ycombinator.com | 26 Nov 2023
    While a readable Dockerfile can work as documentation, there are a few caveats:

    * the application needs to be designed to work outside containers (so, no hardcoded URLs, ports, or paths). Also, not directly related to containers, but it's nice if it can be easily compiled in most environments and not just on the base image.

    * I still need a way to notify me of updates; if the Dockerfile just wgets a binary, this doesn't help me.

    * The Dockerfiles need to be easy to find. Sourcegraph's don't seem to be referenced from the documentation, I had to look through their Github repos to find https://github.com/sourcegraph/sourcegraph/tree/main/docker-... (though most are bazel scripts instead of Dockerfiles, but serve the same purpose)

  • Building Reddit’s Design System on iOS
    5 projects | /r/RedditEng | 27 Sep 2023
    We use Sourcegraph, which is a tool that searches through code in repositories. We leverage this tool in order to understand the adoption curve of our components across all of Reddit. We have a dashboard for each of the platforms to compare the inclusion of RPL components over legacy components. These insights are helpful for us to make informed decisions on how we continue to drive RPL adoption. We love seeing the green line go up and the red line go down!
  • Launch HN: GitStart (YC S19) – Remote junior devs working on production PRs
    8 projects | news.ycombinator.com | 7 Aug 2023
    SourceGraph: https://github.com/sourcegraph/sourcegraph/pulls?q=is%3Apr+a...
  • Sourcegraph is no longer Open Source
    1 project | /r/patient_hackernews | 4 Jul 2023
    1 project | /r/hackernews | 4 Jul 2023
    1 project | /r/hypeurls | 4 Jul 2023

What are some alternatives?

When comparing PostHog and sourcegraph you can also consider the following projects:

Snowplow - The enterprise-grade behavioral data engine (web, mobile, server-side, webhooks), running cloud-natively on AWS and GCP

opengrok - OpenGrok is a fast and usable source code search and cross reference engine, written in Java

Matomo - Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!

tree-sitter - An incremental parsing system for programming tools

Sentry - Developer-first error tracking and performance monitoring

Code-Server - VS Code in the browser

Plausible Analytics - Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.

theia-apps - Theia applications examples - docker images, desktop apps, packagings

Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

Vue Storefront - Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.

openreplay - Session replay and analytics tool you can self-host. Ideal for reproducing issues, co-browsing with users and optimizing your product.

Atheos - A self-hosted browser-based cloud IDE, updated from Codiad IDE