Coder Social home page Coder Social logo

olipassey / autoaudio Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 284 KB

A webapp to collate what you are listening to currently from Tidal, Spotify & YouTube and display them on a touch-screen friendly interface, such as an Android Headunit in a car.

Dockerfile 2.88% HTML 70.39% CSS 12.14% JavaScript 14.58%

autoaudio's Introduction

AutoAudio

A webapp to collate what you are listening to currently from Tidal, Spotify & YouTube and display them on a touch-screen friendly interface, such as an Android Headunit in a car.

Screenshots

Front-End

image

Back-End

image

Installation

Best run under docker, behind a reverse proxy

olipassey/audio-widget

Requires

MongoDB

Usage

docker pull olipassey/audio-widget:latest
docker run -d -p 3000:3000 -e MONGO_IP=<your-mongo-ip> -e MONGO_PORT=27017 --name audio-widget-test olipassey/audio-widget:latest

From your PC / MAC navigate to http://host:3000/content.html to add new content. All fields are mandatory currently.
In your car (or wherever you'll use this) navigate to http://host:3000 and you're good to go.
You should run this behind a reverse proxy such as Apache, nginx, caddy etc with a cert (free from LetsEncrypt)

Variables required:

MONGO_IP
MONGO_PORT

Tested running fine on Unraid & vanilla docker.

Reverse Proxy Config and restricting access to content.html

Im just starting my dev journey proper (i come from the infra world) so for now, im locking down access to content.html by apache config and ip restriction. When I access the page from within my LAN the IP the server sees is my firewall, any external users present their actual IP - so below works nicely. You may need to tweak this depending on your environment.

  <Location />
    Require all granted
  </Location>

  <Location /content.html>
    Require ip 10.0.0.1
  </Location>

autoaudio's People

Contributors

olipassey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.