MarcyMUD
- Rust 70.6%
- Svelte 18.1%
- TypeScript 6%
- Python 4.9%
- Shell 0.3%
|
Some checks failed
Build / build (push) Failing after 24m17s
The Tauri app logs via tracing and println to stdout, not stderr. TauriTestApp was reading stderr which received no output, causing the discover_server_info function to block forever waiting for server port and admin token that would never appear. Also updated pattern matching to correctly parse: - Server port from "ws://127.0.0.1:PORT/ws" format - Admin token from "/admin?token=TOKEN" URL format Fixes #90 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .chainlink/rules | ||
| .claude | ||
| .forgejo/workflows | ||
| .github/workflows | ||
| crates | ||
| docs | ||
| scripts | ||
| src-frontend | ||
| .gitignore | ||
| .mcp.json | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| CLAUDE.md | ||
| README.md | ||
MarcyMUD
A multiplayer text adventure game (MUD) built with Rust and Tauri.
Development
Prerequisites
- Rust (install via rustup)
- Node.js 18+ and npm
- Tauri CLI:
cargo install tauri-cli
Running in Development
# Start the Tauri desktop app in dev mode
cargo tauri dev
# Or run the standalone server
cargo run -p marcymud-server
Building
# Build for your current platform
cargo tauri build --debug
# Run all tests
cargo test --all
# TypeScript type checking
cd src-frontend && npm run check
Building for Windows (from macOS)
Cross-compile Windows NSIS installers from macOS using cargo-xwin.
Prerequisites
-
Install LLVM (provides the linker):
brew install llvm -
Add LLVM to PATH (add to
~/.zshrcor~/.bashrc):# Apple Silicon Mac: export PATH="/opt/homebrew/opt/llvm/bin:$PATH" # Intel Mac: export PATH="/usr/local/opt/llvm/bin:$PATH"Then restart your terminal or run
source ~/.zshrc -
Install NSIS (creates the Windows installer):
brew install nsis -
Add Windows Rust target:
rustup target add x86_64-pc-windows-msvc -
Install cargo-xwin:
cargo install --locked cargo-xwin
Building
Run the build script:
./scripts/build-windows.sh
The script checks all prerequisites and provides helpful error messages if anything is missing.
Output location: target/x86_64-pc-windows-msvc/release/bundle/nsis/
Notes
- Unsigned builds: The installer is not code-signed. Windows SmartScreen will show a warning on first run. Click "More info" then "Run anyway" to proceed.
- 64-bit only: Builds target 64-bit Windows (x86_64). 32-bit is not supported.
- First build: Takes longer due to Windows SDK download (cached for subsequent builds).
License
[Add license information here]