Trench logoTrenchOpen sourceJune logoJuneProprietary

Trench vs June

Trench is a free, self-hostable alternative to June. Here's how running it yourself compares with paying for the managed product.

Switching from June

We haven't checked whether Trench can import from June yet

If you've moved from June to Trench, tell us how it went below.

FeatureTrenchJune
Source codeOpen source (MIT)Proprietary
HostingSelf-hostedManaged by the vendor
CostFree software; you pay for your own serversSee june.so pricing
Your data livesOn your infrastructureOn the vendor's servers
Bring your June dataNot checked yet—
Lock-inLow: fork it or move hosts any timeTied to the vendor
Setup & maintenanceYou install, update and back it upHandled for you
Community1,677 stars · 66 forks—
Last code change Maintained—
Written inTypeScript—

Choose Trench if

  • You want your data on servers you control
  • You'd rather not pay per seat or per usage as you grow
  • You want to read, audit or modify the code

Stick with June if

  • You don't want to run or update servers
  • You need vendor support and SLAs out of the box
  • Your team is already deeply integrated with it

Frequently asked questions

Is Trench a good alternative to June?

Trench is an open-source trench — Open-Source Analytics Infrastructure. A single production-ready Docker image built on ClickHouse, Kafka, and Node.js for tracking events. Easily build product analytics dashboards, LLM RAGs, . It covers the same ground as June while letting you host it yourself and keep full control of your data. It has 1,677 stars on GitHub.

Is Trench free?

Yes. Trench is open source under the MIT license, so the software is free to use. Running it yourself costs whatever your server or cloud provider charges.

Can I self-host Trench?

Yes. Trench can be installed on your own server; see its repository for instructions.

Other open-source alternatives to June

See all
OpenReplay logo

OpenReplay

openreplay/openreplay

Session replay, cobrowsing and product analytics you can self-host. Best for reproducing issues and iterating on your product.

13.2KTypeScriptActive
OpenReplay vs June
Countly logo

Countly

countly/countly-server

Countly is a privacy-first, AI-powered analytics and engagement platform for understanding and optimizing customer journeys across digital applications, from desktop and mobile to IoT and connected en

5.9KJavaScriptActive
Countly vs June