Skip to content

charlesvien/game-nite

Repository files navigation

🎮 Game Nite

Game Nite Banner

One-click game server provisioning for your frens. Instantly deploy and manage game servers on Railway.

Features

  • Instant Deployment - One-click server creation via Railway's API
  • Multiple Games - Currently supports Minecraft, Rust, Factorio
  • Quick Management - Restart, delete, and monitor servers in real-time
  • Easy Sharing - Generate shareable links with connection details

Getting Started

Prerequisites

  • pnpm
  • Node.js 20+
  • Railway account with API token

Installation

  1. Clone the repository:

    git clone https://github.com/charlesvien/game-nite
    cd game-nite
  2. Install dependencies:

    pnpm install
  3. Set up environment variables:

    cp .env.example .env.local

    Edit .env.local and configure the following:

    • RAILWAY_API_TOKEN - Get from Railway account tokens
    • RAILWAY_PROJECT_ID - Your Railway project ID (found in project settings)
    • RAILWAY_ENVIRONMENT_ID - Your Railway environment ID (found in project settings)
    • RAILWAY_WORKSPACE_ID - Your Railway workspace ID (found in account settings)
  4. Start development server:

    pnpm dev

Visit http://localhost:3000

About

🎮 Pick a game, get a link, play with frens

Resources

Stars

Watchers

Forks

Contributors