/go-rss-hub

Generate RSS feed for sources without RSS feed.

Primary LanguageGoMIT LicenseMIT

go-rss-hub

Go Report Card Docker Hub Docker image size GitHub issues GitHub pull requests GitHub GitHub release (latest by date)

A REST API designed in go to check for a container status

Getting Started

go-rss-hub is packaged as docker container. Docker image is available on Docker Hub.

Docker run

docker run -p 5000:5000 -e LISTEN_ADDR='0.0.0.0' hibare/go-rss-hub

Docker Compose

version: "3"
services:
  go-rss-hub:
    image: hibare/go-rss-hub
    container_name: go-rss-hub
    hostname: go-rss-hub
    environment:
      - LISTEN_ADDR=0.0.0.0
    ports:
      - "5000:5000"
    logging:
      driver: "json-file"
      options:
        max-size: "500k"
        max-file: "5"

Endpoints

  1. Check health
/ping/
  1. Docker hub rss RSS feed for images published on Docker hub.
/docker/<user>/<repository>/tags/

Example:

> curl http://127.0.0.1:5000/docker/hibare/vt_ip_monitor/tags/


<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom">
  <title>hibare/vt_ip_monitor | Docker Hub Images</title>
  <id>https://hub.docker.com/r/hibare/vt_ip_monitor</id>
  <updated>2021-12-20T10:49:50Z</updated>
  <subtitle>A Python 3 script to monitor your IP for malicious domains/URL.</subtitle>
  <link href="https://hub.docker.com/r/hibare/vt_ip_monitor"></link>
  <author>
    <name>hibare</name>
  </author>
  <entry>
    <title>hibare/vt_ip_monitor:latest</title>
    <updated>2020-01-06T18:41:43Z</updated>
    <id>tag:hub.docker.com,2020-01-06:/r/hibare/moni/tags?name=latest</id>
    <content type="html">Docker image ID: 81667473, Status: inactive</content>
    <link href="https://hub.docker.com/r/hibare/vt_ip_monitor/tags?name=latest" rel="alternate"></link>
    <summary type="html">A Python 3 script to monitor your IP for malicious domains/URL.</summary>
    <author>
      <name>hibare</name>
    </author>
  </entry>
</feed>

Supported Environment Variables

Variable Description Default Value
LISTEN_ADDR IP address to bind to 127.0.0.1
LISTEN_PORT Port to bind to 5000