AlphaTechnolog / linux-remote

Web based application that uses playerctl in it backend to control remotely your audio using the frontend as remote control.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux Remote

This is a web based application that uses playerctl in it backend to control remotely your audio using the frontend as remote control.

demonstration

Downloading and setup

First download with git

git clone https://github.com/AlphaTechnolog/linux-remote

Then install dependencies for backend and frontend

cd linux-remote
cd api
npm install
cd ../app
npm install
cd ../

Running the backend

First copy the .env.sample file to .env

cd linux-remote/api
cp -r ./.env.sample ./.env

To run the backend simply run the start script:

npm start

Running the frontend

First copy the configuration for the api example and replace values with the correct:

cd linux-remote/app
cp -r ./src/api/conf.sample.json ./src/api/conf.json

Then build the application:

npm run build

Then install serve to make an http server:

sudo npm install -g serve

And execute this to make the server works:

cd dist
serve

If you want you can use apache, simply put the dist folder content to the root of the apache folder

Running application for development

Use the start.sh script:

cd linux-remote
bash start.sh

About

Web based application that uses playerctl in it backend to control remotely your audio using the frontend as remote control.


Languages

Language:JavaScript 54.5%Language:Vue 26.2%Language:CSS 16.5%Language:HTML 2.1%Language:Shell 0.8%