A badge generator service to count page views.
Copy the markdown snippet and change the page
.

Install dependencies.
$ yarn install --production
Start service.
$ yarn serve
Build image.
$ docker build -t views-badge .
Run container.
$ docker run -d -p 8000:8000 --name views-badge views-badge
Environment variables | Description |
---|---|
BASE_API_PATH |
The counter service API (default is https://countapi.xyz ) can be replaced with a self-hosted CountAPI. |
HOST |
The hostname or IP address of the service. |
PORT |
The port number of the service. |
MIT © AkiJoey