Skip to content

This project brings modern enhancements to the classic Rockbox firmware, using Zig and Rust for improved performance and maintainability ⚑ πŸ¦€

License

Notifications You must be signed in to change notification settings

tsirysndr/rockbox-zig

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rockbox Zig 🎡 ⚑

GPL-2.0 licensed ci

A modern take on the Rockbox open-source firmware with enhancements in Zig and Rust. This project offers:

  • gRPC & GraphQL APIs for seamless interaction and control
  • TypeScript support for building powerful extensions

Take advantage of modern tooling while preserving the core functionality of Rockbox.

Note

🐲 It is a work in progress and is not yet ready for use. πŸ—οΈπŸš§

Preview

πŸš€ Quickstart

To quickly get started, you can run the following docker command:

docker run \
    --device /dev/snd \
    --privileged \
    -p 6061:6061 -p 6062:6062 -p 6063:6063 \
    tsiry/rockbox:latest

Run the following commands to build the project:

sudo apt-get install libusb-dev libsdl1.2-dev libfreetype6-dev libunwind-dev zip protobuf-compiler
mkdir -p build && cd build
../tools/configure --target=sdlapp --type=N --lcdwidth=320 --lcdheight=240 --prefix=$HOME/.local
make zig

✨ Features

  • Zig Build System
  • Rockbox API FFI for Rust
  • gRPC API
  • GraphQL API
  • Web Client (React)
  • Desktop Client (Electron/Gtk)
  • Terminal Client (TUI)
  • Android Library
  • Mobile version (React Native)
  • Stream from Youtube (audio only)
  • Stream from Spotify
  • Stream from Tidal
  • Stream to Chromecast
  • TuneIn Radio
  • MPD Server
  • MPRIS
  • Upnp Player
  • Airplay
  • TypeScript (Deno) API (for writing plugins)

πŸ§‘β€πŸ”¬ Architecture

architecture

About

This project brings modern enhancements to the classic Rockbox firmware, using Zig and Rust for improved performance and maintainability ⚑ πŸ¦€

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Languages

  • C 86.2%
  • C++ 6.9%
  • Assembly 2.0%
  • TeX 1.4%
  • Lua 0.7%
  • Rust 0.7%
  • Other 2.1%