Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 2.58 KB

README.md

File metadata and controls

64 lines (50 loc) · 2.58 KB
Radiohub

Radiohub

A free, easy-to-use, simple and minimal web template built with Shoelace, designed for creating a radio directory.

Features

  • 😊 Create your own radio directory - just add station details and streaming URL!
  • 🔽 PWA support - install as a web app on any device!
  • 📻 Stream stations without leaving the directory!
  • ⚡ Uses Shoelace, a powerful web component library!
  • 😍 Country flags are powered by Flag Icons!

Usage

The first step is to click the Use this template button above the file list to create a new repository.

Add station name, website and description

Make sure to keep the description short, with 10-13 words. Go to index.html file and find header:

<div class="header">
    <strong>Radio Digital Malayali</strong>
        <sl-icon-button name="arrow-up-right" label="Visit Website" href="https://radio.digitalmalayali.in/" target="_blank">
        </sl-icon-button>
</div>
A 24/7 Indian lo-fi music web radio initiative by Digital Malayali.

Add station logo

Add a logo at a minimum size of 80 pixels in a 1:1 ratio to the assets folder. In index.html file, find img tag:

<div class="logo-container">
    <img class="radio-logo" src="assets/RDM.webp" alt="Radio Digital Malayali Logo" />
    <sl-button class="play-radio" variant="primary">
        <sl-icon slot="prefix" name="play-circle-fill"></sl-icon>
        Play
    </sl-button>
</div>

Add country, language and category

Find badges in index.html file. Use the two-letter country code (ISO 3166-1-alpha-2) to display flags:

<div class="badges">
    <sl-badge variant="success">India<span class="fi fi-in fis"></span></sl-badge>
    <sl-badge variant="success">Malayalam</sl-badge>
    <sl-badge variant="success">Music</sl-badge>
</div>

Add streaming URL

Find audio tag in index.html file:

<audio class="audio" src="https://radio.digitalmalayali.in/listen/stream/radio.mp3" preload="none"></audio>

Credits

Logo - Broadcast pin icon from Bootstrap.