radioreference

A library to collect frequency station info from radioreference

Usage no npm install needed!

<script type="module">
  import radioreference from 'https://cdn.skypack.dev/radioreference';
</script>

README

radioreference

This will allow you to collect info about radio frequencies in a specfic zipcode from radioreference.

TODO: make web version

Install

npm i radioreference

Usage

const { radioreference } = require('radioreference')

async function mine(){
  const portlandRadio = await radioreference(97239)
  console.log(portlandRadio)
}

There are also gqrx and sdrtouch fucntions exported from radioreference, that both take the data-object as input and output the format of bookmarks for each program.

These are also available as CLI programs:

git clone git@github.com:konsumer/radioreference.git
cd radioreference
npm i

# create bookmark file for Gqrx
./bin/gqrx 97239 > ~/.config/gqrx/bookmarks.csv

# create presets for sdrtouch
./bin/sdrtouch 97239 > SDRTouchPresets.xml

These are also available as standalone programs, in releases, so you don't need to install anything (not even node).