Skip to content

Creationsss/arrpc-bun

Repository files navigation

arRPC
License: MIT GitHub release npm version AUR version AUR version (bin)

Open Discord RPC server for custom clients

TypeScript + Bun

About

arRPC is an open source implementation of Discord's local RPC servers. It allows applications with Discord Rich Presence support to display their status on Discord Web, custom clients, and other platforms that don't natively support RPC.

TypeScript + Bun port of the original arRPC by OpenAsar, featuring full type safety, Bun native APIs, and improved performance.

Installation

Pre-built Binaries

Download the latest release for your platform from GitHub Releases:

  • Linux (x64, ARM64, musl variants)
  • macOS (Intel, Apple Silicon)
  • Windows (x64)

bun

bun install -g arrpc-bun

Quick Start

Install dependencies:

bun install

Run the server:

bun start

Update detectable games database:

bun run update-db

Configuration

Configure using environment variables:

  • ARRPC_DEBUG - Enable debug logging
  • ARRPC_NO_BRIDGE - Disable bridge server (if not needed)
  • ARRPC_NO_PROCESS_SCANNING - Disable automatic game detection
  • ARRPC_NO_STEAM - Disable Steam game detection and lookup
  • ARRPC_STATE_FILE - Enable state file (stores active activities to /tmp/arrpc-state.json)
  • ARRPC_IGNORE_LIST_FILE - Path to ignore list file (games to skip detection)
  • ARRPC_BRIDGE_PORT - Bridge port (default: 1337)
  • ARRPC_BRIDGE_HOST - Bridge hostname (default: 127.0.0.1, Windows: unbound)
  • ARRPC_WEBSOCKET_HOST - WebSocket hostname (default: 127.0.0.1)
  • ARRPC_DATA_DIR - Custom data directory for detectable databases

Example:

ARRPC_DEBUG=1 bun start

Features

View Complete Feature List

License

MIT

Based on arRPC by OpenAsar

About

This is a complete TypeScript + Bun rewrite of the original arRPC project by OpenAsar.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published