GoRetro Logo

GoRetro

A modern retrospective tool for agile teams with real-time collaboration and AI-powered features

View on GitHub →

⚠️ Authentication Requirement

OAuth2 Proxy Required: GoRetro requires an OAuth2 proxy (such as oauth2-proxy) to be configured in front of the application. The proxy must set proper authentication headers (X-Forwarded-User, X-Forwarded-Email, etc.) that the application uses to identify users. The application does not handle authentication directly.

Core Features

🗂️ Multi-phase Retrospectives

Structured workflow with Ticketing, Merging, Voting, Discussion, and Summary phases

⚡ Real-time Collaboration

WebSocket-based synchronization with Redis support for distributed deployments

👥 Participant Management

Owner/Moderator roles with approval workflow for joining participants

🤖 AI-Powered Auto-merge

Automatically group similar tickets using AI semantic analysis

🎯 AI Action Proposals

Generate actionable items from retrospective feedback with context awareness

🌍 Internationalization

Multi-language support with automatic detection (English & Polish)

🐳 Docker Support

Easy deployment with Docker Compose including all dependencies

Retrospective Phases

  • 1. Ticketing Phase
    Team members add retrospective items in various categories (what went well, what needs improvement, action items, etc.)
  • 2. Merging Phase
    Group similar tickets together manually or use AI auto-merge to identify semantically similar items
  • 3. Voting Phase
    Team votes on the most important items to focus discussion on the highest priority topics
  • 4. Discussion Phase
    Discuss top-voted items and create actionable tasks to address them
  • 5. Summary Phase
    Review all feedback and action items, with optional AI-powered action proposals

AI FeaturesOptional

Auto-merge Feature

When chat completion API is configured, moderators see an "Auto-merge" button during the Discussion phase.

How it works:
  • Analyzes all ticket content
  • Identifies similar tickets based on semantic similarity
  • Automatically groups related tickets together
  • Provides reasoning for each grouping

Auto-propose Actions Feature

During the Summary phase, moderators can generate AI-powered action proposals from retrospective feedback.

Capabilities:
  • Analyzes all retrospective tickets and feedback
  • Considers team context if provided (tech stack, constraints, etc.)
  • Generates specific, actionable items addressing raised issues
  • Links each action to the relevant ticket
  • Marks AI-generated actions with a 🤖 robot icon prefix
  • Focuses on the most important issues (higher votes, discussed items)

Supported APIs

Compatible with OpenAI-compatible chat completion APIs:

  • OpenAI API (GPT-4, GPT-4-turbo, GPT-3.5-turbo)
  • Azure OpenAI Service
  • Other OpenAI-compatible endpoints

Environment Variables

Database Configuration

DATABASE_URL REQUIRED
PostgreSQL connection string for storing retrospective data
Default: postgres://goretro:goretro@localhost:5432/goretro?sslmode=disable

Redis Configuration

REDIS_URL OPTIONAL
Redis server address for distributed WebSocket synchronization. Required when running multiple application instances.
Format: host:port (e.g., redis:6379)

AI Features Configuration

CHAT_COMPLETION_ENDPOINT OPTIONAL
Chat completion API endpoint for AI features (auto-merge and action proposals)
Example: https://api.openai.com/v1/chat/completions
CHAT_COMPLETION_API_KEY OPTIONAL
API key for the chat completion service
Example: sk-your-api-key-here
CHAT_COMPLETION_MODEL OPTIONAL
Model to use for chat completion
Default: gpt-4
Options: gpt-4, gpt-4-turbo, gpt-3.5-turbo, etc.

Authentication Configuration

⚠️ Required: GoRetro must be deployed behind an OAuth2 proxy that sets authentication headers. The application expects headers like X-Forwarded-User and X-Forwarded-Email to identify users. Without these headers, the application will not function correctly.

OAuth2 proxy configuration is included in the docker-compose.yml file. See the Deployment tab for complete setup instructions.

Configuration Examples

Minimal Configuration (Local Development)

# .env file
DATABASE_URL=postgres://goretro:goretro@localhost:5432/goretro?sslmode=disable

Production Configuration with AI Features

# .env file
DATABASE_URL=postgres://user:password@db-host:5432/goretro?sslmode=require
REDIS_URL=redis-host:6379
CHAT_COMPLETION_ENDPOINT=https://api.openai.com/v1/chat/completions
CHAT_COMPLETION_API_KEY=sk-your-api-key-here
CHAT_COMPLETION_MODEL=gpt-4

Azure OpenAI Configuration

# .env file
DATABASE_URL=postgres://user:password@db-host:5432/goretro?sslmode=require
REDIS_URL=redis-host:6379
CHAT_COMPLETION_ENDPOINT=https://your-resource.openai.azure.com/openai/deployments/your-deployment/chat/completions?api-version=2023-05-15
CHAT_COMPLETION_API_KEY=your-azure-api-key
CHAT_COMPLETION_MODEL=gpt-4

Deployment Options

Docker Compose (Recommended)

The easiest way to deploy GoRetro is using Docker Compose, which includes all dependencies:

Prerequisites

  • Docker and Docker Compose installed
  • PostgreSQL database (included in docker-compose.yml)
  • Redis (optional, included in docker-compose.yml)

Quick Start

# Clone the repository
git clone https://github.com/Armatorix/GoRetro.git
cd GoRetro

# Create .env file with your configuration
cat > .env << EOF
DATABASE_URL=postgres://goretro:goretro@postgres:5432/goretro?sslmode=disable
REDIS_URL=redis:6379
# Add AI configuration if desired
# CHAT_COMPLETION_ENDPOINT=https://api.openai.com/v1/chat/completions
# CHAT_COMPLETION_API_KEY=your-key-here
EOF

# Start all services (includes OAuth2 proxy)
docker compose up -d

# Access the application through OAuth2 proxy
# Application is available at: http://localhost

Services Included

  • PostgreSQL - Database on port 5432
  • Redis - Cache and pub/sub on port 6379
  • GoRetro App - Main application on port 8080 (internal only)
  • OAuth2 Proxy - Required authentication layer on port 80 (public endpoint)
  • Dex - OIDC provider on port 5556
⚠️ Important: The OAuth2 proxy is required and must be properly configured. The GoRetro application expects authentication headers from the proxy and will not work without them.

For production: Update the OAuth2 configuration in docker-compose.yml and dex/config.yaml with proper credentials, callback URLs, and OIDC providers. Never expose the application port (8080) directly - always access through the OAuth2 proxy.

Standalone Deployment

⚠️ OAuth2 Proxy Required: When deploying standalone, you must configure an OAuth2 proxy (such as oauth2-proxy) in front of the GoRetro application. The application requires authentication headers (X-Forwarded-User, X-Forwarded-Email) to function. Do not expose the application directly to users.

Building from Source

# Prerequisites: Go 1.21 or higher

# Clone and build
git clone https://github.com/Armatorix/GoRetro.git
cd GoRetro
go build -o goretro

# Set environment variables
export DATABASE_URL="postgres://user:password@localhost:5432/goretro?sslmode=disable"
export REDIS_URL="localhost:6379"  # Optional

# Run (behind OAuth2 proxy - do not expose directly!)
./goretro
Next Steps: After building, you must configure an OAuth2 proxy to:
  • Handle user authentication
  • Set required headers: X-Forwarded-User, X-Forwarded-Email
  • Proxy requests to the GoRetro application
See the Docker Compose configuration for a complete OAuth2 proxy setup example.

Database Setup

GoRetro uses PostgreSQL. You need to:

  1. Create a PostgreSQL database
  2. Run migrations (handled automatically on startup)
  3. Configure DATABASE_URL environment variable

Scaling Considerations

Multiple Instances:
  • Configure REDIS_URL for WebSocket synchronization across instances
  • Use a load balancer with sticky sessions for WebSocket connections
  • Share the same PostgreSQL database across all instances

Development Setup

Using Make

# Start all services including OAuth2 proxy with hot-reload
make up

# Access at http://localhost (through OAuth2 proxy)

Manual Development

# Start all dependencies including OAuth2 proxy
docker compose up postgres redis oauth2-proxy dex -d

# Set environment variables
export DATABASE_URL="postgres://goretro:goretro@localhost:5432/goretro?sslmode=disable"
export REDIS_URL="localhost:6379"

# Run the app (it will receive headers from OAuth2 proxy)
go run main.go

# Access at http://localhost (through OAuth2 proxy on port 80)
# The app runs on port 8080 but should only be accessed via proxy
Development Note: Even in development, use the OAuth2 proxy to access the application. The app expects authentication headers that only the proxy provides. Direct access to port 8080 will not work correctly.

Getting Started

Creating a Retrospective

  1. Navigate to the GoRetro homepage
  2. Click "Create New Retrospective"
  3. Enter a room name and create the room
  4. Share the room link with your team members
  5. Approve participants as they join (as moderator/owner)

Running a Retrospective

Phase 1: Ticketing

  • Team members add tickets in various categories
  • Everyone can see tickets as they're created (real-time updates)
  • Tickets can be edited or deleted by their creators
  • When ready, moderator advances to the next phase

Phase 2: Merging

  • Manual: Drag similar tickets together to group them
  • AI-Powered: Click "Auto-merge" to let AI identify and group similar tickets (requires AI configuration)
  • Review and adjust groupings as needed
  • Advance to voting when satisfied with groupings

Phase 3: Voting

  • Each team member gets a limited number of votes
  • Vote on the most important items for discussion
  • Votes are visible to all participants
  • When voting is complete, advance to discussion

Phase 4: Discussion

  • Focus on the highest-voted items
  • Mark items as "discussed" as you cover them
  • Create action items to address issues
  • Assign action items to team members
  • Move to summary when discussion is complete

Phase 5: Summary

  • Review all tickets and action items
  • AI-Powered: Click "Auto-propose" to generate additional action proposals (requires AI configuration)
  • Provide team context for more relevant AI suggestions
  • Review and accept/edit AI-generated actions (marked with 🤖)
  • Export or save the retrospective summary

Best Practices

Effective Retrospectives

  • Time-box phases: Set time limits for each phase to keep the retrospective focused
  • Encourage participation: Ensure all team members contribute tickets and votes
  • Focus on actions: The goal is actionable improvements, not just discussion
  • Follow up: Review action items from previous retrospectives

Using AI Features Effectively

  • Auto-merge: Use after initial ticketing to identify patterns you might have missed
  • Review AI groupings: AI suggestions are helpful but not perfect—adjust as needed
  • Provide context: When using auto-propose, give team context (tech stack, current sprint goals) for better suggestions
  • Edit AI actions: Use AI proposals as a starting point and refine them for your team

Team Size Considerations

  • Small teams (3-5): Standard workflow works well
  • Medium teams (6-10): Consider using AI auto-merge to handle more tickets
  • Large teams (10+): Consider breaking into smaller groups or using AI features heavily

Language Support

GoRetro supports multiple languages with automatic browser detection:

  • English (en) - Default language
  • Polish (pl) - Full Polish translation

Language Selection

  • Automatically detects browser language on first visit
  • Language selector in navigation bar for manual switching
  • Preference saved in localStorage and cookies
  • Changes take effect immediately without page reload

Troubleshooting

Common Issues

WebSocket Connection Issues

  • Check that the application is running and accessible
  • Verify firewall settings allow WebSocket connections
  • For distributed setups, ensure Redis is properly configured

AI Features Not Available

  • Verify CHAT_COMPLETION_ENDPOINT and CHAT_COMPLETION_API_KEY are set
  • Check API key is valid and has sufficient credits/quota
  • Ensure endpoint URL is correct and accessible
  • Check application logs for API error messages

Database Connection Errors

  • Verify PostgreSQL is running
  • Check DATABASE_URL is correctly formatted
  • Ensure database user has proper permissions
  • Verify database exists and migrations have run

Authentication Issues

  • Verify OAuth2 Proxy and Dex are running and accessible
  • Check OAuth2 proxy is setting headers correctly (X-Forwarded-User, X-Forwarded-Email)
  • Ensure redirect URLs in dex/config.yaml match your deployment URL
  • Verify client ID and secret match between OAuth2 proxy and Dex
  • Confirm cookies are enabled in the browser
  • Never access the application directly on port 8080 - always use the OAuth2 proxy endpoint
  • Check OAuth2 proxy logs for authentication errors