# huibq/keep-alive

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/huibq-keep-alive).**

6,307 stars · 352 forks · JavaScript

## Links

- GitHub: https://github.com/Huibq/keep-alive
- Homepage: https://lxmusicapi.onrender.com
- awesome-repositories: https://awesome-repositories.com/repository/huibq-keep-alive.md

## Description

Keep Alive is a cross-platform music streaming framework that aggregates free online music from multiple source providers through an extensible plugin system. It is designed to stream high-quality audio up to 320kbps across desktop and mobile applications by loading external plugins that handle source fetching and playback control.

The project distinguishes itself with a plugin-based architecture that decouples music source fetching from the player, allowing third-party music players to integrate and access tracks through interchangeable source links. A dynamic plugin registry enables runtime discovery and hot-swappable streaming, while an event-driven playback pipeline routes music through event handlers for buffering, decoding, and state management. The system also includes a stream quality negotiator that automatically probes plugin endpoints to select the highest available bitrate.

The framework provides a lightweight state machine for managing player states during idle, buffering, playing, and paused transitions, and includes a cross-platform audio bridge that unifies desktop and mobile audio output behind a common interface. Documentation and installation details are available through the repository.

## Tags

### Artificial Intelligence & ML

- [Event-Driven](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/domain-specific-processing-pipelines/media-processing-pipelines/media-filter-pipelines/playback-pipelines/event-driven.md) — Implements an event-driven playback pipeline that routes music through handlers for buffering, decoding, and state management.

### Part of an Awesome List

- [Music Streaming Aggregators](https://awesome-repositories.com/f/awesome-lists/media/music-streaming-aggregators.md) — Aggregates music streams from multiple online sources through interchangeable plugins for integration into desktop and mobile apps.
- [Music Streaming](https://awesome-repositories.com/f/awesome-lists/media/music-streaming.md) — Streams high-quality audio up to 320kbps for online listening through third-party music players. ([source](https://github.com/Huibq/keep-alive#readme))

### Graphics & Multimedia

- [Cross-Platform Audio Engines](https://awesome-repositories.com/f/graphics-multimedia/audio-music/audio-streaming-engines/audio-playback-engines/cross-platform-audio-engines.md) — Provides a cross-platform audio abstraction layer that unifies desktop and mobile audio output for streaming.
- [Music Plugin Development](https://awesome-repositories.com/f/graphics-multimedia/audio-music/music-utilities/music-plugin-development.md) — Streams high-quality music up to 320kbps by integrating plugin-based source links into compatible apps. ([source](https://github.com/Huibq/keep-alive#readme))
- [Music Source Integrations](https://awesome-repositories.com/f/graphics-multimedia/audio-music/music-utilities/music-source-integrations.md) — Integrates with third-party music players through plugin-based source links for accessing and playing music. ([source](https://github.com/Huibq/keep-alive#readme))
- [Stream Quality Negotiators](https://awesome-repositories.com/f/graphics-multimedia/audio-music/audio-processing/quality-optimization/stream-quality-negotiators.md) — Automatically probes plugin endpoints to deliver the highest available audio quality up to 320kbps.
- [Desktop Music Clients](https://awesome-repositories.com/f/graphics-multimedia/desktop-music-clients.md) — Streams free online tracks in desktop music players by fetching them through plugin-based source links. ([source](https://github.com/Huibq/keep-alive/blob/master/README.md))
- [High-Fidelity Music Streaming Applications](https://awesome-repositories.com/f/graphics-multimedia/high-fidelity-music-streaming-applications.md) — Delivers music up to 320kbps through plugin-based source links for compatible applications.

### Software Engineering & Architecture

- [Dynamic](https://awesome-repositories.com/f/software-engineering-architecture/plugin-registries/dynamic.md) — Ships a dynamic plugin registry that discovers and loads music source plugins at runtime for hot-swappable streaming.
- [Plugin-Based Source Abstractions](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/architectural-patterns/plugin-module-systems/modular-plugin-architectures/plugin-based-architectures/plugin-based-architectures/plugin-based-source-abstractions.md) — Decouples music source fetching from the player by loading external plugins that provide track URLs and metadata.
- [Lightweight State Machines](https://awesome-repositories.com/f/software-engineering-architecture/state-machine-logic/lightweight-state-machines.md) — Provides a lightweight state machine for managing player states with minimal overhead during playback transitions.

### Mobile Development

- [Mobile Music Streaming Frameworks](https://awesome-repositories.com/f/mobile-development/mobile-music-streaming-frameworks.md) — Streams free online music in mobile apps by accessing tracks through plugin-based source links. ([source](https://github.com/Huibq/keep-alive/blob/master/README.md))

### Networking & Communication

- [Stream Quality Negotiations](https://awesome-repositories.com/f/networking-communication/communication-protocols-architectures/streaming-architectures/stream-quality-negotiations.md) — Automatically probes plugin endpoints to select the highest available bitrate up to 320kbps for streaming.
