jvelo / icescraper

Scraper for icecast media streaming servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Badly hand-drawn ice scraper used as a logo

Prerequisites

  • Golang 1.16+
  • NodeJS

Optionally:

  • docker to build the docker image
  • flyctl to run on fly.io

Getting started

To build and run:

$ make build
$ cp config.yml.example config.yml
$ # edit config, then:
$ ./icescraper

Development

Running migrations:

make migrate

To re-generate the DB client stubs:

make generate

Running in production

To apply migrations on the production database:

DATABASE_URL="postgres://<connection_string>/<db_name>" npx prisma migrate deploy

A sample fly.toml is provided for convenience, and with flyctl available, fly.io deploments are a matter of:

make deploy

About

Scraper for icecast media streaming servers

License:Apache License 2.0


Languages

Language:Go 95.3%Language:Makefile 2.3%Language:Dockerfile 1.9%Language:Shell 0.6%