<p align="center">
  <img src="packaging/assets/io.github.raman118.rlc.svg" width="128" height="128" alt="RLC play orbit logo">
</p>

<h1 align="center">RLC</h1>
<p align="center">Local media. A focused desktop player.</p>

[![License: LGPL-2.1-or-later](https://img.shields.io/badge/license-LGPL--2.1--or--later-2962a8)](LICENSE)
[![Status: development preview](https://img.shields.io/badge/status-development_preview-f0b429)](docs/PRODUCTION_READINESS.md)
[![Rust CI](https://github.com/raman118/rlc/actions/workflows/ci.yml/badge.svg)](https://github.com/raman118/rlc/actions/workflows/ci.yml)

RLC is an original Rust desktop media player for local video and audio. Open it
from your application launcher, drop in a file and press play. It is inspired by
VLC's architecture, **not a port**; no VLC implementation is copied or translated.

**Development preview:** Linux has local playback and package test evidence.
Windows/macOS installers are implemented but native execution remains unverified.
There is **no published RLC release or package-registry listing yet**. Production
release remains [NO-GO](docs/PRODUCTION_READINESS.md); the CI badge shows the live
remote workflow, including the unresolved strict dependency-health failures.

## Install

Use a prebuilt candidate supplied by a maintainer, or local artifacts under
`target/distribution/artifacts/`. No public download is available yet. The
[Releases page](https://github.com/raman118/rlc/releases) is where authorized
versioned downloads will appear. Check the accompanying `SHA256SUMS` before
installing. Examples below use the current **unreleased** version `0.1.0`;
substitute the version of the artifact you actually have.

### Linux

| Method | Current status |
| --- | --- |
| AppImage, DEB/APT, RPM/DNF | Linux payload playback tested locally; host APT/DNF installation has not been verified here. |
| Pacman binary package / AUR recipe | Native binary packaging and a real-hash recipe are generated locally; AUR listing awaits publication. |
| Shell installer | Per-user installer and desktop integration; local install/launch/playback/uninstall tests are recorded in the distribution guide. |
| Flatpak | Bundle workflow exists; build/install/playback unverified locally. No Flathub listing. |
| Hosted APT/DNF/Pacman repositories | Repository metadata can be staged; signing and hosting await authorization. No repository URL is advertised. |

Choose one installation method:

```sh
# Debian / Ubuntu: install a downloaded local DEB with APT.
sudo apt install ./rlc-0.1.0-linux-x86_64.deb

# Fedora: install a downloaded local RPM with DNF.
sudo dnf install ./rlc-0.1.0-linux-x86_64.rpm

# Arch: install the prebuilt native package; no Rust compiler is needed.
sudo pacman -U ./rlc-bin-0.1.0-1-x86_64.pkg.tar.zst

# AppImage: mark executable, then run or double-click it in your file manager.
chmod +x ./rlc-0.1.0-linux-x86_64.AppImage
./rlc-0.1.0-linux-x86_64.AppImage

# Shell installer: installs under ~/.local and adds RLC to the app launcher.
# Keep the archive and its authentic SHA256SUMS beside the reviewed installer.
sh ./rlc-install.sh --archive ./rlc-0.1.0-linux-x86_64.tar.gz --checksums ./SHA256SUMS

# Flatpak: once a built bundle has been supplied and its runtime is available.
flatpak install --user ./rlc-0.1.0-linux-x86_64.flatpak
flatpak run io.github.raman118.rlc
```

Linux bundles include FFmpeg/libass and application libraries, while system C/C++
runtimes, audio/graphics drivers and fonts remain OS-provided. **Local candidates
built on this machine require glibc 2.44**; check the artifact's Linux build JSON
before installing on an older distribution. Release CI targets an older baseline
but has not been executed for these changes. AppImage can use
`--appimage-extract-and-run` on systems without FUSE.

AUR recipes are available in generated candidate metadata. After an approved AUR
submission, the intended command is `yay -S rlc-bin`; **it does not work from an
RLC AUR listing today**. Until then, review the supplied PKGBUILD and use
`makepkg -si` to package the prebuilt release archive after its download is
published. Do not add an invented APT/DNF repository or disable signature checking.

### Windows

EXE/MSI and portable ZIP build definitions are ready for native validation.
**No Windows candidate was built or run on this Linux machine.** Once a verified
candidate is supplied, double-click its EXE/MSI, or use PowerShell:

```powershell
Start-Process .\rlc-0.1.0-windows-x86_64-setup.exe -Wait
# Alternative MSI installation:
msiexec /i .\rlc-0.1.0-windows-x86_64.msi
# Portable alternative: extract the entire ZIP and retain the accompanying DLLs.
Expand-Archive .\rlc-0.1.0-windows-x86_64-portable.zip -DestinationPath .\RLC
.\RLC\rlc-launcher.exe
```

The installer adds a Start menu entry and Open With associations. The EXE offers
an optional desktop shortcut; MSI supports `INSTALLDESKTOPSHORTCUT=1`. Use one
installer format at a time. Portable mode keeps all runtime DLLs beside the
executables; copying only the EXE is insufficient.

WinGet awaits manifest review/publication. The proposed command is
`winget install --exact --id Raman118.RLC`; **the package is not listed yet**.
Signing and clean-machine installation remain release gates.

### macOS

Native app bundles and DMGs target macOS 15+ for Intel and Apple Silicon.
**Builds, Finder launch, playback and notarization are unverified here.** Once a
verified candidate is supplied, open the DMG for your CPU and drag RLC.app into
Applications:

```sh
# Apple Silicon
open ./rlc-0.1.0-macos-arm64.dmg
# Intel
open ./rlc-0.1.0-macos-x86_64.dmg
```

Homebrew's generated cask chooses the matching architecture. After the DMGs and
recipe are published, a reviewed local cask can be installed with
`brew install --cask ./homebrew/Casks/rlc.rb`. **No RLC tap or cask listing has been
published.** Signing/notarization is required before ordinary public distribution;
do not disable Gatekeeper to run unverified artifacts.

[Full installation/removal instructions, test evidence and maintainer packaging guide →](docs/DISTRIBUTION.md)

## Play something

Open **RLC** from the app launcher, Start menu or Applications. It opens an empty
player: enter a local file path and select Open, or drop a file onto the window.
Use your file manager's **Open With → RLC** after installation to open media.
AppImage and portable users can double-click their app/launcher directly.
No terminal is needed for normal desktop playback.

- Play, pause, replay, seek and adjust volume.
- Select audio and text subtitle tracks; load external SRT or ASS/SSA subtitles.
- Use fullscreen, local M3U/M3U8 playlists and Previous/Next controls.
- Read optional configuration without overwriting it.
- Enable optional VAAPI decoding in Linux builds that include the feature.

Space pauses, arrows seek/change volume, **F** toggles fullscreen and **Q/Esc**
quits when a text field is not focused. See the [user guide](docs/USER_GUIDE.md)
and [troubleshooting](docs/TROUBLESHOOTING.md) for details and limitations.
Network playback, bitmap subtitles and HDR tone mapping are outside current scope.

## Build or contribute

Users of prebuilt candidates do not need Rust. Developers should follow the
[setup and validation guide](docs/DEVELOPMENT.md) for native prerequisites, then:

```sh
cargo build --locked --release -p rlc --bins
cargo run --locked --release -- gui
```

Start with [CONTRIBUTING.md](CONTRIBUTING.md), [documentation](docs/README.md),
[architecture](docs/ARCHITECTURE.md), [API guide](docs/API.md) and [roadmap](ROADMAP.md).
Report ordinary bugs/questions through [Issues](https://github.com/raman118/rlc/issues).
Read [SECURITY.md](SECURITY.md) before sharing vulnerability details and follow the
[code of conduct](CODE_OF_CONDUCT.md). Current private-reporting limitations and
manual GitHub setup are documented; Discussions is not yet enabled.

Licensed under **LGPL-2.1-or-later**. See [LICENSE](LICENSE),
[changelog](CHANGELOG.md), [governance](GOVERNANCE.md) and [maintainers](MAINTAINERS.md).
