Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tinyfm/sandbox
tinyfm sandbox image for development purpose.
https://github.com/tinyfm/sandbox
Last synced: 3 months ago
JSON representation
tinyfm sandbox image for development purpose.
- Host: GitHub
- URL: https://github.com/tinyfm/sandbox
- Owner: tinyfm
- License: apache-2.0
- Created: 2014-11-29T20:17:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-05T14:48:08.000Z (almost 10 years ago)
- Last Synced: 2024-07-14T12:35:42.040Z (4 months ago)
- Language: Shell
- Homepage: https://tinyfm.github.io
- Size: 319 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - tinyfm/sandbox - tinyfm sandbox image for development purpose. (others)
README
# tinyfm
> tinyfm sandbox image for development purpose.
![Award winning project during Al Jazeera inaugural Canvas hackathon](canvas-working-hack.jpg)
Because developing straight on a RaspberryPi is long and tedious, this Vagrant image helps to replicate a similar environment to the *tinyfm board*.
It setups:
- a [Mopidy server](https://www.mopidy.com/) to manage a media playlist of digital assets to broadcast over FM;
- the [tinyfm Client-app](https://github.com/tinyfm/Client-app) to request media assets to be broadcasted;
- the [mpd2fm bridge](https://github.com/tinyfm/mpd2fm) which broadcasts playback to FM waves.This project has been initiated as part of [Al Jazeera Canvas hackaton](http://canvas.aljazeera.com) in November 2014.
# Install
The install procedures downloads a fair amount of useful packages, configuration files and services.
It should take a **couple of minutes** to be ready.## Vagrant sandbox
Requires *Vagrant* and *VirtualBox*.
```bash
git clone https://github.com/tinyfm/sandbox.git tinyfm-sandbox
cd tinyfm-sandbox && vagrant up
```## On a Raspberry Pi
```bash
wget -q -O - https://raw.githubusercontent.com/tinyfm/sandbox/master/install.sh | bash -
```# Usage
An Web server should be running on [localhost:6680](http://localhost:6680).
The content of the tracklist can be displayed with a small Node script:
```bash
npm installHOST=localhost node src/display-tracks.js
```# Raspberry Pi
When `install.sh` is run on a Raspberry Pi, it should make it visible through the ZeroConf/Bonjour/mDNS protocol.
```bash
ssh [email protected]
```