Offly
Offly is a self-hosted time-off manager: a calendar grid per user and per team, public holidays by country, report export and optional SSO authentication. A single Docker image, no mandatory external dependency.
| Role | Self-hosted time-off manager: calendar, teams, public holidays |
| Stack | Go · React · SQLite or MongoDB |
| License | see the repository |
| Image | bananaops/offly |
| Helm chart | not published — chart available in helm/ |
| Repository | BananaOps/offly · releases |
Features
Section titled “Features”| Feature | Description |
|---|---|
| Calendar grid | Monthly view of time off per user and per team |
| Teams | Group users into teams and track availability |
| Absence types | Full day, morning only, afternoon only |
| Public holidays | Managed per country |
| Quick search | Instant search across users and teams |
| Presence view | Real-time overview of who is in today |
| Export | Time-off reports as CSV and PDF |
| Dark mode | Full light and dark themes |
| SSO / OIDC | Optional authentication through Dex (PKCE flow) |
| RBAC | Role-based access control (admin / user) |
Tech stack
Section titled “Tech stack”| Layer | Technology |
|---|---|
| Backend | Go 1.26, gRPC, gRPC-Gateway, Protocol Buffers |
| Frontend | React 18, TypeScript 5, Tailwind CSS 3, Vite 8 |
| Database | SQLite (default) · MongoDB (optional) |
| Authentication | Dex (OIDC/PKCE), JWT, JWKS |
| Container | Docker (multi-stage, Alpine) |
Installation
Section titled “Installation”# In-memory storage, no database requireddocker run -p 8080:8080 bananaops/offly:latest
# With SQLite persistencedocker run -p 8080:8080 \ -v $(pwd)/data:/app/data \ bananaops/offly:latestgit clone https://github.com/BananaOps/offly.git && cd offlydocker-compose up -dThe application is available at http://localhost:8080.
git clone https://github.com/BananaOps/offly.git && cd offly
# Dependencies and protobuf code generationtask setup
# Backend + frontend with hot reloadtask dev| Service | URL |
|---|---|
| Web UI | http://localhost:3000 |
| REST API | http://localhost:8080/api/v1 |
| Swagger UI | http://localhost:8080/docs |
| gRPC | localhost:50051 |
Configuration
Section titled “Configuration”| Variable | Description | Default |
|---|---|---|
STORAGE_TYPE | sqlite or mongodb | sqlite |
SQLITE_DB_PATH | SQLite database path | /app/data/offly.db |
MONGO_URI | MongoDB connection string | mongodb://localhost:27017 |
HTTP_PORT | HTTP port | 8080 |
GRPC_PORT | gRPC port | 50051 |
AUTH_ENABLED | Enables SSO authentication | false |
AUTH_ISSUER_URL | OIDC issuer URL | — |
AUTH_CLIENT_ID | OIDC client ID | — |
SSO authentication
Section titled “SSO authentication”Offly accepts an OIDC provider through Dex, using the PKCE flow:
Browser ──PKCE──▶ Dex ──ID Token──▶ Backend ──JWT check──▶ SQLite| Role | Permissions |
|---|---|
admin | Full access — users, teams, public holidays, time off |
user | Read everything · edit only their own profile and time off |
The full guide is in SSO-README.md.
REST — port 8080
Section titled “REST — port 8080”Interactive documentation at http://localhost:8080/docs.
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/health | Health check |
GET / POST | /api/v1/users | List / create users |
GET PUT DELETE | /api/v1/users/{id} | Read / update / delete a user |
GET / POST | /api/v1/teams | List / create teams |
GET / POST | /api/v1/absences | List / create time off |
PUT / DELETE | /api/v1/absences/{id} | Update / delete time off |
GET / POST | /api/v1/holidays | List / create public holidays |
GET | /api/v1/auth/config | SSO configuration |
gRPC — port 50051
Section titled “gRPC — port 50051”Exposed services: AbsenceService, UserService, OrganizationService, HolidayService.
Test dataset
Section titled “Test dataset”# Requires k6 — see k6-README.md in the repositoryk6 run k6-seed-data.jsCreates 5 departments, 10 teams, 12 users, 29 public holidays and random time off.