Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ollelauribostrom/sverigesradio
Console Radio 📻
https://github.com/ollelauribostrom/sverigesradio
Last synced: 28 days ago
JSON representation
Console Radio 📻
- Host: GitHub
- URL: https://github.com/ollelauribostrom/sverigesradio
- Owner: ollelauribostrom
- License: mit
- Created: 2018-01-28T01:48:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-03T04:34:05.000Z (10 months ago)
- Last Synced: 2024-10-07T01:35:54.232Z (2 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/sverigesradio
- Size: 316 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-sweden - JavaScript (CLI)
README
# Sveriges Radio CLI
[![Build Status](https://travis-ci.org/ollelauribostrom/sverigesradio.svg?branch=master)](https://travis-ci.org/ollelauribostrom/sverigesradio) [![Coverage Status](https://coveralls.io/repos/github/ollelauribostrom/sverigesradio/badge.svg?branch=master)](https://coveralls.io/github/ollelauribostrom/sverigesradio?branch=master) [![Known Vulnerabilities](https://snyk.io/test/github/ollelauribostrom/sverigesradio/badge.svg?targetFile=package.json)](https://snyk.io/test/github/ollelauribostrom/sverigesradio?targetFile=package.json) [![npm version](https://badge.fury.io/js/sverigesradio.svg)](https://badge.fury.io/js/sverigesradio)CLI for streaming radio from Sveriges Radio (P1, P2, P3, P4) written in JavaScript
> Currently tested on: **OSX (10.11.1)**, **Raspbian Stretch (4.9)**, **Windows 7 Enterprise Service Pack 1**
Installation
-------
`npm install sverigesradio -g`
`yarn global add sverigesradio`On Debian/Ubuntu, be sure to have the alsa.h header file in place:
`sudo apt-get install libasound2-dev`Usage
-----
```sh
sverigesradio
sverigesradio p1
sverigesradio p2
sverigesradio p3
sverigesradio p4-blekinge
sverigesradio p4-dalarna
sverigesradio p4-gotland
sverigesradio p4-gävleborg
sverigesradio p4-göteborg
sverigesradio p4-halland
sverigesradio p4-jämtland
```Running your own local development copy
-----------
```sh
# Install dependencies
npm install# Create a symbolic link
npm link# Start babel in watch mode
npm start# Run your development copy
sverigesradio
```Running the tests
-----------------
Tests: `npm test`
Coverage: `npm run coverage`
Linter: `npm run lint`Contributing
------------
All contributions are very much welcome. Please get familiar with the [contributing guide](https://github.com/ollelauribostrom/sverigesradio/blob/master/.github/CONTRIBUTING.md).Support
-------
Please [open an issue](https://github.com/ollelauribostrom/sverigesradio/issues/new) for support.License
-------
MIT