ThreadCount Community edition

Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from 49da3a4 on 2026-09-13. Licensed under the Functional Source License (FSL-1.1-ALv2).
This commit is contained in:
ThreadCount
2026-09-13 11:38:24 +10:00
commit 96d5c10537
274 changed files with 43338 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
/* Which edition this process is.
*
* Hosted is threadcount.tech: plans, the demo, the public site, and its own error reports and
* usage statistics. Community is the product run by a
* facility on its own server, from the Dockerfile, with EDITION=community in the environment:
* every feature a room uses, no plans, no ceiling, nothing reported anywhere.
*
* Server-side only — the browser bundle never sees EDITION. Client code that must behave
* differently off threadcount.tech decides by hostname instead (components/Analytics.tsx,
* lib/glitchtip.ts), which has the same effect and needs no build-time flag. */
export const COMMUNITY = process.env.EDITION === "community";