v0.10.6
ACC Server Manager
A web-based management system for Assetto Corsa Competizione (ACC) dedicated servers on Windows.
Quick Start
Prerequisites
Installation
-
Clone and build
git clone <repository-url> cd acc-server-manager go build -o api.exe cmd/api/main.go -
Generate configuration
# Windows PowerShell .\scripts\generate-secrets.ps1 -
Run
./api.exeAccess 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:
- Swagger UI: http://localhost:3000/swagger/
- OpenAPI Spec: http://localhost:3000/swagger/doc.json
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
- Setup Guide - Detailed installation instructions
- Configuration - Advanced configuration options
- API Reference - API endpoints and authentication
- Swagger Guide - Interactive API documentation
- Troubleshooting - Common issues and solutions
License
MIT License - see LICENSE file for details.
Description
Languages
Go
95%
PowerShell
3.5%
Shell
1.1%
Batchfile
0.4%