LANCache Manager is a simple web UI for monitoring and managing your LANCache. You can watch downloads in real time, see which games are cached, measure bandwidth savings, and prefill the cache with Steam and Epic games before LAN parties.
Important
Always use the latest tag:
docker pull ghcr.io/regix1/lancache-manager:latestGitHub's package page shows :dev because dev builds are published more often. The :dev tag is for testing only and can be unstable.
- Screenshots
- Quick Start
- Docker Compose Reference
- Configuration Options
- Tabs Overview
- Prefill (Steam & Epic)
- Custom Themes
- Grafana & Prometheus
- Multiple Datasources
- Nginx Reverse Proxy
- Troubleshooting
- Building from Source
- Contributing Translations
- Need Help?
Stats at a glance with draggable cards, service analytics, and top clients
Three view modes to browse your cached games
Monitor which devices are using your cache
Calendar view of download activity and LAN events
Pick between Steam and Epic to start a prefill session
Game selection, download settings, and real-time activity log
Authentication, demo mode, and display preferences
Log processing, corruption detection, and game cache detection
Browse installed themes or create your own with the theme editor
Assign friendly names to client IPs and exclude clients from stats
docker run -d \
--name lancache-manager \
-p 8080:80 \
-v ./data:/data \
-v /path/to/lancache/logs:/logs:ro \
-v /path/to/lancache/cache:/cache:ro \
-e TZ=America/Chicago \
-e LanCache__LogPath=/logs/access.log \
-e LanCache__CachePath=/cache \
ghcr.io/regix1/lancache-manager:latestdocker logs lancache-manager | grep "API Key"The key is also saved at /data/security/api_key.txt.
- Open
http://localhost:8080 - Go to Management and enter your API key
- Click Process Logs to analyze existing cache data
A minimal docker-compose.yml to get started:
services:
lancache-manager:
image: ghcr.io/regix1/lancache-manager:latest
container_name: lancache-manager
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./data:/data
- /mnt/lancache/logs:/logs:ro
- /mnt/lancache/cache:/cache:ro
- /var/run/docker.sock:/var/run/docker.sock # Optional: for prefill and log rotation
environment:
- PUID=33
- PGID=33
- TZ=America/Chicago
- LanCache__LogPath=/logs/access.log
- LanCache__CachePath=/cacheNote
Remove :ro from the cache volume if you want cache clearing and game removal. The Docker socket is optional but required for nginx log rotation and prefill (both Steam and Epic).
Full docker-compose.yml with all available options:
services:
lancache-manager:
image: ghcr.io/regix1/lancache-manager:latest
container_name: lancache-manager
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./data:/data
- /mnt/lancache/logs:/logs:ro
- /mnt/lancache/cache:/cache:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
# Required
- PUID=33
- PGID=33
- TZ=America/Chicago
- LanCache__LogPath=/logs/access.log
- LanCache__CachePath=/cache
- ASPNETCORE_URLS=http://+:80
# Security
# - Security__EnableAuthentication=true
# - Security__MaxAdminDevices=3
# - Security__GuestSessionDurationHours=6
# - Security__RequireAuthForMetrics=false
# - Security__ProtectSwagger=true
# - Security__AllowedOrigins=
# - Security__AllowedBrowsePaths=
# Prefill (Steam & Epic)
# - Prefill__DockerImage=ghcr.io/regix1/steam-prefill-daemon:latest
# - Prefill__EpicDockerImage=ghcr.io/regix1/epic-prefill-daemon:latest
# - Prefill__SessionTimeoutMinutes=120
# - Prefill__DaemonBasePath=/data/prefill
# - Prefill__HostDataPath=auto
# - Prefill__NetworkMode=auto
# - Prefill__LancacheDnsIp=auto
# - Prefill__UseTcp=auto
# - Prefill__TcpPort=4379
# - Prefill__HostTcpPort=4379
# - Prefill__TcpHost=127.0.0.1
# Nginx Log Rotation
# - NginxLogRotation__Enabled=true
# - NginxLogRotation__ContainerName=auto
# - NginxLogRotation__ScheduleHours=24
# API Options
# - ApiOptions__MaxClientsPerRequest=1000
# - ApiOptions__DefaultClientsLimit=100
# Optimization
# - Optimizations__EnableGarbageCollectionManagement=false
# Paths & Datasources
# - LanCache__EnvFilePath=/lancache/.env
# - LanCache__AutoDiscoverDatasources=true
# Debugging
# - Logging__LogLevel__LancacheManager.Infrastructure.Platform=Debug| Volume | Purpose | Notes |
|---|---|---|
/data |
PostgreSQL database, security, state/config, themes, cached images | Required |
/logs |
LANCache access logs | Add :ro for read-only |
/cache |
LANCache cached files | Add :ro for monitoring only |
/var/run/docker.sock |
Docker API access | Optional. Required for nginx rotation and prefill (Steam & Epic) |
| Variable | Default | Description |
|---|---|---|
PUID |
33 |
User ID the app runs as. Match your filesystem permissions. |
PGID |
33 |
Group ID the app runs as. |
TZ |
UTC |
Timezone for log timestamps (e.g., America/Chicago). |
LanCache__LogPath |
— | Path to the LANCache access log file. |
LanCache__CachePath |
— | Path to the LANCache cache directory. |
LANCache Manager uses PostgreSQL for data storage. On first launch, the app will prompt you to configure database credentials through a setup page in the web UI.
| Variable | Default | Description |
|---|---|---|
POSTGRES_PASSWORD |
— | PostgreSQL password. Set via environment variable or through the first-run setup page. |
POSTGRES_USER |
lancache |
PostgreSQL username. |
Configuration options:
- Environment variables (recommended for automation): Set
POSTGRES_PASSWORDand optionallyPOSTGRES_USERin your docker-compose.yml. The app will use these directly and skip the setup page. - Web UI setup: If
POSTGRES_PASSWORDis not set, the app displays a first-run setup page where you can enter credentials through the browser.
Note
Migrating from SQLite: Existing data is automatically migrated to PostgreSQL on the first container start after updating. No manual steps are required. The migration runs once and preserves all your existing downloads, settings, and cached data.
services:
lancache-manager:
image: ghcr.io/regix1/lancache-manager:latest
container_name: lancache-manager
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./data:/data
- /mnt/lancache/logs:/logs:ro
- /mnt/lancache/cache:/cache:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
- PUID=33
- PGID=33
- TZ=America/Chicago
- LanCache__LogPath=/logs/access.log
- LanCache__CachePath=/cache
- POSTGRES_PASSWORD=your-secure-password
# - POSTGRES_USER=lancache # Optional, defaults to "lancache"| Variable | Default | Description |
|---|---|---|
Security__EnableAuthentication |
true |
Require API key for admin features. Set false for dev only. |
Security__MaxAdminDevices |
3 |
Number of devices that can share the same API key. |
Security__GuestSessionDurationHours |
6 |
Default guest session length (configurable in UI). |
Security__RequireAuthForMetrics |
false |
Require API key for /metrics endpoint. |
Security__ProtectSwagger |
true |
Require auth for Swagger API docs in production. |
Security__AllowedOrigins |
(empty) | Comma-separated CORS allow list. Empty allows all. |
Security__AllowedBrowsePaths |
(empty) | Comma-separated list of allowed file browser roots. |
| Level | Description | Examples |
|---|---|---|
| Admin Only | Requires API key authentication | Cache clearing, log processing, settings changes |
| Guest Session | Requires admin auth or a valid guest session | Viewing downloads, stats, events, client data |
Guest sessions allow read-only access without sharing your API key. Guests must have a valid session created by an admin. No endpoints are public without authentication.
To grant guest access:
- Go to the Users tab
- Click Create Guest Link
- Share the link with your guests
Guests can view dashboards, downloads, and events but cannot modify settings or clear cache.
| Variable | Default | Description |
|---|---|---|
Prefill__DockerImage |
ghcr.io/regix1/steam-prefill-daemon:latest |
Docker image for Steam prefill containers. |
Prefill__EpicDockerImage |
ghcr.io/regix1/epic-prefill-daemon:latest |
Docker image for Epic Games prefill containers. |
Prefill__SessionTimeoutMinutes |
120 |
Inactive session cleanup timeout. |
Prefill__DaemonBasePath |
/data/prefill |
Session data storage path. |
Prefill__HostDataPath |
auto |
Host path mapping to /data. Auto-detected from container mounts. |
Prefill__NetworkMode |
auto |
Network mode for prefill containers: host, bridge, a network name, or auto. |
Prefill__LancacheDnsIp |
auto |
IP of your lancache-dns container. Auto-detected from Docker. |
Prefill__UseTcp |
auto |
Use TCP for daemon communication. auto = true on Windows, false on Linux. |
Prefill__TcpPort |
4379 |
TCP port inside the prefill container. |
Prefill__HostTcpPort |
4379 |
TCP port exposed on the host for prefill containers. |
Prefill__TcpHost |
127.0.0.1 |
TCP host used by the prefill daemon. |
Tip
Most prefill settings are auto-detected. You typically only need to set Prefill__NetworkMode if the default doesn't work with your Docker networking setup.
| Variable | Default | Description |
|---|---|---|
LanCache__EnvFilePath |
(auto) | Path to lancache .env file for reading CACHE_DISK_SIZE. Auto-searches common paths if not set. |
LanCache__AutoDiscoverDatasources |
false |
Auto-detect datasources from matching subdirectories in /cache and /logs. |
See Multiple Datasources for details on multi-instance setups.
| Variable | Default | Description |
|---|---|---|
NginxLogRotation__Enabled |
true |
Signal nginx to reopen logs after manipulation. Requires Docker socket. |
NginxLogRotation__ContainerName |
auto |
LANCache container name. auto finds containers with "lancache" in the name. |
NginxLogRotation__ScheduleHours |
24 |
How often to check for rotation needs. |
| Variable | Default | Description |
|---|---|---|
ApiOptions__MaxClientsPerRequest |
1000 |
Max clients returned in a single stats request. |
ApiOptions__DefaultClientsLimit |
100 |
Default client limit when none is provided. |
Optimizations__EnableGarbageCollectionManagement |
false |
Show memory management controls in Management. Useful for low-memory systems. |
ASPNETCORE_URLS |
http://+:80 |
Internal port binding. Do not change unless you know what you are doing. |
Your home base for cache statistics. See overall performance, recent activity, and service breakdowns. Stat cards are draggable so you can arrange them your way.
Browse everything that has been cached. Choose Normal view (cards with game art), Compact view (dense list for scanning), or Retro view (terminal look). Use the filter bar to narrow by platform, session, cache status, and more.
Track every device that has downloaded through your cache. Group clients with friendly names so it is easy to identify machines at a LAN party.
Manage active sessions, create guest access links, configure session duration, and revoke sessions when needed. Guest sessions provide read-only access to dashboards, downloads, and events without sharing your API key. Admins can control guest prefill access separately for Steam and Epic.
A calendar view of download activity over time. Create custom events for LAN parties and review what was downloaded during each one.
Pre-download games to your cache before people arrive. The prefill tab opens to a home page where you pick between Steam and Epic. Log in, pick games from your library, and let them run overnight. Each service runs independently with its own connection, so you can have both active at the same time.
The admin panel (requires authentication). Process logs, clear cache, download depot mappings, run Epic game mapping, configure Steam and Epic API access, manage themes, ban accounts, and handle database operations.
The Prefill tab helps you download games to your cache before your LAN party starts. It supports both Steam and Epic Games. The tab opens to a home page where you pick which service to use, and each one runs independently so you can have both active at the same time. Guest users who only have access to one service skip the home page and go straight to their session.
Steam prefill is powered by steam-prefill-daemon, a fork of steam-lancache-prefill by @tpill90.
- Go to the Prefill tab and select Steam
- Log in with your Steam account (Steam Guard supported)
- Select games from your library
- Start the prefill
Downloads run in a separate container with real-time progress updates. When your guests arrive, the games are already cached and ready to serve at full speed.
If you are migrating from steam-lancache-prefill or you already have a list of Steam App IDs, you can import them directly:
- Click Select Apps to open the game selection modal
- Click Import App IDs to expand the import section
- Paste your App IDs in any of these formats:
- Comma-separated:
730, 570, 440 - JSON array:
[730, 570, 440] - One per line
- Comma-separated:
- Click Import
The import tells you how many games were added, how many were already selected, and how many IDs are not in your Steam library (these are skipped during prefill).
Migrating from steam-lancache-prefill: Copy the contents of your selectedAppsToPrefill.json file and paste it directly into the import field.
Epic prefill uses OAuth to authenticate with your Epic Games account. Once connected, you can browse your owned games, check what is already cached, and schedule downloads with configurable thread counts.
- Go to the Prefill tab and select Epic Games
- Authenticate through Epic's OAuth login
- Browse your owned games and select which ones to prefill
- Start the prefill
Epic prefill runs in its own daemon container, separate from Steam. Both can run at the same time without interfering with each other.
- Docker socket mounted
- Authenticated as admin
- Lancache-dns container running, or manual DNS configuration
For prefill to work, the prefill containers need:
- Internet access - to authenticate with Steam/Epic and download game data
- DNS resolution - CDN domains should resolve to your cache server
The app auto-detects network settings in most cases:
- If your lancache-dns uses
network_mode: host, prefill containers also use host networking - Otherwise, it uses the lancache-dns container IP address for DNS resolution
Network Diagnostics: When a prefill session starts, the app tests the container network and logs the results. Check your container logs for output like:
═══════════════════════════════════════════════════════════════════════
PREFILL CONTAINER NETWORK DIAGNOSTICS - prefill-daemon-abc123
═══════════════════════════════════════════════════════════════════════
✓ Internet connectivity: OK (reached api.steampowered.com)
lancache.steamcontent.com resolved to 192.168.1.5
✓ DNS looks correct (private IP - likely your lancache server)
═══════════════════════════════════════════════════════════════════════
Manual configuration (if auto-detection fails):
environment:
# Option 1: Use bridge networking (recommended for most setups)
- Prefill__NetworkMode=bridge
# Option 2: Use host networking (for host-networked lancache-dns)
- Prefill__NetworkMode=host
# Option 3: Explicit DNS IP (when lancache-dns IP is not auto-detected)
- Prefill__LancacheDnsIp=192.168.1.10Tip
If prefill containers have no internet access, try Prefill__NetworkMode=bridge. This is a common fix when Docker's default network isolation blocks outbound connections.
Go to Management > Preferences > Theme Management to:
- Create themes from scratch with live preview
- Browse and install community themes
- Import and export themes as TOML files
[meta]
name = "My Theme"
id = "my-theme"
isDark = true
version = "1.0.0"
author = "Your Name"
[colors]
primaryColor = "#3b82f6"
bgPrimary = "#111827"
textPrimary = "#ffffff"Themes are stored in /data/themes/.
| Metric | Description |
|---|---|
lancache_cache_capacity_bytes |
Total storage capacity |
lancache_cache_size_bytes |
Currently used space |
lancache_cache_hit_bytes_total |
Bandwidth saved (cache hits) |
lancache_cache_miss_bytes_total |
New data downloaded |
lancache_active_downloads |
Current active downloads |
lancache_cache_hit_ratio |
Cache effectiveness (0-1) |
lancache_downloads_by_service |
Downloads per service |
lancache_bytes_served_by_service |
Bandwidth per service |
scrape_configs:
- job_name: 'lancache-manager'
static_configs:
- targets: ['lancache-manager:80']
scrape_interval: 30s
metrics_path: /metricsFor authenticated metrics, set Security__RequireAuthForMetrics=true and add:
authorization:
type: Bearer
credentials: 'your-api-key-here'# Cache hit rate as percentage
lancache_cache_hit_ratio * 100
# Bandwidth saved in last 24 hours
increase(lancache_cache_hit_bytes_total[24h])
# Cache size in GB
lancache_cache_size_bytes / 1024 / 1024 / 1024
Most users run a single LANCache instance and never touch this. If you have outsourced specific services to separate cache directories or you run multiple LANCache instances, you can configure multiple datasources and view them together in one dashboard.
- Outsourced services - LANCache stores Steam on a separate drive from other services
- Multiple LANCache instances - Separate cache servers for different purposes
- Segmented storage - Different services on different drives or partitions
Each datasource represents a log and cache directory pair. The app processes logs and tracks cache usage separately for each one, then combines the results in the dashboard and downloads views.
The easiest approach is to let the app scan for matching subdirectories:
environment:
- LanCache__LogPath=/logs
- LanCache__CachePath=/cache
- LanCache__AutoDiscoverDatasources=trueWhat it detects:
- Root-level datasource - If
/logs/access.logexists and/cachecontains LANCache hash directories (00/,01/, and so on), it creates a "Default" datasource - Subdirectory datasources - For each folder that exists in both
/cacheand/logs, it creates a named datasource (e.g.,/cache/steam+/logs/steam-> "Steam")
Example directory structure:
/mnt/lancache/
├── cache/
│ ├── 00/, 01/, a1/, ff/ ← Default cache (hash dirs at root)
│ ├── steam/
│ │ └── 00/, 01/, ... ← Outsourced Steam
│ └── epic/
│ └── 00/, 01/, ... ← Outsourced Epic
└── logs/
├── access.log ← Default log
├── steam/
│ └── access.log ← Steam log
└── epic/
└── access.log ← Epic log
This creates three datasources: Default, Steam, and Epic.
Note
Folder matching is case-insensitive. Steam, steam, and STEAM all match.
For precise control or when directories are on separate drives, define each datasource explicitly:
environment:
# Main LANCache
- LanCache__DataSources__0__Name=Default
- LanCache__DataSources__0__CachePath=/cache
- LanCache__DataSources__0__LogPath=/logs
- LanCache__DataSources__0__Enabled=true
# Steam on a separate drive
- LanCache__DataSources__1__Name=Steam
- LanCache__DataSources__1__CachePath=/steam-cache
- LanCache__DataSources__1__LogPath=/steam-logs
- LanCache__DataSources__1__Enabled=trueWith corresponding volume mounts:
volumes:
- /mnt/lancache/cache:/cache:ro
- /mnt/lancache/logs:/logs:ro
- /mnt/steam-drive/cache:/steam-cache:ro
- /mnt/steam-drive/logs:/steam-logs:roNote
Manual datasource configuration takes priority over auto-discovery.
LANCache Manager works well behind Nginx. HTTPS is recommended and required for guest session cookies on cross-origin image requests.
Serve the UI and API from the same origin. This keeps cookies first-party and avoids cross-origin issues.
server {
listen 443 ssl http2;
server_name lancache.example.com;
ssl_certificate /etc/letsencrypt/live/lancache.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/lancache.example.com/privkey.pem;
# Increase if you have large responses
client_max_body_size 50m;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
# SignalR (WebSockets)
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 600s; # Must match SignalR timeout (10 min) to prevent nginx killing idle WebSocket connections
}
}
server {
listen 80;
server_name lancache.example.com;
return 301 https://$host$request_uri;
}If you split UI and API across hosts, use HTTPS and allow credentials. In that case:
- Set
VITE_API_URL=https://api.lancache.example.comwhen building the Web UI. - Keep
SameSite=None; Securecookies (configured by the app). - Ensure CORS allows credentials for your UI origin.
Example API proxy:
server {
listen 443 ssl http2;
server_name api.lancache.example.com;
ssl_certificate /etc/letsencrypt/live/api.lancache.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/api.lancache.example.com/privkey.pem;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
# SignalR (WebSockets)
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 600s; # Must match SignalR timeout (10 min) to prevent nginx killing idle WebSocket connections
}
}- Verify the log path in Management > Settings
- Confirm your volume mount matches
LanCache__LogPath - Click Process Logs in Management
- Check container logs:
docker logs lancache-manager
Steam games:
- Download the latest mappings from Management > Depot Mappings
- Add custom mappings for private depots if needed
- Click Reprocess All Logs after adding mappings
Epic games:
- Go to Management > Integrations and run Epic game mapping
- The mapping service connects to the Epic API to identify cached downloads
- Game names and cover art are pulled in automatically
cat ./data/security/api_key.txt
# or
docker logs lancache-manager | grep "API Key"To generate a new key, stop the container, delete ./data/security/api_key.txt, and restart.
Verify PUID and PGID match your file ownership:
ls -n /path/to/cacheThese steps apply to both Steam and Epic prefill.
- Ensure the Docker socket is mounted
- Confirm you are authenticated as admin
- Check container logs for network diagnostics output (look for
═══ PREFILL CONTAINER NETWORK DIAGNOSTICS ═══) - Container has no internet access: The prefill container cannot reach Steam or Epic servers. Common fixes:
- Set
Prefill__NetworkMode=bridgein your docker-compose.yml (recommended for most setups) - Ensure your Docker network has outbound internet access
- Check firewall rules for outbound connections
- Set
- HTTP 400 errors during download: The prefill container cannot resolve CDN domains to your cache. Try one of the following:
- Set
Prefill__NetworkMode=hostif your lancache-dns uses host networking - Set
Prefill__LancacheDnsIpto your lancache-dns IP address - The app auto-detects this if your lancache-dns container is running
- Set
- DNS bypassing lancache via IPv6: If your network uses IPv6, DNS queries might bypass lancache-dns. The app automatically disables IPv6 in prefill containers to prevent this.
- Epic OAuth not connecting: Make sure you complete the OAuth flow in the browser window that opens. The authentication token is stored securely and persists across sessions.
Network Diagnostics: When a prefill container starts, the app runs network diagnostics that appear in the logs:
- Internet connectivity test (can reach Steam/Epic servers)
- DNS resolution for CDN domains (e.g.,
lancache.steamcontent.com,steam.cache.lancache.net) - Warnings if DNS resolves to public IPs instead of your cache
Finding your lancache-dns IP:
docker inspect lancache-dns | grep IPAddressExample configurations:
Bridge mode (recommended for most Docker setups):
environment:
- Prefill__NetworkMode=bridgeHost networking (when lancache-dns uses host mode):
environment:
- Prefill__NetworkMode=hostExplicit DNS IP (when auto-detection fails):
environment:
- Prefill__LancacheDnsIp=192.168.1.10If you're experiencing issues with path resolution, file system detection, Docker communication, or other platform-specific operations, you can enable verbose debug logging:
environment:
- Logging__LogLevel__LancacheManager.Infrastructure.Platform=DebugWhat it logs:
- Path resolution and validation (container vs host paths)
- File system operations and permission checks
- Docker socket communication and container detection
- Volume mount detection and mapping
- Platform-specific behavior (Linux vs Windows differences)
How to use:
- Add the environment variable to your docker-compose.yml
- Restart the container:
docker compose up -d - Reproduce the issue
- View logs:
docker logs lancache-manager - Remove the variable when done (debug logging is verbose)
This is especially helpful when:
- Auto-detection of paths or Docker settings fails
- Prefill containers aren't spawning correctly
- Volume mounts don't seem to be recognized
- You're running on an unusual platform or Docker setup
Requirements: .NET 8 SDK, Node.js 20+, Rust 1.75+
git clone https://github.com/regix1/lancache-manager.git
cd lancache-manager
# Rust processor
cd rust-processor && cargo build --release
# Web interface
cd ../Web && npm install && npm run dev # http://localhost:3000
# API
cd ../Api/LancacheManager && dotnet run # http://localhost:5000Docker build:
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t ghcr.io/regix1/lancache-manager:latest \
--push .LANCache Manager supports internationalization (i18n) and welcomes community translations. The app is ready for localization and all UI strings are already externalized.
- Fork the repository on GitHub
- Navigate to
Web/src/i18n/locales/ - Copy
en.jsonto a new file named with your language code (e.g.,de.json,fr.json,es.json,pt-BR.json) - Translate all the string values (keep the keys unchanged)
- Submit a Pull Request with your translation
Web/src/i18n/locales/
├── en.json ← English (reference)
├── de.json ← German (your contribution)
├── fr.json ← French (your contribution)
└── ...
- Keep JSON keys unchanged - Only translate the string values
- Preserve placeholders - Keep
{{variable}}placeholders intact (e.g.,{{name}}) - Maintain formatting - Preserve any HTML tags like
<strong>if present - Test your translation - Run the app locally to verify your translations display correctly
// en.json
{
"dashboard": {
"title": "Dashboard",
"recentDownloads": "Recent Downloads",
"totalCache": "Total Cache: {{size}}"
}
}
// de.json
{
"dashboard": {
"title": "Übersicht",
"recentDownloads": "Letzte Downloads",
"totalCache": "Gesamter Cache: {{size}}"
}
}If you run into issues, feel free to open an issue on GitHub.
You can also find the LANCache community at the LanCache.NET Discord.
If this project has been helpful, consider supporting development.
Every coffee helps keep this project alive!



