You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Coma Grayce 8670134a06
Document fallback feature.
12 hours ago
.github Bump Node for Elvis operator. 13 hours ago
posts Add tags. 3 days ago
src Document fallback feature. 12 hours ago
static Prettify tags. 3 days ago
.gitignore Remove trash. 3 days ago
.prettierignore Add formatter. 3 days ago
LICENSE Add LICENSE file; better README.md. 3 days ago
README.md Document fallback feature. 12 hours ago
morkerfyr.config.js Try to fallback to second radio mount. 14 hours ago
package.json Try to fallback to second radio mount. 14 hours ago
postcss.config.js Add formatter. 3 days ago
rollup.config.js Add formatter. 3 days ago
tailwind.config.js Add formatter. 3 days ago
yarn.lock Try to fallback to second radio mount. 14 hours ago

README.md

Mörkerfyr Radio

Simple frontend for non-free Rocket Streaming Audio Server using Svelte, Sapper, and Tailwind CSS.

Light Theme Dark Theme

Features

  • Plays radio stream from RSAS (and any Icecast-compatible server)
  • Shows playing track and history of played tracks (using RSAS-exclusive API endpoints)
  • Fetches metadata from secondary radio mount when the main radio mount is down
  • Dark theme switcher
  • Markdown-powered blog with tags
  • RSS feed and sitemap.xml for the blog
  • It's ugly! (plz halp)

TODO

  • Clickable tags for blog posts
  • Play radio when lurking other pages

Development

Requirements

Steps

  1. Launch RSAS with the following config:
$ cat config.xml
<icecast>
    <listen-socket>
        <port>8000</port>
        <bind-address>127.0.0.1</bind-address>
    </listen-socket>

    <mount>
        <mount-name>/stream</mount-name>
        <username>source</username>
        <password>hackme</password>
    </mount>
</icecast>

$ rsas -c config.xml
  1. Start stream with butt or any other Icecast-compatible client
  2. Clone repository and install dependencies:
git clone https://github.com/innereq/morkerfyr && cd morkerfyr
yarn
  1. Change radio_host in the morkerfyr.config.js to 127.0.0.1:8000
  2. Start development server with yarn dev

Building

Use yarn export to build a bunch of static HTML.