纯 HTML 模板,配合 Shoelace 组件库构建界面
Radiohub — HTML 目录站模板
作者 digitalmalayali
Radiohub 是一个基于 HTML 与 Shoelace 组件库的免费开源网页模板,用于搭建在线电台目录,支持在页面内直接播放电台流并可作为 PWA 安装。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
在目录页面内直接播放电台流,无需跳转
支持 PWA,可安装为 Web 应用
国家旗帜使用 Flag Icons,按两位国家代码显示
通过 GitHub 模板仓库方式创建自己的副本
模板详细介绍
Radiohub 是一个面向在线电台目录场景的静态网页模板,代码以 HTML 为主,界面组件来自 Shoelace 组件库,国家旗帜由 Flag Icons 提供。模板的用法是先在 GitHub 上通过“Use this template”创建自己的仓库,然后直接编辑 index.html 中的几处内容:header 区块填写电台名称、官网链接和一段 10–13 词的简短描述;logo-container 区块替换为放在 assets 目录下的电台标志,要求 1:1 比例、最小 80 像素;badges 区块用 ISO 3166-1-alpha-2 两位国家代码、语言和分类填写标签;audio 标签的 src 填入电台流地址。模板自带 PWA 支持,可安装为 Web 应用;播放按钮调用页面内的 audio 元素,用户无需离开目录页即可收听。
限制方面,模板本身是静态 HTML,不包含后台管理、数据库或电台数据的自动采集,所有电台信息都需要手动写入 index.html;每个页面按单电台结构组织,若要展示多个电台需要自行复制和调整结构。演示中出现的标志、字体、图标等第三方素材需按各自许可单独核对,代码的 MIT 许可不覆盖这些素材。
适合你的项目吗?
适用场景
- 为单个网络电台搭建介绍与收听页面
- 整理并展示多个电台条目,形成在线电台目录
- 作为静态站点部署到 GitHub Pages 等托管服务
- 在移动端以 PWA 形式安装并收听电台
适合人群
- 希望用静态 HTML 快速搭建电台目录的开发者
- 需要页面内直接播放电台流的个人或小型电台项目
- 熟悉手动编辑 HTML 文件、不依赖后台系统的使用者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
在 GitHub 上点击 Use this template 创建自己的仓库
- 2
编辑 index.html 的 header 区块,填写电台名称、官网链接和 10–13 词的简短描述
- 3
将 1:1 比例、最小 80 像素的标志图片放入 assets 目录,并替换 logo-container 中的 img 引用
- 4
在 badges 区块用 ISO 3166-1-alpha-2 两位国家代码、语言和分类填写标签
- 5
在 audio 标签的 src 中填入电台流地址
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
https://github.com/digitalmalayali/Radiohub/blob/main/LICENSEhttps://github.com/digitalmalayali/Radiohub/blob/main/README.mdPermission is hereby granted, free of charge
许可证原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 83 / 100
- 技术栈
- HTML
- 网站类型
- 目录站
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-11-04
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 HTML。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 422d6b985d2f33b540078aad73ae381f485539e642751aeb65c374f0483a916e
2026-10-02T23:03:13.103Z
来源文件 / 仓库<div align="center">
<img src="assets/favicon.svg" alt="Radiohub" width="50"/>
# Radiohub
A free, easy-to-use, simple and minimal web template built with [Shoelace](https://shoelace.style/), designed for creating a radio directory.
</div>
## 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](https://shoelace.style/), a powerful web component library!
- 😍 Country flags are powered by [Flag Icons](https://github.com/lipis/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](https://github.com/digitalmalayali/radiohub/blob/main/index.html#L47-L52) file and find `header`:
```html
<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](assets) folder. In [index.html](https://github.com/digitalmalayali/radiohub/blob/main/index.html#L39-L45) file, find `img` tag:
```html
<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](https://github.com/digitalmalayali/radiohub/blob/main/index.html#L53-L57) file. Use the two-letter country code ([ISO 3166-1-alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)) to display flags:
```html
<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](https://github.com/digitalmalayali/radiohub/blob/main/index.html#L59-L60) file:
```html
<audio class="audio" src="https://radio.digitalmalayali.in/listen/stream/radio.mp3" preload="none"></audio>
```
## Credits
Logo - [Broadcast pin](https://icons.getbootstrap.com/icons/broadcast-pin/) icon from Bootstrap.看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

middleman-directory
Directory of Middleman extensions, templates and services
HTML · 目录站

classimax-bootstrap
Classimax is the most popular free Bootstrap classified website template.
HTML · 目录站

rehomes-colorlib
Free Real Estate listing - Bootstrap website template.
HTML · 目录站

axom-car-dealership-website-html-css-js
A modern, responsive car dealership website built with HTML, CSS, and JavaScript. Features dark/light mode, an…
HTML · 目录站

distrohub-template
A clean, minimal, responsive Linux distribution directory built with HTML, CSS, and vanilla JavaScript.
HTML · 目录站
FlaskStarter
FlaskStarter 是一个发布在 PyPI 上的命令行工具,用于快速生成 Flask 项目的基础结构。
HTML · 目录站
