Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jwenjian/visitor-badge

[Service is DOWN now] A badge generator service to count visitors of your markdown file.
https://github.com/jwenjian/visitor-badge

glitch-me pybadge visitor-badge visitor-counter visitor-tracking

Last synced: 9 days ago
JSON representation

[Service is DOWN now] A badge generator service to count visitors of your markdown file.

Awesome Lists containing this project

README

        

# visitor-badge

> **Warning**
>
> **The service is now deployed under a free version of glitch, so it will down if too many requests in the same time**
>
> Update at 2023-04-28: [CountAPI](https://countapi.xyz/) service is DOWN, looking for another alternative for now, but it takes time, you should consider using [hits](https://github.com/dwyl/hits) as alternative (more stable), see [issue #32](https://github.com/jwenjian/visitor-badge/issues/32)

---

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)

Examples:

- default style

```markdown
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge)
```

![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge)

- customized left text (default is `visitors`)

```markdown
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge&left_text=MyPageVisitors)
```
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge&left_text=MyPageVisitors)

- customized left text with a space between words

```markdown
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge&left_text=My%20Page%20Visitors)
```
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge&left_text=My%20Page%20Visitors)

- customzied color

```markdown
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge&left_color=red&right_color=green)
```

![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.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.glitch.me/badge?page_id=jwenjian.visitor-badge&left_color=red&right_color=green&left_text=HelloVisitors)
```

![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.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.glitch.me/badge?page_id=jwenjian.visitor-badge&left_color=red&right_color=green&left_text=Hello%20Visitors)
```

![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge&left_color=red&right_color=green&left_text=Hello%20Visitors) (left_color=red, right_color=green, left_text=Hello%20Visitors)

Visitor count badge for your Github Repo - A github badge to count visitor to your repository | Product Hunt Embed

---

If you deployed forked project to your stable server and want to provide a free, stable service, which is very kind, please raise an issue to tell me so I can list your service url here:

> Before you do that, **DO update the md5_key in .env file to `guess_what`** so that former users will not lose their count, otherwise the count will start from 1.

Other public services:

- https://visitor-badge.laobi.icu
- ~~https://visitor-badge.deta.dev/ (By [@Amresh Prasad Sinha](https://github.com/AmreshSinha))~~ (NO LONGER AVAILABLE)
- ~~https://page-views.glitch.me~~ (NOT WOKRING)

Other implementations:

> You can implement in other languages, if you has, please let me know and I will update this list.

- NodeJS: [Lete114/visitor-badge](https://github.com/Lete114/visitor-badge)
- Go: [Nathan13888/VisitorBadgeReloaded](https://github.com/Nathan13888/VisitorBadgeReloaded)