LANCommander is an open-source digital game platform.
The main application is self-hostable and is built on the ASP.NET Blazor web application framework. Your self-hosted platform can be accessed through the offical LANCommander launcher. The database is implemented using SQLite so there is no complex setup required.
The platform is designed to work on local networks and loads no assets from the internet. It was originally developed to help assist a LAN party where the local network is closed and no internet access is permitted.
Builds for Windows, Linux, and macOS are provided, with varying levels of support/compatibility. Currently the launcher has only been tested to run on Windows
A Docker image is available over at Docker Hub. A sample compose file is provided below:
services:
lancommander:
image: lancommander/lancommander:latest
container_name: lancommander
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
# Uncomment the line below to install SteamCMD
# - STEAMCMD=1
# Uncomment the line below to install WINE
# - WINE=1
volumes:
- /path/to/app/data:/app/Data
ports:
- 1337:1337/tcp # Webinterface
- 35891:35891/udp # Beacon Broadcast
- 213:213/udp # IPX Relay
restart: unless-stoppedAll config files are available from /app/Data. This include any archive uploads for games. Many of these paths can be changed under Settings if you wish to add additional volume mappings.
The Docker image supports optional SteamCMD installation. To enable this feature, set the STEAMCMD=1 environment variable in your docker-compose.yml file. When enabled, SteamCMD will be installed in /home/steam/steamcmd and made available as steamcmd command.
The Docker image supports optional WINE installation. To enable this feature, set the WINE=1 environment variable in your docker-compose.yml file. When enabled, WINE will be installed with wine32, wine64, and winetricks support. A wine user will be created with a configured WINE environment in /home/wine/.wine.
Note: The Docker image runs the Linux build and features such as server management may be limited.
The best games are either portable games or DRM-free games. Freeware, shareware, abandonware are all great available options. LANCommander is only a management/distribution system. It does not come bundled with any games.
It's worth joining our Discord as some pre-packaged freeware games are available to download.
I have a pretty large LAN party planned with hundreds of players. I have some sick infrastructure and a LAN cache. What do?
LANCommander communicates over HTTP(S). There is no LAN cache configuration provided, but all downloads are provided through the /api/Games/{id}/Download route.
Documentation can be found at our documentation site. The Getting Started guide for games contains enough information to get your server up and running in minutes.
For other help, it is recommended to join the LANCommander community over at our Discord guild. This is currently the best location to get help with the platform itself, scripting, and adapting games.
Hit that fork button, submit a PR, there are no hard rules right now.
If you're not a developer but still want to contribute, contributing to our documentation site is a great way to give back to the community!
The LANCommander dev team is currently spearheaded by one developer in their free time. Paid donation tiers are available over at the Patreon page.
A separate assembly called LANCommander.SDK has been created for use in client applications. The SDK relies on .NET dependency injection in order to expose services to the consuming application. Use of the SDK can be implemented by calling the extension method for registering the services:
builder.Services.AddLANCommanderClient<Settings>();The generic type parameter (here Settings) can be used to allow extension of settings by providing your own class that inherits from LANCommander.SDK.Settings.
LANCommander is far from complete. The basic implementation that exists will allow you to:
- Manage games
- Upload archives
- Manage scripts
- Manage keys
- Download games
- Basic user management
- New user registration
- Local "cloud" user saves
- Dedicated server management/administration
- Redistributable management and distribution
- IPX Beacon for emulators such as DosBox
- Game media management and automatic lookup (covers, icons, backgrounds)
- Dedicated launcher for easy client setup
- Basic chat support
The following features are being considered:
- Peer-to-peer file sharing of game files
- Built-in VPN client/server for remote LAN parties
- Integration with platforms such as Discord, TeamSpeak, Mumble