0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 21:49:51 +01:00
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
Go to file
Michael Matloka b7fe004d6b
chore(plugin-server): Validate fetch hostnames (#17183)
* chore(plugin-server): Validate fetch hostnames

* Only apply Python host check on Cloud

* Update tests to use valid hook URLs

* Only apply plugin server host check in prod

* Update URLs in a couple more tests

* Only check hostnames on Cloud and remove port check

* Fix fetch mocking

* Roll out hostname guard per project

* Fix fetch call assertions

* Make `fetchHostnameGuardTeams` optional
2023-09-18 14:38:02 +02:00
.devcontainer feat: Swapped to use KAFKA_HOSTS everywhere (#16109) 2023-06-19 12:15:17 +01:00
.github chore: make visual regression less sensitive to differences (#17455) 2023-09-15 11:15:43 +01:00
.husky chore: Remove OptiPNG from local dev (#17490) 2023-09-18 13:51:53 +02:00
.run fix: only use stringy distinct ids (#17255) 2023-08-31 09:26:19 +01:00
.storybook feat: Allow Markdown in item descriptions (#17241) 2023-09-18 12:16:33 +02:00
.vscode feat: Batch Exports UI rework (#16926) 2023-08-16 15:06:09 +01:00
bin chore(plugin-server): make it easier to run multiple plugin-server instances locally (#17456) 2023-09-15 08:55:46 -06:00
cdp
cypress feat: notebooks list updates on deletion (#17449) 2023-09-14 17:10:10 +01:00
docker feat(data-warehouse): Initial data warehouse setup (#16087) 2023-06-20 22:38:58 -04:00
ee feat: step towards feature folders for replay backend (#17484) 2023-09-18 13:35:59 +01:00
frontend chore(plugin-server): Validate fetch hostnames (#17183) 2023-09-18 14:38:02 +02:00
hogvm feat(hogvm): remove hogvm cohort matching (#16931) 2023-08-09 00:01:01 +02:00
openapi
playwright feat: Allow Markdown in item descriptions (#17241) 2023-09-18 12:16:33 +02:00
plugin-server chore(plugin-server): Validate fetch hostnames (#17183) 2023-09-18 14:38:02 +02:00
posthog chore(plugin-server): Validate fetch hostnames (#17183) 2023-09-18 14:38:02 +02:00
share
staticfiles
.all-contributorsrc
.dockerignore feat(hogql): local evaluation (HogVM part 2) (#16275) 2023-06-28 17:23:22 +02:00
.eslintrc.js feat: Allow Markdown in item descriptions (#17241) 2023-09-18 12:16:33 +02:00
.gitattributes
.gitignore feat(hogql): Support parametric functions (quantile) (#16166) 2023-06-30 10:59:05 +02:00
.kearc
.prettierignore
.prettierrc
babel.config.js
CHANGELOG.md fix: Removing some self-hosted upgrade paths and references (#16711) 2023-07-24 19:44:44 +02:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md fix: modify contributing.md to match current processes (#16596) 2023-07-19 15:27:54 +01:00
cypress.e2e.config.ts
depot.json
docker-compose.base.yml chore: remove buildjet (#17247) 2023-08-30 14:53:52 +02:00
docker-compose.dev-full.yml chore(data-warehouse): Make sure alias is accounted for on s3 table (#16526) 2023-07-25 10:02:28 -04:00
docker-compose.dev.yml chore(data-warehouse): Make sure alias is accounted for on s3 table (#16526) 2023-07-25 10:02:28 -04:00
docker-compose.hobby.yml chore: Update base postgres to version 15 (#17159) 2023-09-13 10:11:07 -04:00
docker-compose.playwright.yml
Dockerfile
Dockerfile.cloud
Dockerfile.playwright ci(vrt): Stop the snapshot madness (#17163) 2023-08-29 09:28:03 +02:00
gunicorn.config.py
jest.config.ts
jest.setup.ts feat: Batch Exports UI rework (#16926) 2023-08-16 15:06:09 +01:00
jest.setupAfterEnv.ts
latest_migrations.manifest feat: search more than only the notebook title (#17379) 2023-09-13 17:16:41 +01:00
LICENSE
manage.py
mypy.ini
package.json chore: Remove OptiPNG from local dev (#17490) 2023-09-18 13:51:53 +02:00
playwright.config.ts ci(vrt): Stop the snapshot madness (#17163) 2023-08-29 09:28:03 +02:00
pnpm-lock.yaml feat: Added a export csv/json button to data tables where export is available (#17402) 2023-09-14 17:40:33 +02:00
postcss.config.js
Procfile
production.Dockerfile feat(hogvm): remove hogvm cohort matching (#16931) 2023-08-09 00:01:01 +02:00
pyproject.toml
pytest.ini
README.md fix: Removing some self-hosted upgrade paths and references (#16711) 2023-07-24 19:44:44 +02:00
requirements-dev.in chore: update pytest (#16947) 2023-08-10 12:10:16 +01:00
requirements-dev.txt chore: update pytest (#16947) 2023-08-10 12:10:16 +01:00
requirements.in chore: Bump psycopg2 (#17390) 2023-09-15 15:32:20 +02:00
requirements.txt chore: Bump psycopg2 (#17390) 2023-09-15 15:32:20 +02:00
SECURITY.md
tailwind.config.js feat(hogql): remove feature flag (#15936) 2023-06-29 13:23:36 +00:00
test-runner-jest.config.js
tsconfig.dev.json
tsconfig.json
webpack.config.js chore(storybook): upgrade storybook to 7.3 (#17078) 2023-08-21 09:32:49 +02:00

posthoglogo

PRs Welcome Docker Pulls GitHub commit activity GitHub closed issues

Docs - Community - Roadmap - Changelog - Bug reports

PostHog is an all-in-one, open source platform for building better products

  • Specify events manually, or use autocapture to get started quickly
  • Analyze data with ready-made visualizations, or do it yourself with SQL
  • Gather insights by capturing session replays, console logs, and network monitoring
  • Improve your product with A/B testing that automatically analyzes performance
  • Safely roll out features to select users or cohorts with feature flags
  • Connect to external services and manage data flows with PostHog CDP

PostHog is available with hosting in the EU or US and is fully SOC 2 compliant. It's free to get started and your first 1 million events (and 15k replays) are free every month. We're constantly adding new features, such as user surveys!

Table of Contents

Get started for free

The fastest and most reliable way to get started with PostHog is signing up for free to PostHog Cloud or PostHog Cloud EU. Your first 1 million events (and 15k replays) are free every month, after which you pay based on usage.

Open-source hobby deploy (Advanced)

You can deploy a hobby instance in one line on Linux with Docker (recommended 4GB memory):

 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)" 

Open source deployments should scale to approximately 100k events per month, after which we recommend migrating to a PostHog Cloud instance. See our docs for more info and limitations.

PostHog has sunset support for self-hosted K8s deployments.

Features

ui-demo

Want to find out more? Request a demo!

PostHog brings all the tools and data you need to build better products.

Analytics and optimization tools

  • Event-based analytics: Capture your product's usage automatically, or customize it to your needs
  • User and group tracking: Understand the people and groups behind the events and track properties about them
  • Data visualizations: Create and share graphs, funnels, paths, retention, and dashboards
  • SQL access: Use SQL to get a deeper understanding of your users, breakdown information and create completely tailored visualizations
  • Session replays: Watch videos of your users' behavior, with fine-grained filters and privacy controls, as well as network monitoring and captured console logs
  • Heatmaps: See where users click and get a visual representation of their behaviour with the PostHog Toolbar
  • Feature flags: Test and manage the rollout of new features to specific users and groups, or deploy flags as kill-switches
  • A/B and multivariate experimentation: run simple or complex changes as experiments and get automatic significance calculations
  • Correlation analysis: Discover what events and properties correlate with success and failure

Data and infrastructure tools

Read a full list of PostHog features.

Docs and support

Read how to integrate, and extend an open-source 'Hobby' deployment of PostHog in our documentation.

Check out our tutorials for step-by-step guides, how-to's, and best practices.

Learn more about getting the most out of PostHog's features in our product manual.

Ask a question to get support.

Contributing

We <3 contributions big and small. In priority order (although everything is appreciated) with the most helpful first:

Philosophy

Our mission is to increase the number of successful products in the world. To do that, we build product and data tools that help you understand user behavior without losing control of your data.

In our view, third-party analytics tools do not work in a world of cookie deprecation, GDPR, HIPAA, CCPA, and many other four-letter acronyms. PostHog is the alternative to sending all of your customers' personal information and usage data to third-parties.

PostHog gives you every tool you need to understand user behavior, develop and test improvements, and release changes to make your product more successful.

PostHog operates in public as much as possible. We detail how we work and our learning on building and running a fast-growing, product-focused startup in our handbook.

Open-source vs. paid

This repo is available under the MIT expat license, except for the ee directory (which has it's license here) if applicable.

Need absolutely 💯% FOSS? Check out our posthog-foss repository, which is purged of all proprietary code and features.

To learn more, book a demo or see our pricing page.

Were hiring!

Come help us make PostHog even better. We're growing fast and would love for you to join us.

Contributors 🦸