Warhammer 40K Rogue Trader campaign management tool
  • TypeScript 83.5%
  • Python 9.3%
  • CSS 3.2%
  • JavaScript 2%
  • Shell 1%
  • Other 1%
Find a file
openhands 55061c8abb Add augments system, fix Docker builds and healthchecks
- Add character_augments table and Augment/AugmentSlot types
- Add augment CRUD to backend characterService
- Add inline augments editing to CharacterSheet
- Add augments step to character creation flow
- Wire augments save in CharacterDetailPage
- Fix frontend Dockerfile (nginx permissions, healthcheck IPv4)
- Fix backend Dockerfile healthcheck (use PORT env)
- Upgrade eslint-plugin-react-hooks to v5
2026-08-20 14:55:11 +00:00
backend Add augments system, fix Docker builds and healthchecks 2026-08-20 14:55:11 +00:00
certbot Add production deployment configuration for roguetrader.tabletopamsterdam.nl 2026-08-14 22:50:34 +00:00
Concept Replace visual assets with Imperial imagery (#28) 2026-08-17 17:44:50 +02:00
docker Add Docker support with SQLite and PostgreSQL configurations 2026-08-19 21:06:11 +02:00
docs Add authentication pages and character creation form with origin path 2026-08-15 09:43:19 +00:00
frontend Add augments system, fix Docker builds and healthchecks 2026-08-20 14:55:11 +00:00
mcp-server Wire frontend to backend stores, fix infra dead layers 2026-08-17 16:37:23 +02:00
scripts Add authentication pages and character creation form with origin path 2026-08-15 09:43:19 +00:00
shared Add augments system, fix Docker builds and healthchecks 2026-08-20 14:55:11 +00:00
ssl Add production deployment configuration for roguetrader.tabletopamsterdam.nl 2026-08-14 22:50:34 +00:00
.dockerignore Add Docker support with SQLite and PostgreSQL configurations 2026-08-19 21:06:11 +02:00
.env.example Initial project setup for WH40K Rogue Trader Campaign Manager 2026-08-14 22:40:09 +00:00
.gitignore Initial project setup for WH40K Rogue Trader Campaign Manager 2026-08-14 22:40:09 +00:00
Caddyfile Replace nginx with Caddy reverse proxy 2026-08-14 23:41:46 +00:00
DEPLOYMENT.md Add production deployment configuration for roguetrader.tabletopamsterdam.nl 2026-08-14 22:50:34 +00:00
docker-compose.prod.yml Wire frontend to backend stores, fix infra dead layers 2026-08-17 16:37:23 +02:00
docker-compose.sqlite.yml Add Docker support with SQLite and PostgreSQL configurations 2026-08-19 21:06:11 +02:00
docker-compose.yml Add augments system, fix Docker builds and healthchecks 2026-08-20 14:55:11 +00:00
docker-compose.yml.bak Add augments system, fix Docker builds and healthchecks 2026-08-20 14:55:11 +00:00
docker-compose.yml.example Add Docker support with SQLite and PostgreSQL configurations 2026-08-19 21:06:11 +02:00
LICENSE Initial project setup for WH40K Rogue Trader Campaign Manager 2026-08-14 22:40:09 +00:00
nginx-prod.conf Add production deployment configuration for roguetrader.tabletopamsterdam.nl 2026-08-14 22:50:34 +00:00
package-lock.json Add root package.json with convenience scripts 2026-08-15 11:00:40 +00:00
package.json Wire frontend to backend stores, fix infra dead layers 2026-08-17 16:37:23 +02:00
README.md Initial project setup for WH40K Rogue Trader Campaign Manager 2026-08-14 22:40:09 +00:00

WH40K Rogue Trader Campaign Manager

A comprehensive campaign management tool for Warhammer 40,000 Rogue Trader tabletop RPG sessions.

Overview

This tool helps Game Masters and players manage their Warhammer 40K Rogue Trader campaigns, including character sheets, ship management, crew rosters, trade goods, exploration tracking, and more.

Features

Core Management

  • Character Sheets - Detailed Rogue Trader character creation and management
  • Ship Management - Track your voidship's stats, components, and upgrades
  • Crew Roster - Manage your crew, their skills, and assignments
  • Inventory & Cargo - Track trade goods, equipment, and ship cargo
  • Finance Tracking - Manage profits, expenses, and trade profits

Campaign Tools

  • Exploration Log - Record explorations of the Expanse
  • Session Notes - Track session recaps and important events
  • Contact Network - Manage NPCs, patrons, and contacts
  • Faction Reputation - Track relationships with Imperial organizations

Game Mechanics

  • Skill Tests - Automated skill check rolling with modifiers
  • Combat Tracker - Initiative and combat management
  • Psychic Phenomena - Track warp and psychic events
  • Mutation Tracking - Handle the perils of the warp

Project Structure

wh40-rogue-trader/
├── backend/           # Backend API (Node.js/Express or Python/FastAPI)
│   ├── src/
│   │   ├── controllers/
│   │   ├── models/
│   │   ├── routes/
│   │   ├── services/
│   │   └── config/
│   └── package.json
├── frontend/          # Frontend application (React/Vite)
│   ├── public/
│   └── src/
│       ├── components/
│       ├── pages/
│       ├── hooks/
│       ├── store/
│       ├── utils/
│       └── App.tsx
├── shared/            # Shared types and utilities
│   └── src/
│       ├── types/
│       └── constants/
├── docs/             # Documentation and reference materials
│   ├── rules/
│   └── examples/
├── .gitignore
└── README.md

Getting Started

Prerequisites

  • Node.js 20+ (for frontend/backend)
  • Python 3.10+ (optional, for MCP server)
  • PostgreSQL (for database)
  • Docker & Docker Compose (for containerized deployment)

Installation

  1. Clone the repository:

    git clone http://192.168.50.213:4000/nasandre/wh40-rogue-trader.git
    cd wh40-rogue-trader
    
  2. Install dependencies:

    # For Node.js backend
    cd backend && npm install
    
    # For React frontend
    cd ../frontend && npm install
    
  3. Configure environment variables:

    cp .env.example .env
    # Edit .env with your configuration
    
  4. Run the application:

    # Development mode
    docker-compose up -d
    
    # Or run individually
    cd backend && npm run dev
    cd ../frontend && npm run dev
    

API Documentation

The backend provides a RESTful API for managing all campaign data. See API Documentation for details.

Data Model

Character

  • Profile (Name, Wounds, Fate Points, etc.)
  • Characteristics (WS, BS, S, T, Ag, Int, Per, WP, Fel)
  • Skills and Talents
  • Psychic Powers (if Psyker)
  • Equipment and Gear

Voidship

  • Ship Class and Statistics
  • Components (Weapons, Armour, Sensors, etc.)
  • Crew Quarters and Capacity
  • Cargo Holds and Storage
  • Ship's Reputation and History

Campaign

  • Timeline of Events
  • Explored Systems
  • Trade Routes
  • Faction Relationships
  • Session Logs

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Warhammer 40,000 and Rogue Trader are trademarks of Games Workshop
  • This is a fan project and not officially affiliated with Games Workshop

Resources