- TypeScript 87.9%
- JavaScript 11.8%
- CSS 0.2%
- Shell 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Bumps the production-dependencies group with 1 update: [nodemailer](https://github.com/nodemailer/nodemailer). Updates `nodemailer` from 10.6.1 to 10.6.2 - [Release notes](https://github.com/nodemailer/nodemailer/releases) - [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodemailer/nodemailer/compare/v10.6.1...v10.6.2) --- updated-dependencies: - dependency-name: nodemailer dependency-version: 10.6.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
| .claude | ||
| .github | ||
| .husky | ||
| __tests__ | ||
| components | ||
| docs/agents | ||
| e2e | ||
| e2e-prod | ||
| i18n | ||
| k8s | ||
| loadtest | ||
| public | ||
| scripts | ||
| server | ||
| services | ||
| utils | ||
| .dockerignore | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| .trivyignore | ||
| ACCESSIBILITY.md | ||
| AGENTS.md | ||
| App.tsx | ||
| AUDIT_REPORT.md | ||
| CHANGELOG.fr.md | ||
| CHANGELOG.md | ||
| CLAUDE.md | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| docker-entrypoint.sh | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| eslint.config.js | ||
| HARDENING_STATUS.md | ||
| index.css | ||
| index.html | ||
| index.tsx | ||
| LICENSE | ||
| MAINTENANCE.md | ||
| nginx.conf | ||
| nixpacks.toml | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| playwright.dual-url-flows.config.ts | ||
| playwright.dual-url.config.ts | ||
| playwright.prod.config.ts | ||
| playwright.sso.config.ts | ||
| postcss.config.js | ||
| publiccode.yml | ||
| QUICK_START_MAINTENANCE.md | ||
| railway.toml | ||
| README.md | ||
| render.yaml | ||
| retrogeminihardeningaudit.md | ||
| SECURITY.md | ||
| server.js | ||
| tsconfig.json | ||
| types.ts | ||
| VERSION | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||
RetroGemini
Private-by-design, real-time Scrum retrospectives and team health checks for organizations that need to keep their data on their own infrastructure.
RetroGemini was created at the State of Geneva and is already used by around 30 internal teams. Because candid retrospective feedback can be sensitive, our public administration cannot send it to external cloud services. RetroGemini keeps the complete application and its data under the organization's control.
This makes it a strong fit for public-sector, healthcare, finance, regulated, privacy-conscious, and air-gapped environments — or simply for teams that prefer to own their tools and data.
No external service is required at runtime. SMTP and OpenAI-compatible AI features are optional and disabled unless you configure them.
If RetroGemini solves a problem for your organization, please star the repository so more self-hosting and Agile teams can find it.
Demo board with fictional data.
Welcome phase of a retrospective: the happiness check, the phase bar and shared timer, and the live participants panel.
Health Checks tab of the dashboard: the score of each dimension, session after session.
Try it in 60 seconds
You only need Docker:
docker run --pull=always -d \
--name retrogemini \
-p 8080:8080 \
-v retro-data:/data \
jpfroud/retrogemini:latest
Open http://localhost:8080, create a team, and start a retrospective.
The named Docker volume keeps your test data across container restarts. For a production deployment, also set a stable SESSION_TOKEN_SECRET, use HTTPS through your reverse proxy, and review the configuration below.
One-click temporary demo
The Deploy to Render button above creates a free personal evaluation instance from the Docker image tagged latest.
Render's free web services sleep after 15 minutes without traffic and use an ephemeral filesystem. The demo's SQLite data is therefore cleared whenever the service sleeps, restarts, or redeploys. Use this path to explore the product, not for a real team deployment.
What teams get
| Area | Capabilities |
|---|---|
| Retrospectives | Start/Stop/Continue, 4Ls, Mad/Sad/Glad, Sailboat, KALM, DAKI, Starfish, Rose/Thorn/Bud, Hot Air Balloon, Speed Car, Lean Coffee, Three Little Pigs, and custom templates — each available in English or French, chosen per retrospective |
| Languages | English and French interface for facilitators, guests and the administration console, detected from the browser and switchable at any time; "What's New" reads in your language and invitation emails follow the sender's language |
| Guided facilitation | Icebreaker, Brainstorm, Group, Vote, Discuss, Review, and Close phases, with contextual tips and timeboxes, and the same shared countdown timer in retrospectives and health checks |
| Open boards | A retrospective with no phases, kept open for as long as you need: everyone adds, groups, moves and votes on cards from one screen (a Lean Coffee, a standing board), anonymously or not, with a participants panel listing who is connected right now. The newest cards come first, and each person can sort by votes or search the cards. The facilitator can hide the cards, turn voting off, hide the vote count and allow unlimited votes; a retrospective in progress switches between guided and open board, both ways, without losing a card |
| Live collaboration | Real-time WebSocket sync, participant presence, who is writing or proposing an action shown at the top of the participants panel, each person's votes left in the Vote phase, an avatar each person can choose (hidden in anonymous sessions), anonymous brainstorming, comments, grouping, and voting |
| Continuous improvement | Action proposals, assignees, carry-over between sessions, ROTI follow-up, reports, and team health trends |
| Team administration | Password-protected workspaces with a mandatory recovery email, member management, invitations, favorites, search, feedback hub, backup, and restore (the whole store or a single team, also from a backup file) |
| Optional AI | OpenAI-compatible ticket grouping, a review of the actions proposed in Discuss, retrospective summaries, and cross-retrospective release analysis |
| Optional Jira | Create the actions of a retrospective or health check as Jira issues in one click, from the Review step or the Dashboard, on Jira Data Center or Jira Cloud, each action then linked to its issue |
| Optional single sign-on | Sign in with your organization's account through any OpenID Connect provider (Keycloak, Microsoft Entra ID, Okta, Authentik, ADFS…): the teams you opened once with their password or an invitation link are listed at every later sign-in and open in one click |
| Enterprise deployment | SQLite or PostgreSQL, multi-pod Socket.IO adapters, Redis support, rolling-update recovery, proxies, custom CAs, Kubernetes, and OpenShift |
| Privacy | Self-hosted assets, no CDN dependency, offline and air-gapped operation, non-root container, and organization-controlled storage |
Why RetroGemini
- Your retrospective data stays with you. The core application makes no external service calls and can run on an isolated network.
- It is designed for real facilitation. Sessions follow a clear workflow rather than presenting an unstructured sticky-note board.
- It supports the work after the retro. Actions, decisions, health checks, reports, and follow-up remain visible over time.
- It starts small and scales. Use one Docker container with SQLite, or PostgreSQL plus Redis/PostgreSQL adapters for multiple pods.
- It has real organizational usage. The product is shaped by feedback from approximately 30 teams at the State of Geneva.
- It is open source with a permissive public-domain license. Use, adapt, and redistribute it without vendor lock-in.
Docker Compose
git clone https://github.com/republique-et-canton-de-geneve/RetroGemini.git
cd RetroGemini
docker compose up -d app
The application is available at http://localhost:8080, with data persisted in the retro-data volume.
Production example
Generate and keep a stable secret in your secret manager, then run:
docker run --pull=always -d \
--name retrogemini \
--restart unless-stopped \
-p 8080:8080 \
-v /path/to/retrogemini-data:/data \
-e SESSION_TOKEN_SECRET='replace-with-a-long-random-secret' \
-e SUPER_ADMIN_PASSWORD='replace-with-a-strong-admin-password' \
jpfroud/retrogemini:latest
Put RetroGemini behind an HTTPS reverse proxy before exposing it outside a trusted network.
Deployment options
Docker
Build the image yourself if you do not want to pull the published image:
docker build -t retrogemini .
docker run -d \
--name retrogemini \
-p 8080:8080 \
-v /path/to/data:/data \
retrogemini
Kubernetes / OpenShift
See the Kubernetes and OpenShift guide. The container runs as a non-root user and exposes /health and /ready probes.
Railway
- Fork this repository.
- Create a Railway project from your fork.
- Add a persistent volume mounted at
/data. - Deploy using the included
Dockerfileandrailway.toml.
Without a persistent volume, SQLite data is ephemeral and will be lost during redeployments.
Configuration
All configuration is provided through environment variables. See .env.example for the complete list.
| Variable | Description | Default |
|---|---|---|
PORT |
Server port | 3000 (8080 in Docker) |
DATABASE_URL |
PostgreSQL connection URL; PostgreSQL is used instead of SQLite when set | SQLite |
POSTGRES_HOST |
PostgreSQL host — the discrete alternative to DATABASE_URL, used when it is unset (what the Kubernetes manifests supply from the PostgreSQL Secret) |
None |
POSTGRES_PORT |
PostgreSQL port | 5432 |
POSTGRES_USER |
PostgreSQL user | None |
POSTGRES_PASSWORD |
PostgreSQL password | None |
POSTGRES_DB |
PostgreSQL database name | None |
DATA_STORE_PATH |
SQLite database path | /data/data.sqlite |
REDIS_URL |
Redis connection for the multi-pod Socket.IO adapter | Disabled |
REDIS_HOST / REDIS_PORT / REDIS_PASSWORD |
Redis connection as discrete values, when REDIS_URL is not used |
Disabled |
SMTP_HOST |
SMTP server for invitations and notifications | Disabled |
SMTP_PORT |
SMTP server port | 587 |
SMTP_SECURE |
Use TLS for SMTP | false |
SMTP_USER |
SMTP username | None |
SMTP_PASS |
SMTP password | None |
FROM_EMAIL |
Sender email address | SMTP_USER |
SUPER_ADMIN_PASSWORD |
Enable the super-admin panel | Disabled |
SESSION_TOKEN_SECRET |
Stable HMAC secret for sessions, invitation credentials and the WebSocket join handshake; use the same value on every pod (without it, a restart drops live participants out of their session); required to save a team's Jira token (encrypted with a key derived from it), and rotating it makes every team enter its token again | Random per process |
BACKUP_ENABLED |
Enable automatic server-side backups | true |
BACKUP_INTERVAL_HOURS |
Hours between automatic backups | 24 |
BACKUP_MAX_COUNT |
Maximum automatic backups to keep | 7 |
BACKUP_ON_STARTUP |
Create a backup when the server starts | true |
RESTORE_MAX_BODY_MB |
Maximum compressed restore or import upload size (the uploaded restore and the Backups tab's file import) | 128 |
RESTORE_MAX_DECOMPRESSED_MB |
Maximum decompressed restore or import size | 512 |
AUTH_RATE_LIMIT_MAX |
Rejected team-create / restore-session credentials per IP per 15 minutes. Only 401 responses count, so a legitimate user is never blocked however often they reload, and a session a password change revoked is not counted either. Counted per pod (no shared store, so a multi-pod deployment allows up to replicas × this value) |
5 |
PUBLIC_BASE_URL |
Canonical public URL used to build mailed links. Required to send password-reset email — that mail carries a live token and its caller is anonymous, so without a configured origin the route answers 501 public_base_url_not_configured rather than trusting the request's Host. Invitations are authenticated and fall back to the request origin when it is unset. May include a sub-path |
None (invitations fall back to the request origin) |
CORS_ORIGIN |
Restrict Socket.IO CORS to specific origin(s) | * |
PROXY_BASE_URL |
Optional additional HTTPS application URL, such as https://tools.example.org/retrogemini/. The proxy preserves Host and strips the prefix. Assets, APIs, WebSockets and generated links use that prefix for its exact configured host. |
Disabled |
TRUST_PROXY |
Express trust-proxy setting | 1 in production |
LOG_FORMAT |
json writes one line of JSON per log record — timestamp, level, source, message and the request/socket correlation id — which a cluster log aggregator can query; text keeps the human-readable console output. Secrets are redacted in both |
json in production, text otherwise |
OIDC_ENABLED |
true turns on the optional single sign-on; off, the application is exactly as without it. Requires a stable SESSION_TOKEN_SECRET |
Disabled |
OIDC_ISSUER_URL |
The OpenID provider's issuer, exactly as its discovery document names it (Keycloak: https://<host>/realms/<realm>). Use https: plain http is accepted for an intranet without TLS, but then anyone on the network path can sign in as anyone |
None |
OIDC_CLIENT_ID |
The client registered at the provider | None |
OIDC_CLIENT_SECRET |
Its secret; unset for a public client, which proves itself with PKCE alone | None |
OIDC_TOKEN_AUTH_METHOD |
client_secret_basic, client_secret_post or none |
client_secret_basic with a secret, none without |
OIDC_SCOPES |
Scopes asked for; openid is always added |
openid profile email |
OIDC_REDIRECT_URI |
The callback address, ending with /api/auth/oidc/callback |
Derived from each request |
OIDC_PROVIDER_NAME |
The login button says "Sign in with …" | SSO |
OIDC_PROVIDER_LOGOUT |
true: Logout also ends the provider's session (RP-initiated logout) |
false |
WIFI_SSID |
Wi-Fi name for an optional offline-network QR code | Disabled |
WIFI_PASSWORD |
Wi-Fi password for the optional QR code | Disabled |
PG_POOL_MAX |
PostgreSQL connections per pod; keep replicas × PG_POOL_MAX under the database's max_connections |
10 |
SESSION_CACHE_MAX |
Live sessions cached in memory per pod (bounds memory only — session state is always recoverable from the database) | 500 |
SESSION_CACHE_MAX_MB |
Total size, in MB of session JSON, of the per-pod session cache, beside SESSION_CACHE_MAX's count (bounds memory only; the session just written is never evicted) |
32 |
SOCKET_MAX_BUFFER_SIZE |
Maximum Socket.IO message size in bytes (caps one session update) | 1000000 |
SOCKET_UPDATE_RATE |
Sustained session updates per second allowed per socket. Off by default and off in the shipped manifest — enable it only if the deployment is reachable beyond your internal network, or if a runaway client is actually observed. Start at 20 (timer sync is ~1/s per client). A throttled write is healed with the authoritative state and re-sent, never dropped |
0 (disabled) |
SOCKET_UPDATE_BURST |
Short update burst allowed above the sustained rate | 2 × rate |
LAST_CONNECTION_DEBOUNCE_MS |
Minimum interval between refreshes of a team's last-connection date on join (avoids a write storm when a whole session reconnects) | 300000 |
ROSTER_BROADCAST_DEBOUNCE_MS |
Debounce window for coalescing roster rebroadcasts (avoids an O(N²) reconnect stampede); 0 broadcasts synchronously |
250 |
Data persistence
RetroGemini supports two database backends:
- SQLite for a simple single-container or single-pod deployment.
- PostgreSQL for production and multi-pod deployments.
For SQLite, the server tries these locations in order:
DATA_STORE_PATH/data/data.sqlite/tmp/data.sqlite— ephemeral./data.sqlite
A warning is logged when ephemeral storage is used.
For multiple pods, Socket.IO uses Redis when REDIS_URL or REDIS_HOST is configured. Otherwise it uses the PostgreSQL adapter when PostgreSQL is the data store.
Corporate proxy and custom CA
The server makes outbound HTTP calls for three optional features only: the AI
endpoint, Jira and the single sign-on provider. Node.js does not read HTTP_PROXY or
HTTPS_PROXY on its own, so setting them alone changes nothing. Set
NODE_USE_ENV_PROXY=1 as well — Node.js's own switch (Node 22.21 / 24.5 and
later; the image runs Node 26), not a RetroGemini setting — and list in
NO_PROXY every host the server must reach directly: an internal Jira or LLM
endpoint above all, which a corporate proxy usually cannot reach.
export NODE_USE_ENV_PROXY=1
export HTTPS_PROXY=http://proxy.example.com:8080
export HTTP_PROXY=http://proxy.example.com:8080
export NO_PROXY=localhost,127.0.0.1,jira.internal.example
export NODE_EXTRA_CA_CERTS=/path/to/corporate-ca.crt
NODE_EXTRA_CA_CERTS adds your organization's CA, for an internal Jira or LLM
endpoint or a TLS-inspecting proxy; prefer it to the "allow self-signed
certificates" switches of the AI and Jira settings, which turn certificate
checking off. SMTP does not go through the HTTP proxy. The same variables can be
configured in Docker Compose, Kubernetes, or OpenShift.
Jira
Teams can create their actions as Jira issues. In the Review step of a retrospective or health check, one click sends the session's new actions not yet in Jira, and the previous actions a retrospective shows are sent one at a time; in the Dashboard's Actions tab, one click sends every open action listed there, or each one on its own. Each action then shows its issue key as a link. Jira Data Center / Server and Jira Cloud are served by the same code. It stays off until it is set up in two places:
- The super administrator connects the deployment's one Jira in the
administration console's Jira card: turn it on, enter the Jira base
URL (
https://jira.example.org, or with its context path,https://intranet.example.org/jira), press Test — an anonymous call that shows Jira's version and whether it is Cloud, saving nothing — then save. Changing the address later makes every team enter its token again: a token is bound to the address it was checked against and is never sent anywhere else. - Each team saves one Jira token in the Dashboard's Settings → Jira, and
chooses where its issues go: a project and an issue type, the sub-tasks of
one parent issue, or the sub-tasks of a parent issue RetroGemini creates for
each retrospective or health check (and one for the Dashboard's actions),
plus labels (
retrospectiveby default). In both sub-task modes, another parent issue can be named when the actions are sent.- Data Center / Server: a personal access token (Jira 8.14 or later), with the email left empty.
- Cloud: the account's email and a classic API token, not an API token "with scopes", which works only through Atlassian's API gateway and not against your site's address. Cloud API tokens expire within a year: plan to replace it.
- Use a technical account. The token belongs to the team: anyone signed in to the team, through an invitation link included, can create issues with it through RetroGemini, change where they go, and look up which projects and issue keys its account can see. Each issue carries the name the requester's browser sent, which RetroGemini cannot verify. Give that account access to the team's projects only.
The token is write-only: checked against Jira when it is saved, encrypted at rest
with a key derived from SESSION_TOKEN_SECRET, never sent back to a browser, and
not in backup archives (see SECURITY.md). Saving one therefore
requires a stable SESSION_TOKEN_SECRET other than the templates' example
value, kept in a secret store and never next to the database dumps (the two
together open every team's token), and rotating that secret makes every team
enter its token again — a newly issued one when the rotation follows a leak.
After restoring an application archive into a new database, re-enter the Jira
settings in the console, and every team its token
(k8s/README.md). After any restore to an older state,
an action sent to Jira after the backup can show as not in Jira: check the
team's Jira project before pressing "Create in Jira (N)".
The server talks to Jira, never the browser — the Content-Security-Policy
forbids the browser from doing so, and Jira Data Center sends no CORS headers.
The application pods therefore need egress to Jira, the proxy settings above
when Jira is reached through a proxy (with an internal Jira in NO_PROXY), and
NODE_EXTRA_CA_CERTS when Jira's certificate comes from an internal CA. No new
environment variable is involved.
What an issue holds: the action's text as its summary (one line, at most 255 characters), and a description naming the retrospective or health check, its date, the card the action came from, quoted in full, or for an action on a group the group's title and the full text of each of its cards, one per line, in the board's order (in anonymous sessions too, never naming an author), and who asked, written in the session's template language; the labels come from the team's target. Cards are never shortened; only Jira's own limits shorten the issue: the summary is the action's text up to 255 characters, and a description longer than 32,767 characters lists as many whole cards as fit and says how many more are in RetroGemini. The name of the person who asked is cut at 80 characters. An action whose card no longer exists (its retrospective was deleted) quotes the context saved with it, which may be shortened. In the mode with a parent issue per session, each parent issue carries the session's name and date (the team's name for the Dashboard's parent) and who asked, in the same language. Required custom fields are not supported: Jira's own message is shown instead. An action already linked to an issue is never sent again, and two clicks at once create one issue. When Jira's answer is lost, the action says it may already be in Jira and asks the facilitator to check before creating it anyway — which creates a second issue if the first one exists. The other cases where an action can reach Jira twice (a merged team whose source teams are not deleted yet, a rolling update from a release before Jira, a restore to an older state) are listed with the residuals in SECURITY.md. Nothing comes back from Jira: closing the issue does not close the action.
Single sign-on (OpenID Connect)
People can sign in with their organization's account through any OpenID
Connect provider: Keycloak, Microsoft Entra ID, Okta, Authentik, ADFS, Google…
It is off unless OIDC_ENABLED=true, and off it changes nothing.
A sign-in does not replace the team password or the invitation links: it
remembers them. The first time, people open their teams the way they always
did — the team password (the facilitator's access) or an invitation link (a
participant's) — and each team they open that way is linked to their account.
Every later sign-in lists those teams on the login screen and opens them in one
click, as the facilitator or as the member they joined as. Changing a team's
password retires every link to that team, as it already signs out every
session and voids every invitation link; a member taken off the roster loses
theirs. Logout ends the sign-in too, and with OIDC_PROVIDER_LOGOUT=true the
provider's session as well.
- Register a client at the provider: the authorization code flow, the
redirect URI
https://<your application address>/api/auth/oidc/callback(one per address people use), confidential with a secret or public (PKCES256is always sent). Who may sign in is decided there. - Set the variables of the configuration table —
OIDC_ENABLED,OIDC_ISSUER_URL,OIDC_CLIENT_IDand, for a confidential client,OIDC_CLIENT_SECRET— beside a stableSESSION_TOKEN_SECRET, which signs and encrypts the sign-in cookies. On Kubernetes and OpenShift, they live ink8s/secrets-templates/oidc-secret.yaml. - Read the
[SSO]line each pod logs at startup: it says whether single sign-on is on, or which value keeps it off.
The provider must be reachable from the server (an internal CA in
NODE_EXTRA_CA_CERTS, a proxy as above). The sign-in cookies are HttpOnly,
and __Host- prefixed over HTTPS. The model, the provider-side settings, the
residuals and the tests are in docs/agents/sso.md.
Architecture
- Frontend: React 19, TypeScript, Vite, Tailwind CSS
- Backend: Express 5, Socket.IO 4
- Storage: SQLite with WAL mode or PostgreSQL
- Scale-out: Redis or PostgreSQL Socket.IO adapter
- Container: Node 26 Alpine, non-root user
- Delivery: JSON answers over 1 KiB are gzipped, the hashed bundle is precompressed at build time and cached for a year, and
index.htmlis revalidated on every load, with no proxy configuration needed
The application is designed to survive rolling updates: session state is persisted, WebSocket clients reconnect automatically, and participants rejoin their active session.
Quality and security
Every pull request runs linting, TypeScript checks, unit and integration tests, a production build, dependency review, CodeQL analysis, and container vulnerability scanning.
Useful local checks:
npm run lint
npm run type-check
npm test
npm run build
npm run test:e2e
See MAINTENANCE.md, HARDENING_STATUS.md, SECURITY.md, and ACCESSIBILITY.md for details.
Accessibility is gated on every pull request — an axe-core run over the main flows (with two participants of different colours), the super-admin console tab by tab and its dialogs, the Jira screens and the backup import card, every audited state capped at zero in e2e/helpers/axe.ts → BASELINE, and eslint-plugin-jsx-a11y inside the lint budget. Both are ratchets: the number they allow may fall, never rise. ACCESSIBILITY.md states what is tested, what was fixed, and what is still missing.
Development
Requirements: Node.js 22+ and npm.
npm install
npm run start
In another terminal:
npm run dev
The backend runs on port 3000 and the Vite development server on port 5173.
Built with AI assistance, not dependent on AI
RetroGemini was developed with extensive assistance from Gemini, Claude, and Codex. That describes the development process, not a runtime dependency: the application works without an internet connection or an AI service.
Administrators can optionally connect an OpenAI-compatible model for grouping suggestions and summaries. Those features remain off until explicitly configured.
Contributing
Bug reports, feature requests, documentation improvements, translations, and code contributions are welcome. Read CONTRIBUTING.md before opening a pull request.
If you deploy RetroGemini, consider opening a discussion or issue to share your environment and feedback. Real-world deployment notes help other organizations adopt it.
License
RetroGemini is released into the public domain under The Unlicense. You may use, copy, modify, and distribute it for any purpose without conditions.


