Fran Jurmanović 486c972bba
All checks were successful
Release and Deploy / build (push) Successful in 3m51s
Release and Deploy / deploy (push) Successful in 28s
open token authentication
2025-08-17 12:15:39 +02:00

ACC Server Manager

A web-based management system for Assetto Corsa Competizione (ACC) dedicated servers on Windows.

Quick Start

Prerequisites

  • Windows 10/11 or Windows Server 2016+
  • Go 1.23.0+
  • SteamCMD
  • NSSM (for Windows service management)

Installation

  1. Clone and build

    git clone <repository-url>
    cd acc-server-manager
    go build -o api.exe cmd/api/main.go
    
  2. Generate configuration

    # Windows PowerShell
    .\scripts\generate-secrets.ps1
    
  3. Run

    ./api.exe
    

    Access the web interface at: http://localhost:3000

Features

  • Multi-Server Management - Manage multiple ACC servers from one interface
  • Steam Integration - Automated server installation and updates
  • Web Configuration - Edit server settings through the browser
  • Windows Services - Run servers as Windows services
  • Security - JWT authentication and encrypted credential storage
  • Interactive API - Swagger UI for API testing and documentation

Configuration

Environment Variables

The application uses these environment variables:

Variable Description Default
STEAMCMD_PATH Path to SteamCMD c:\steamcmd\steamcmd.exe
NSSM_PATH Path to NSSM .\nssm.exe
PORT Web server port 3000

Security keys are automatically generated by the setup script.

API Documentation

Interactive Swagger UI

Access the comprehensive API documentation with testing capabilities at:

The Swagger interface allows you to:

  • Test API endpoints directly from your browser
  • View request/response examples
  • Authenticate and test protected endpoints
  • Generate client libraries from the OpenAPI spec

For detailed API usage, see API Reference and Swagger Guide.

Development

# Install hot-reload tool
go install github.com/cosmtrek/air@latest

# Run with hot reload
air

# Run tests
go test ./...

Documentation

License

MIT License - see LICENSE file for details.

Description
No description provided
Readme 17 MiB
Languages
Go 95%
PowerShell 3.5%
Shell 1.1%
Batchfile 0.4%