An open API service indexing awesome lists of open source software.

https://github.com/meguminsama/moonlight-launcher

A convenient launcher for moonlight. Say goodbye to patching Discord every update!
https://github.com/meguminsama/moonlight-launcher

discord launcher mod modding moonlight

Last synced: 10 months ago
JSON representation

A convenient launcher for moonlight. Say goodbye to patching Discord every update!

Awesome Lists containing this project

README

          

# 🌙 moonlight launcher

[![GitHub release](https://img.shields.io/github/v/release/MeguminSama/moonlight-launcher?style=flat-square)](https://github.com/MeguminSama/moonlight-launcher/releases/latest)
[![License](https://img.shields.io/github/license/MeguminSama/moonlight-launcher?style=flat-square)](LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](CONTRIBUTING.md)

The cross-platform launcher for moonlight that doesn't modify your Discord install.

## ✨ Features

- **Automatic Updates**: Always run the latest version of moonlight with zero effort
- **Cross-Platform**: Works on Windows, Linux (including Flatpak)
- **Multiple Discord Branches**: Releases available for Discord Stable, PTB, and Canary
- **Developer Friendly**: Support for local git installations of moonlight

## 📦 Installation

### Windows

1. Download the latest installer from [Releases](https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/moonlight-installer.exe)
2. Run the installer and follow the on-screen instructions
3. Select your preferred Discord branches during installation

### Linux

#### Stable Release
```bash
sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)"
```

#### PTB (Public Test Build)
```bash
sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)" -- ptb
```

#### Canary (Development Build)
```bash
sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)" -- canary
```

#### AUR (Arch Linux)
```bash
yay -S moonlight-stable # or moonlight-ptb or moonlight-canary
```

### Uninstalling
```bash
sh -c "$(curl -fsSL https://github.com/MeguminSama/moonlight-launcher/releases/latest/download/install.sh)" -- --uninstall
```

## 🖼️ Screenshots

| Windows | Linux (KDE) |
|---------|------------|
| ![Windows Start Menu](.github/assets/windows-start-menu.png) | ![Linux Start Menu](.github/assets/kde-start-menu.png) |

## 🛠️ Advanced Usage

### Available Command Line Flags
- `--local `: Use a local moonlight instance
- `--branch [stable | nightly]`: Use a specific branch of moonlight
- `--help`: Display help message

### Passing Arguments to Discord
Any arguments after `--` will be passed directly to Discord:
```bash
moonlight-stable -- --start-minimized --enable-blink-features=MiddleClickAutoscroll
```

### Using a different branch of moonlight
If you're using `moonlight-stable`, the launcher will default to using the latest stable release of moonlight.
If you're using `moonlight-ptb` or `moonlight-canary`, it will default to using the latest nightly build.
You can change this behaviour by using the `--branch` flag:
```bash
moonlight-stable --branch nightly
# or
moonlight-canary --branch stable
```

### Using a Local Git Instance
To use a local development version of moonlight:
```bash
moonlight-stable --local /path/to/your/moonlight/injector.js
```

Made with ❤️ by [MeguminSama](https://github.com/MeguminSama)