Skip to content
explooosionPublic

Repository files navigation

RTTTL Hub


Collect, play, and compose RTTTL ringtones — right in your browser!

Website Deploy status AGPL-3.0 license PRs Welcome

NOTE: This platform is under active development and not yet officially launched. Features and content are subject to change without notice.

Features

  • A continually expanding catalogue of RTTTL ringtones spanning multiple collections, sourced from industry archives, open-source projects, and community submissions!
  • A full-featured RTTTL editor and composer with syntax highlighting, multi-track lanes, waveform visualisation, A-B looping, and live audio preview — working toward a complete Digital Audio Workstation (DAW) experience on the web, no installation required!
  • Blazing-fast playback built on a purpose-built native Web Audio engine: entire tunes are pre-scheduled onto the hardware audio clock, so even thousand-note, multi-track songs play back at a buttery-smooth 60fps.
  • Google sign-in via Firebase Authentication, with automatic cloud sync of your creations and favorites through Cloud Firestore.
  • Full offline support — everything falls back to local storage and syncs automatically once you are back online.
  • Localised into 13 languages, with dark mode and responsive layouts throughout.

Collections

As a general rule, every collection integrated into the platform is listed here, and this section is updated whenever a new one is added. Anyone is welcome to propose a new collection — feel free to open an issue or pull request!

  • PICAXE: The classic ringtone archive for the PICAXE tune command, spanning hundreds of well-known melodies. Sourced from the PICAXE RTTTL collection
  • ESC Configurator: Startup melodies for drone ESCs, contributed by the open-source community. Sourced from the ESC Configurator project
  • Skully RTTTL: A curated set of tones from the rtttl-web-composer project. Sourced from rtttl-web-composer by ImSkully
  • ESPHome: Example tunes from the ESPHome buzzer ecosystem for smart-home makers. Sourced from the ESPHome RTTTL component documentation
  • BeepMyQuad: Hand-arranged multi-motor RTTTL tunes for FPV quadcopter ESCs. Sourced from BeepMyQuad

Audio Engine

  • Web Audio API: Core tone synthesis and real-time scheduling — notes are compiled into AudioParam automation ahead of time, keeping the main thread free during playback.
  • Custom RTTTL parser & player: Purpose-built parser and multi-track playback engine for the RTTTL format, with per-track mute/solo, seeking, and A-B loop support.

Installation

No installation needed — just visit https://rtttl-hub.io in any modern browser (Chrome 110+ recommended).

Development

Node.js 18+ and npm are required. The Firebase CLI is optional, for deploying rules.

# Install dependencies
npm install

# Start development server
npm run dev

# Run tests
npm run test

# Build for production
npm run build

For local development with Firebase features, start the emulator in one terminal and the dev server in another — or point straight at production:

npm run firebase:emulator   # Start Firebase Emulator
npm run dev:local           # Dev server with Emulator
npm run dev:prod            # Dev server with production Firebase

License

RTTTL Hub is licensed under the terms of the GNU Affero General Public License v3.0.