A · leads
PostHog
94.7
40,849 stars · MIT
Analytics
PostHog leads by 9.0 · clear
A · leads
94.7
40,849 stars · MIT
B
85.7
10,214 stars · AGPL-3.0
PostHog versus ua-parser-js is a Analytics comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. PostHog is written mainly in Python; ua-parser-js is written mainly in JavaScript. The composite score is 94.7 for PostHog and 85.7 for ua-parser-js.
PostHog has 40,849 GitHub stars to ua-parser-js's 10,214, a gap of 30,635 (4.00×). Forks are 3,696 for PostHog and 1,219 for ua-parser-js. On the log scale used inside this pair, adoption is 100 versus 87, and the fork community is 100 versus 86.
Push history: PostHog was last pushed on 17 November 2026 (0 days ago), and ua-parser-js was last pushed on 11 November 2026 (6 days ago). Open issues stand at 4,463 for PostHog (0.109 per star) and 21 for ua-parser-js (0.002 per star). Issue-health scores are 52 and 96; activity scores are 100 and 92.
PostHog is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. ua-parser-js is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. License scores in this pair are 96 for PostHog and 52 for ua-parser-js. This is a procurement signal, not legal advice.
In Analytics, both PostHog (40,849 stars) and ua-parser-js (10,214 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: PostHog is freemium, ua-parser-js is open source.
The lead is split. PostHog is furthest ahead on license flexibility (96 to 52), while ua-parser-js is furthest ahead on issue health (96 to 52). Choose the dimension a rollout cannot compromise on.
PostHog finishes ahead at 94.7 against ua-parser-js at 85.7, a 9.0 point clear margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | PostHog | ua-parser-js |
|---|---|---|
| GitHub stars | 40,849 | 10,214 |
| Forks | 3,696 | 1,219 |
| Open issues | 4,463 | 21 |
| Adoption | 100 | 87 |
| Activity | 100 | 92 |
| Community | 100 | 86 |
| Issue health | 52 | 96 |
| License | 96 | 52 |
| Self-hosting | 100 | 100 |
| Composite | 94.7 | 85.7 |
PostHog is a product-analytics suite: events, funnels, session replay, and feature flags. The core is open source and most teams choose between self-hosting and PostHog Cloud.
UAParser.js: The Essential Web Development Tool for User-Agent Detection. Detect Browsers, OS, Devices, Bots, Apps, AI Crawlers, and more. Run in Browser or Node
PostHog has more GitHub stars: 40,849 versus 10,214 for ua-parser-js. The gap is 30,635 stars.
PostHog was pushed more recently: 17 November 2026 versus 11 November 2026 for ua-parser-js. That is 6 days apart.
Yes. This catalog marks both PostHog and ua-parser-js as self-hostable. Confirm each project's deploy docs before you plan a migration.
PostHog is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. ua-parser-js is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
PostHog scores 94.7 and ua-parser-js scores 85.7. This page calls that a clear lead for PostHog.