Initial commit: Brass & Sigil monorepo

Self-hosted Minecraft modpack distribution + administration system.

- launcher/  Avalonia 12 desktop client; single-file win-x64 publish.
             Microsoft auth via XboxAuthNet, manifest+SHA-1 mod sync,
             portable install path, sidecar settings.
- server/    brass-sigil-server daemon (.NET 8, linux-x64). Wraps the
             MC subprocess, embedded Kestrel admin panel with cookie
             auth + rate limiting, RCON bridge, scheduled backups,
             BlueMap CLI integration with player markers + skin proxy,
             friend-side whitelist request flow, world wipe with seed
             selection (keep current / random / custom).
- pack/      pack.lock.json (Modrinth + manual CurseForge entries),
             data-only tweak source under tweaks/, build outputs in
             overrides/ (gitignored).
- scripts/   Build-Pack / Build-Tweaks / Update-Pack / Check-Updates
             plus Deploy-Brass.ps1 unified one-shot deploy with
             version-bump pre-flight and daemon-state detection.
This commit is contained in:
Matt Sijbers
2026-05-05 00:19:05 +01:00
commit a1331212cb
99 changed files with 12640 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
# Local deploy configuration. Copy this file to `deploy.config.ps1` and fill in
# real values. `deploy.config.ps1` is gitignored so your local paths and the
# server hostname never end up in version control.
#
# Deploy-Brass.ps1 dot-sources this file. Every variable below is required.
# ─── Public file hosting ───────────────────────────────────────────────────
# Local path that maps (via SMB or similar) to the public docroot that hosts
# `manifest.json` and the launcher .exe. Files copied here become reachable at
# the public URLs embedded in the manifest (`launcherUrl`, file URLs, etc.).
# Example: 'Z:\www\html\example.com\public\pack'
$DeployShare = 'CHANGE_ME'
# Public URL of the deployed manifest. Used for the version-bump pre-flight:
# Deploy-Brass.ps1 fetches this before deploying so it can refuse if you
# changed pack content but forgot to bump pack/pack.lock.json's version
# (clients with a cached pack at that version would skip the sync).
$ManifestPublicUrl = 'https://CHANGE_ME/pack/manifest.json'
# ─── Server (brass-sigil-server daemon host) ───────────────────────────────
# user@host for the Linux box running the daemon.
$ServerSshHost = 'user@CHANGE_ME'
# Path to the local SSH private key authorised on the server.
$ServerSshKey = "$env:USERPROFILE\.ssh\id_ed25519"
# Absolute path on the Linux box where the brass-sigil-server binary lives.
# `Deploy-Brass.ps1` uploads to "<this>.new" then `mv` over for atomic swap.
$ServerBinaryRemote = '/home/user/brass-sigil-server/brass-sigil-server'
# ─── Build outputs (don't normally need to change) ─────────────────────────
$LauncherPublishDir = 'launcher\bin\Release\net8.0-windows\win-x64\publish'
$LauncherExeName = 'ModpackLauncher.exe' # what dotnet publish produces
$LauncherDeployedAs = 'BrassAndSigil-Launcher.exe' # filename on the public host
$ServerPublishDir = 'server\bin\Release\net8.0\linux-x64\publish'
$ServerExeName = 'brass-sigil-server'