Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lizheming/visitor-badge
A badge generator service to count visitors of your markdown file.
https://github.com/lizheming/visitor-badge
badge deta leancloud vercel visitor-badge
Last synced: 2 months ago
JSON representation
A badge generator service to count visitors of your markdown file.
- Host: GitHub
- URL: https://github.com/lizheming/visitor-badge
- Owner: lizheming
- License: mit
- Created: 2023-05-03T13:41:34.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-05-03T15:57:08.000Z (over 1 year ago)
- Last Synced: 2024-08-04T01:14:44.689Z (5 months ago)
- Topics: badge, deta, leancloud, vercel, visitor-badge
- Language: HTML
- Homepage: https://visitor-badge.lithub.cc
- Size: 108 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-deta - VisitorBadge - A badge generator service to count visitors of your markdown file. (Apps & Examples / Worker)
README
# visitor-badge
> Since [jwenjian/visitor-badge](https://github.com/jwenjian/visitor-badge) didn't work, I reimplemented it based on its API. Many thanks to [jwenjian/visitor-badge](https://github.com/jwenjian/visitor-badge) for the work.
---
A badge generator service to count visitors of your markdown file.
[The story of visitor badge](https://medium.com/@1link.fun/the-story-of-visitor-badge-1bded5ed56b4)
## Installation
[![Deploy with Deta](https://deta.space/buttons/dark.svg)](https://deta.space/discovery/@lizheming/visitorbadge)
## How To Use
Examples:
- default style
```markdown
![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge)
```![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge)
- customized left text (default is `visitors`)
```markdown
![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_text=MyPageVisitors)
```
![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_text=MyPageVisitors)- customized left text with a space between words
```markdown
![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_text=My%20Page%20Visitors)
```
![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_text=My%20Page%20Visitors)- customzied color
```markdown
![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_color=red&right_color=green)
```![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_color=red&right_color=green) (left_color=red, right_color=green)
- customized color and left text
```markdown
![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_color=red&right_color=green&left_text=HelloVisitors)
```![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_color=red&right_color=green&left_text=HelloVisitors) (left_color=red, right_color=green, left_text=HelloVisitors)
- customized color and a space between words in left text
```markdown
![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_color=red&right_color=green&left_text=Hello%20Visitors)
```![visitor badge](https://visitor-badge.lithub.cc/badge?page_id=lizheming.visitor-badge&left_color=red&right_color=green&left_text=Hello%20Visitors) (left_color=red, right_color=green, left_text=Hello%20Visitors)