A web application designed to track compliance with Return-to-Office (RTO) mandates, featuring a user-friendly calendar interface for logging office presence and generating comprehensive summary statistics and reports for compliance assessment.
- 📊 Track daily office presence on a monthly basis
- 🔄 Real-time updates and synchronization
- 📱 Responsive web interface
- 📊 Export reports in CSV and PDF formats
- 🔐 GitHub OAuth authentication (in integrated mode)
- 🚀 Multiple deployment options (standalone or integrated)
- 🐳 Docker support for easy deployment
The integrated mode offers a full-featured experience with:
- Cloud PostgreSQL database storage
- Redis caching
- GitHub OAuth authentication
- Multi-user support
- Docker and Docker Compose
- GitHub OAuth credentials
- PostgreSQL database
- Redis instance
- Copy the sample configuration:
cp config/sample.env config/local.env
- Configure your
local.env
with required credentials and settings
docker compose up
Alternatively, pull the latest image:
docker pull asia-southeast1-docker.pkg.dev/baileybutler-syd/officetracker/officetracker:latest
Perfect for personal use or testing, standalone mode runs with:
- Local SQLite database
- No authentication required
- Single-user focused
go build -tags=standalone -o officetracker .
./officetracker
Command line options:
-port
: HTTP server port (default: 8080)-database
: SQLite database path (default: officetracker.db)
Example:
./officetracker -port 1234 -database mydb.db
/internal
: Core application logic/pkg
: Shared models and utilities/config
: Configuration templates/docs
: Documentation and assets/tests
: Test suites
- Go 1.23
- PostgreSQL (for integrated mode)
- Redis (for integrated mode)
- GitHub OAuth App (for integrated mode)
For bugs, questions, and discussions please use the GitHub Issues.
Try it out at https://iwasintheoffice.com