Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare committed Feb 18, 2024
0 parents commit 26122ab
Show file tree
Hide file tree
Showing 10 changed files with 554 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
11 changes: 11 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Release

on:
push:
tags:
- 'v*.*.*'
pull_request:

jobs:
release-container:
uses: radiorabe/actions/.github/workflows/[email protected]
13 changes: 13 additions & 0 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Run semantic-release

on:
push:
branches:
- main
- release/*

jobs:
semantic-release:
uses: radiorabe/actions/.github/workflows/[email protected]
secrets:
RABE_ITREAKTION_GITHUB_TOKEN: ${{ secrets.RABE_ITREAKTION_GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
venv/
site/
428 changes: 428 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# RaBe Songticker

Songticker takes care of getting program associated data onto the airwaves.

This repository contains high level documentation and links to the individual components.

## Goals

The songticker gathers and aggregates real time data from the RaBe playout solutions and sends them to relevant stakeholders.

This includes sending DAB+ SLS+ data to our DAB+ provider and publishing data on the web for our website.

## Components

### [nowplaying daemon](https://radiorabe.github.io/nowplaying/)

The nowplaying daemon is the python server central to our songticker.
16 changes: 16 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: rabe-songticker
title: Songticker
description: |
Songticker takes care of getting program associated data onto our airwaves.
annotations:
backstage.io/techdocs-ref: dir:.
github.com/project-slug: radiorabe/rabe-songticker
links:
- url: https://songticker.rabe.ch
title: Frontend
spec:
owner: it-reaktion
4 changes: 4 additions & 0 deletions docs/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* set primary color */
:root {
--md-primary-fg-color: #00C9BF;
}
6 changes: 6 additions & 0 deletions docs/gen_ref_pages.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from pathlib import Path

import mkdocs_gen_files

with mkdocs_gen_files.open("index.md", "w", encoding="utf-8") as index:
index.writelines(Path("README.md").open("r").read())
51 changes: 51 additions & 0 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
site_name: RaBe Songticker
repo_url: https://github.com/radiorabe/rabe-songticker
repo_name: radiorabe/rabe-songticker

theme:
name: "material"
palette:
# Palette toggle for dark mode
- scheme: slate
primary: '#00c9bf'
toggle:
icon: material/brightness-4
name: Switch to light mode
# Palette toggle for light mode
- scheme: default
primary: '#00c9bf'
toggle:
icon: material/brightness-7
name: Switch to dark mode
icon:
repo: fontawesome/brands/git-alt
features:
- content.code.copy

markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences

extra:
social:
- icon: material/web
link: https://rabe.ch

extra_css:
- css/style.css

plugins:
- search
- gen-files:
scripts:
- docs/gen_ref_pages.py
- literate-nav

nav:
- README: index.md

watch:
- README.md

0 comments on commit 26122ab

Please sign in to comment.