

Github GitHub - koel/koel: 🐦 A personal music streaming server that works.
source link: https://github.com/koel/koel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Intro
Koel (also stylized as koel, with a lowercase k) is a simple web-based personal audio streaming service written in Vue on the client side and Laravel on the server side. Targeting web developers, Koel embraces some of the more modern web technologies – CSS grid, audio, and drag-and-drop API to name a few – to do its job.
Install and Upgrade Guide
For system requirements, installation/upgrade guides, troubleshooting etc., head over to the Official Documentation.
Development
Since Koel makes use of git submodules, you'll want to make sure the submodule is up-to-date:
git pull git submodule update --init --recursive --remote # install the submodule dependencies cd resources/assets yarn install
To start the PHP dev server, which serves as the API of the application, run the following command from the root directory. By default, the server will listen at port 8000
.
php artisan serve
For the client application itself, run this command:
yarn hot
A development version of Koel should now be available at http://localhost:8080
with full support for hot module reloading.
Alternatively, you can start both the PHP server and the client application in one go with yarn dev
, which uses start-server-and-test
under the hood.
Testing, Linting, Static Analysis and Stuff
# PHP-related code quality tasks # Basically, take a look at the "scripts" section in composer.json composer test # Run the PHP test suite composer cs # Run code style checker composer cs:fix # Run code style fixer composer analyze # Run PHP static analysis yarn build # Build a production version of the client application # Client/E2E code quality tasks # You may want to run `yarn build` first. yarn test:e2e # Run the Cypress test suite interactively yarn test:e2e:ci # Run the Cypress test suite non-interactively (CI mode) # These commands need to be run from within the submodule (resources/assets) yarn lint # Lint yarn type-check # TypeScript type checking yarn test # Unit testing
Note: If you're already running
yarn test:e2e
, there's no need to start a dev server.yarn test:e2e
callsyarn dev
internally and will eliminate the existingyarn dev
process, if any.
A quick and easy way to start hacking on koel is to open and run this repo in Gitpod, an online IDE with full Laravel support.
Backers
Support me on OpenCollective with a monthly donation and help me continue building Koel.
Sponsors
GitHub Sponsors
OpenCollective
Become a sponsor on OpenCollective and get your logo on our README on Github with a link to your site.
Recommend
-
199
-
35
In this tutorial, I’m going to walk you through building a streaming API using Golang. Don’t worry, its surprisingly easy to build a robust strea...
-
4
Structured Streaming: How it works? Reading Time: 2 minutesIn our previous blog post – Structured Streaming: What is it? we got t...
-
6
Koel 搭建个人电台Skip to content Koel (also styled as
-
8
IP obfuscation is an effective process that allows users to spoof their online locations as per their preferences without any hassle. Through an IP obfuscation technique, viewers can mask their actual IP addresses and access a plethora of str...
-
4
Using a Different System? ...
-
4
Using a Different System? ...
-
5
Using a Different System? ...
-
6
Using a Different System? ...
-
8
How to Install Koel Music Streaming Server using Docker on Rocky Linux 8 Koel is a web-based audio streaming service written in the Laravel PHP framework. It allows you to stream your personal music collection and access it from anywhere...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK