Skip to content

akijoey/views-badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

views-badge

license views

A badge generator service to count page views.

Usage

Copy the markdown snippet and change the page.

![views](https://views-badge.vercel.app/{page})

Deploy

Install dependencies.

$ yarn install --production

Start service.

$ yarn serve

Docker

Build image.

$ docker build -t views-badge .

Run container.

$ docker run -d -p 8000:8000 --name views-badge views-badge

Configuration

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.

License

MIT © AkiJoey

About

🔮 A badge generator service to count page views.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published