Edouard DUPIN ba7b6e4755 [FEAT] Play all the playlist in background when phone is stop.
the explanation is the android does not support to update the GUI interface
when the application is down, but it support some update of the playing file
in the audio tag.
2025-03-23 21:01:54 +01:00
2024-08-15 11:47:50 +02:00
2025-02-10 21:50:04 +01:00
2025-03-22 12:06:05 +01:00
2025-01-11 17:33:31 +01:00

Karusic

Kangaroo And Rabbit (m)usic is a simple framework to propose music streaming for personal network

Run in local:

Start tools

Start the server basic interfaces: (DB(mySQL), Adminer)

# start the Bdd interface (no big data > 50Mo)
docker compose -f env_dev/docker-compose.yaml up -d

Start the Back-end:

backend is developed in JAVA

The first step is configuring your JAVA version (or select the JVM with the OS)

export PATH=$(ls -d --color=never /usr/lib/jvm/java-2*-openjdk)/bin:$PATH

Install the dependency:

mvn install

Run the test

mvn test

Install it for external use

mvn install

Execute the local server:

mvn exec:java@dev-mode

Start the Front-end:

backend is developed in JAVA

cd front
pnpm install
pnpm dev

Display the result:

show the webpage: http://localhost:4203

Some other dev tools:

Format code:

export PATH=$(ls -d --color=never /usr/lib/jvm/java-2*-openjdk)/bin:$PATH
mvn formatter:format
mvn test

Tools in production mode

Changing the Log Level

In a production environment, you can adjust the log level to help diagnose bugs more effectively.

The available log levels are:

Log Level Tag org.kar.karusic org.kar.archidata other
prod INFO INFO INFO
prod-debug DEBUG INFO INFO
prod-trace TRACE DEBUG INFO
prod-trace-full TRACE TRACE INFO
dev TRACE DEBUG INFO

Manual set in production:

Connect on the registry

To log-in and log-out from the registry:

export REGISTRY_ADDRESS=gitea.atria-soft.org
docker login -u <<YOUR_USER_NAME>> ${REGISTRY_ADDRESS}
docker logout ${REGISTRY_ADDRESS}

pull the root image of dockers

docker pull archlinux:base-devel
docker pull bellsoft/liberica-openjdk-alpine:latest

Create the version

Execute in the local folder: (use dev for development and latest for production release)

export TAG_DOCKER=latest
export REGISTRY_ADDRESS=gitea.atria-soft.org
docker build -t ${REGISTRY_ADDRESS}/kangaroo-and-rabbit/karusic:${TAG_DOCKER} .
docker push ${REGISTRY_ADDRESS}/kangaroo-and-rabbit/karusic:${TAG_DOCKER}
Description
[MPL-2] music interface
Readme 19 MiB
Languages
TypeScript 81.3%
Java 17.3%
Dockerfile 0.9%
Shell 0.2%
HTML 0.2%
Other 0.1%