Skip to content

dashroshan/visits-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visits Counter

Customizable SVG Visits Counter Badge for github markdown files and sites. Visit the site to get your own.

Demo

Customizations

  • Text on label
  • Label background color
  • Visits count background color
  • Label text color
  • Visits count text color
  • Text shadow opacity and toggle
  • Label and visits count positions

Available Query Parameters

Parameter Values Customization
shadow 1 or 0 Turns the text shadow for the label and visits count on and off respectively
shadowOpacity 0 to 100 Opacity percentage of the text shadow
swap 1 or 0 Swaps the position of label and visits count
labelBGColor Hex color code Changes the background color of label
countBGColor Hex color code Changes the background color of visits count
labelTextColor Hex color code Changes the text color of label
countTextColor Hex color code Changes the text color of visits count
label Any text Changes the label text

Example

<img src = "https://visits.dashroshan.com/Cdq5ki5Oij5PYNgE?label=Profile+Views&shadow=0&swap=1&labelBGColor=3e3e3e&countBGColor=a8a8a8&labelTextColor=ffffff&countTextColor=000000" height = 30px/>

Contributing

Project contributors

Contribution
Alex K Fixed a bug in the package.json scripts
Derzan Chiang Added support for label and visits count swap
MiTo0o Documented the query parameters
Nishanth Created the code of conduct
Isuru Maldeniya Made the shadow opacity customizable

Wish to contribute? Check this out