Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndbaker1/radio-site
Expressjs server for an Audio Syncing Website
https://github.com/ndbaker1/radio-site
expressjs music-player socketserver tunneling
Last synced: 7 days ago
JSON representation
Expressjs server for an Audio Syncing Website
- Host: GitHub
- URL: https://github.com/ndbaker1/radio-site
- Owner: ndbaker1
- Created: 2021-02-12T23:55:23.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T18:16:41.000Z (over 3 years ago)
- Last Synced: 2023-03-08T12:11:27.795Z (over 1 year ago)
- Topics: expressjs, music-player, socketserver, tunneling
- Language: TypeScript
- Homepage:
- Size: 16.6 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Music Radio Site
A site build with `NextJS` and server hosted using `expressjs`, `localtunnel`, and `socket.io` in order to sync up listeners to the same active songs loaded from a Google Drive.## Precompiled Run
```
curl -L https://github.com/ndbaker1/radio-site/raw/master/radio-site.tar > radio-site.tar && tar xvf radio-site.tar && rm radio-site.tar
cd radio-site
npm install
node server.js SUBDOMAIN PORT
```## Setup
Install node modules, build NextJS static files, start express and localtunnel with a preferred subdomain ( which may not be guarenteed ).
```
npm install
npm run build
npm run start SUBDOMAIN PORT
```## Extending
The `lib/loaders` directory contains the platform-specific implementations for the `loader.ts`.
> Currently only done for Google Drive and requires a credentials.json from the drive API#### Known Issues:
> if the `sharp` module is missing from the require stack then first attempt installing it with `npm i sharp`. if not successfully, then diagnose the errors based on your OS and configurations.npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/common.cc:24:10: fatal error: vips/vips8: No such file or directory*Make sure that your system has libvips-dev, vips-dev, or the corresponding lib and that you have updated its core SDKs*