https://github.com/azer/ourtunes
Roll your music player in a few minutes, with single command.
https://github.com/azer/ourtunes
Last synced: 11 months ago
JSON representation
Roll your music player in a few minutes, with single command.
- Host: GitHub
- URL: https://github.com/azer/ourtunes
- Owner: azer
- Created: 2014-02-01T15:52:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-12-29T17:28:49.000Z (over 9 years ago)
- Last Synced: 2025-06-27T00:02:54.976Z (12 months ago)
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 31
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ourtunes
Roll your music player in a few minutes, with single command.
Example Sites: [example-mixtape](http://example-mixtape.azer.io), [lullabytunes.org](http://lullabytunes.org), [anarko.org](http://anarko.org), [gezitunes.org](http://gezitunes.org), [leylatunes.org](http://leylatunes.org)
## Howto
Install it first:
```bash
$ npm install -g ourtunes
```
And create a YAML file like following:
```yaml
title: birthday mixtape
image: https://i.cloudup.com/zL8MU94GNp.jpg
maya: http://tayfabandista.org/player/maya.mp3
toprak ana: http://www.youtube.com/watch?v=hPP2hAWvntA
birinci rollama: http://tayfabandista.org/su_anda_simdi/birinci_rollama.mp3
zaman: http://www.youtube.com/watch?v=RrGjK28-2TY
gavur imam isyani: http://tayfabandista.org/dikkat_askersiz_bolge/player/gavur_imam_isyani.mp3
```
Now build the app:
```bash
$ ourtunes mixtape.yaml
```
This command will create a directory called "mixtape" that has an HTML, JavaScript and CSS file:
```bash
$ ls mixtape/
index.html
mixtape.js
mixtape.css
```
You can open the index.html file with any web browser, and serve from a hosting service in with your own domain.
**Cheers!**
## Tips & Tricks
You can add mixtapes SoundCloud urls, too. First get an API key and add it on top of the document like below:
```yaml
title: birthday mixtape
image: https://i.cloudup.com/zL8MU94GNp.jpg
soundcloud: api-key-here
bul karayi: https://soundcloud.com/veyasin/mode-xl-bul-karayi
merhaba: https://soundcloud.com/sacmalamaca2/saykan-merhaba-2014
```