Giter Site home page Giter Site logo

go-rss-hub's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.