Skip to content

Listings Directory

GitHub repo size GitHub language count GitHub commit activity GitHub code size in bytes pre-commit.ci status Docker Image Size Docker Pulls

This is a Vanilla JS application that is built to provide a listing directory for pages and links, possibly admin pages that are shown to your organization personnel only.

Usage

You can either run the app locally, or use the docker image as below:

listings.json
{
  "dev": [
    {
      "icon_url": "https://static-00.iconduck.com/assets.00/prometheus-icon-511x512-1vmxbcxr.png",
      "label": "Prometheus dev",
      "url": "https://prometheus.dev.example.com"
    }
  ],
  "prod": [
    {
      "icon_url": "https://static-00.iconduck.com/assets.00/prometheus-icon-511x512-1vmxbcxr.png",
      "label": "Prometheus prod",
      "url": "https://prometheus.example.com"
    }
  ]
}
docker run -dp 8080:8080 \
  --name listings-directory \
  -v $(pwd)/listings.json:/public/listings.json:ro \
  ghcr.io/meysam81/listings-directory:latest

The docker container will have a :8080/health endpoint, very useful in a Kubernetes setup with probes.

Demo

Demo Screenshot
Demo Screenshot

Verify Docker Images

cosign verify ghcr.io/meysam81/listings-directory:main \
  --certificate-identity-regexp "https://github\.com/meysam81/listings-directory/.+" \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com"