[{"data":1,"prerenderedAt":213},["ShallowReactive",2],{"seo-verification":3,"blog-rybbit-self-hosted-posthog-alternative-on-vps-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-rybbit-self-hosted-posthog-alternative-on-vps-en",{"id":9,"slug":10,"slugs":11,"title":15,"excerpt":16,"readTime":17,"views":18,"isPinned":19,"publishedAt":20,"updatedAt":21,"category":22,"categories":28,"featuredImage":30,"bgImage":31,"posterImage":32,"relatedSolution":30,"intro":33,"sections":34,"ctaTitle":143,"ctaBody":144,"ctaButton":145,"ctaUrl":146,"relatedPosts":147},486,"rybbit-self-hosted-posthog-alternative-on-vps",{"fr":12,"en":10,"ar":13,"es":14},"rybbit-analytics-self-hosted-vps-alternative-posthog","rybbit-بديل-posthog-المستضاف-ذاتيا-على-vps","rybbit-alternativa-self-hosted-posthog-en-vps","Rybbit: the self-hosted PostHog alternative on VPS","PostHog deprecated its Community Edition. Rybbit, Apache-2.0 licensed, installs in 30 minutes on a VPS and covers the same use cases without the constraints.",6,0,false,"2026-10-21T00:00:00+00:00","2026-10-21T15:21:33+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},8,"Security & Monitoring","securite-monitoring","bg-rose-500\u002F10 text-rose-400","security",[29],{"id":23,"name":24,"slug":25,"color":26,"icon":27},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Frybbit-analytics-self-hosted-vps-alternative-posthog-poster.svg","PostHog has progressively reduced its investment in self-hosted deployments, pushing teams toward PostHog Cloud. Rybbit fills this gap: a lightweight product analytics solution under the Apache-2.0 license, with over 13 000 GitHub stars since its launch in 2025, installable in under 30 minutes on a VPS.",[35,39,50,53,81,85,134,137,140],{"type":36,"title":37,"body":38},"h2","Why replace self-hosted PostHog now","PostHog ended support for its Kubernetes\u002FHelm deployment and now recommends PostHog Cloud as the primary option for high-volume setups. The Docker Compose version remains available without active support guarantees — prompting many teams to seek a better-maintained alternative. Rybbit, under the Apache-2.0 license, is now the most active solution in this segment: over 13 000 GitHub stars in under 18 months since its launch in April 2025, with a lightweight architecture focused on essential product events without PostHog's complexity.",{"type":40,"title":41,"items":42},"ul","What Rybbit brings over PostHog Community",[43,44,45,46,47,48,49],"**Apache-2.0 license** — no SSPL clause, no commercial restriction, usable in enterprise without a special agreement","**Reduced memory footprint** — 512 MB is enough to start; PostHog Community required a minimum of 4 GB RAM in basic configuration","**Simplified stack** — PostgreSQL + Redis + a single Go binary, without mandatory Kafka or ClickHouse for typical volumes","**GDPR by design** — data stored on your infrastructure, no transfer to third parties, built-in IP anonymization","**Cookie-free tracking** — identification based on fingerprint and sessions, compatible with strict consent policies","**Funnels, retention, and heatmaps** — essential product analytics functions available without a paid tier","**Compatible events API** — the event schema is close to PostHog, making migration of existing collectors easier",{"type":36,"title":51,"body":52},"Prerequisites before installation","Rybbit runs comfortably on a machine with **1 vCPU and 2 GB RAM** for volumes up to several million events per month. For higher volumes (tens of millions of events), plan for 2 vCPU and 4 GB. Storage depends on the chosen retention: count approximately 1 GB for 500,000 events with a 90-day retention.\n\nOn the software side, you need Docker Engine 24+ and Docker Compose v2. A domain name pointing to your VPS is required for the TLS certificate. Ports 80 and 443 must be open on the firewall.",{"type":54,"title":55,"steps":56},"steps","Install Rybbit on a VPS in under 30 minutes",[57,60,63,66,69,72,75,78],{"title":58,"body":59},"Update the system and install Docker","Connect to your VPS as root, then run:\n```bash\napt update && apt upgrade -y\ncurl -fsSL https:\u002F\u002Fget.docker.com | sh\nsystemctl enable --now docker\n```\nVerify Docker Compose v2 is available: `docker compose version`.",{"title":61,"body":62},"Create the working directory","```bash\nmkdir -p \u002Fopt\u002Frybbit && cd \u002Fopt\u002Frybbit\n```",{"title":64,"body":65},"Download the official Docker Compose file","```bash\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Frybbit-io\u002Frybbit\u002Fmain\u002Fdocker-compose.yml -o docker-compose.yml\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Frybbit-io\u002Frybbit\u002Fmain\u002F.env.example -o .env\n```",{"title":67,"body":68},"Configure environment variables","Edit the `.env` file and set at minimum:\n```bash\nBASE_URL=https:\u002F\u002Fanalytics.your-domain.com\nPOSTGRES_PASSWORD=a_strong_password\nJWT_SECRET=a_long_random_string\n```\nGenerate `JWT_SECRET` with: `openssl rand -hex 32`.",{"title":70,"body":71},"Start the containers","```bash\ndocker compose pull\ndocker compose up -d\n```\nVerify all services are `healthy`: `docker compose ps`.",{"title":73,"body":74},"Configure the nginx reverse proxy with TLS","Install nginx and certbot, then create `\u002Fetc\u002Fnginx\u002Fsites-available\u002Frybbit`:\n```bash\nserver {\n    server_name analytics.your-domain.com;\n    location \u002F {\n        proxy_pass http:\u002F\u002F127.0.0.1:3000;\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n    }\n}\n```\nEnable the site and obtain the certificate: `certbot --nginx -d analytics.your-domain.com`.",{"title":76,"body":77},"Create the first admin account","Go to `https:\u002F\u002Fanalytics.your-domain.com` in your browser. The initialization wizard lets you create the admin account and add your first site. Note the Site ID — you will need it for the tracking snippet.",{"title":79,"body":80},"Integrate the tracking snippet","Copy the snippet from the dashboard and add it before `\u003C\u002Fhead>` in your pages:\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fanalytics.your-domain.com\u002Fscript.js\"\n  data-site-id=\"YOUR_SITE_ID\"\n  defer>\n\u003C\u002Fscript>\n```\nThe first events appear in the dashboard in real time.",{"type":82,"title":83,"body":84},"tip","Migration from PostHog: exporting historical events","Rybbit does not offer a native import from PostHog. The simplest migration is to run both trackers in parallel for 30 days, then cut PostHog once Rybbit has accumulated enough history for your retention and funnel analyses. To export your PostHog data, use the events export API (`\u002Fapi\u002Fevent`) with pagination, and keep the JSON files as an archive — Rybbit will not consume them, but you retain traceability. Regarding GDPR compliance, Rybbit stores data only on your VPS: no transfer outside your infrastructure, and IP address anonymization can be enabled in the `.env` file via `ANONYMIZE_IPS=true`.",{"type":86,"title":87,"headers":88,"rows":93},"comparison","PostHog self-hosted vs Plausible vs Rybbit",[89,90,91,92],"Criterion","PostHog Community (deprecated)","Plausible CE","Rybbit",[94,99,103,108,113,116,120,124,129],[95,96,97,98],"License","MIT (archived, unsupported)","AGPL-3.0","Apache-2.0",[100,101,102,102],"Minimum recommended RAM","4 GB","512 MB",[104,105,106,107],"Stack","Kafka + ClickHouse + PostgreSQL + Redis","PostgreSQL + ClickHouse","PostgreSQL + Redis",[109,110,111,112],"Active support","No (Kubernetes\u002FHelm support ended, Docker Compose without active SLA)","Yes","Yes (actively growing project)",[114,111,115,111],"Funnels and retention","No (traffic analytics only)",[117,111,118,119],"Heatmaps","Yes (Clarity fork)","Yes (in beta)",[121,122,123,111],"Cookie-free tracking","No (cookies by default)","Yes (designed without cookies)",[125,126,127,128],"Events API","Yes (rich schema)","Yes (simplified schema)","Yes (schema close to PostHog)",[130,131,132,133],"GitHub stars","~25,000 (archived repo)","~20,000","~12,000 (in 21 months)",{"type":36,"title":135,"body":136},"Backup and maintain Rybbit in production","The PostgreSQL database contains all your analytics data. Schedule a daily backup with `pg_dump`:\n```bash\ndocker exec rybbit-postgres-1 pg_dump -U postgres rybbit | gzip > \u002Fopt\u002Fbackups\u002Frybbit-$(date +%Y%m%d).sql.gz\n```\nFor updates, Rybbit publishes versioned Docker images. The procedure is:\n```bash\ncd \u002Fopt\u002Frybbit\ndocker compose pull\ndocker compose up -d\n```\nCheck releases on GitHub for release notes before each update. Rybbit follows semantic versioning — minor and patch updates are safe without breaking changes.",{"type":36,"title":138,"body":139},"Is Rybbit ready for production in 2025","The maturity question is legitimate for a 21-month-old project. Rybbit is used in production by several thousand teams, according to public Docker Hub image download data. Points of caution remain real: the event ingestion API is stable, but some advanced features like feature flags and A\u002FB tests — present in PostHog — are not yet available. Heatmaps are in public beta.\n\nFor teams whose usage is limited to understanding the user journey — conversion funnels, retention rates, page and session analysis — Rybbit covers the essentials today. For teams that rely heavily on feature flags or advanced hypothesis testing, a 30 to 60-day parallel run period is recommended before the full switch. The project accepts contributions and GitHub issues are addressed quickly, which is a favorable health signal for a tool you will operate autonomously.",{"type":141,"body":142},"p","Rybbit fits into a broader trend: lightweight open source product observability tools have matured as cloud solutions raised their prices. With PostHog abandoning self-hosting, Plausible remaining focused on web traffic, and Umami targeting simple analytics, Rybbit occupies a precise niche: self-hosted product analytics for teams that want to keep control of their data without operating Kafka infrastructure. A ServOrbit entry-level VPS starting at 99 DH\u002Fmonth comfortably covers the needs of a medium-sized application.","Launch your ServOrbit Cloud VPS","A ServOrbit VPS starting at 99 DH\u002Fmonth is enough for Rybbit: 1 vCPU and 2 GB of RAM cover several million events per month.","Launch my Cloud VPS","\u002Fvps-cloud",[148,170,189],{"id":149,"slug":150,"slugs":151,"title":155,"excerpt":156,"readTime":23,"views":18,"isPinned":19,"publishedAt":157,"updatedAt":158,"category":159,"categories":164,"featuredImage":30,"bgImage":31,"posterImage":166,"relatedSolution":167},97,"plausible-vs-umami-which-self-hosted-analytics-to-choose",{"fr":152,"en":150,"ar":153,"es":154},"plausible-vs-umami","plausible-مقابل-umami-أي-أداة-تحليلات-مستضافة-ذاتيا-تختار","plausible-vs-umami-que-analitica-self-hosted-elegir","Plausible vs Umami: which self-hosted analytics to choose?","In-depth comparison of Plausible vs Umami in 2026: setup, GDPR compliance, funnels, custom events API, migration from GA4, and a decision tree to pick the right tool.","2026-03-15T00:00:00+00:00","2026-09-24T12:27:51+00:00",{"id":160,"name":161,"slug":162,"color":163,"icon":162},5,"Comparison","comparatif","bg-info\u002F10 text-info",[165],{"id":160,"name":161,"slug":162,"color":163,"icon":162},"\u002Fblog\u002Fcovers\u002Fplausible-vs-umami-poster.svg",{"categorySlug":168,"appSlug":169},"analytics","analytics-plausible",{"id":171,"slug":172,"slugs":173,"title":177,"excerpt":178,"readTime":179,"views":18,"isPinned":19,"publishedAt":180,"updatedAt":181,"category":182,"categories":183,"featuredImage":30,"bgImage":31,"posterImage":185,"relatedSolution":186},106,"vps-monitoring-with-grafana-and-prometheus",{"fr":174,"en":172,"ar":175,"es":176},"monitoring-vps-grafana-prometheus","مراقبة-الخادم-الافتراضي-vps-باستخدام-grafana-و-prometheus","monitorizacion-vps-grafana-prometheus","VPS Monitoring with Grafana and Prometheus","Deploy Prometheus 3.x, Grafana 13.x, Node Exporter and Alertmanager on your VPS with Docker Compose. Dashboards, alerts and hardening.",11,"2026-03-06T00:00:00+00:00","2026-10-05T14:05:27+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[184],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fmonitoring-vps-grafana-prometheus-poster.svg",{"categorySlug":187,"appSlug":188},"monitoring-observability","grafana",{"id":190,"slug":191,"slugs":192,"title":196,"excerpt":197,"readTime":198,"views":199,"isPinned":19,"publishedAt":200,"updatedAt":201,"category":202,"categories":208,"featuredImage":30,"bgImage":31,"posterImage":210,"relatedSolution":211},155,"how-to-host-posthog-on-a-vps",{"fr":193,"en":191,"ar":194,"es":195},"heberger-posthog-vps","كيفية-استضافة-posthog-على-خادم-vps","como-alojar-posthog-en-un-vps","How to Host PostHog on a VPS","Host PostHog on a VPS: annotated Docker Compose, MinIO for session recordings, feature flags, JS SDK. Full self-hosted analytics guide.",9,1,"2026-01-22T00:00:00+00:00","2026-10-02T14:03:20+00:00",{"id":203,"name":204,"slug":205,"color":206,"icon":207},7,"Self-hosting","self-hosting","bg-indigo-500\u002F10 text-indigo-400","cloud",[209],{"id":203,"name":204,"slug":205,"color":206,"icon":207},"\u002Fblog\u002Fcovers\u002Fheberger-posthog-vps-poster.svg",{"categorySlug":168,"appSlug":212},"analytics-posthog",1792596560139]