Skip to content

sovietwave/radio

This branch is 8 commits ahead of eliasku/swr-app:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

01f1dd1 · Feb 27, 2025

History

65 Commits
Feb 27, 2025
Jan 8, 2025
Aug 4, 2024
Jun 22, 2024
Jul 3, 2024

Repository files navigation

radio wrapper investigation

Application wrapper for Soviet Wave Radio site (source-code)

  • cap for Capacitor approach
  • tau for Tauri approach (v2 beta)

CSP

const hosts = [
    "https://sovietwave.su/",
    "https://static.nay.su/",
    "https://mc.yandex.com/",
    "https://mc.yandex.ru/",
    "https://station.waveradio.org/",
    "https://core.waveradio.org/",
];
const srcHosts = hosts.join(" ");
callback({
    responseHeaders: {
    ...details.responseHeaders,
    'Content-Security-Policy': [
        electronIsDev
        ? `default-src ${srcHosts} ${customScheme}://* 'unsafe-inline' devtools://* 'unsafe-eval' data:`
        : `default-src ${srcHosts} ${customScheme}://* 'unsafe-inline' data:`,
    ],
    },
});

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 37.0%
  • CSS 28.6%
  • HTML 28.2%
  • Swift 3.3%
  • Java 1.4%
  • Rust 0.8%
  • Ruby 0.7%