Coder Social home page Coder Social logo

jwenjian / visitor-badge Goto Github PK

View Code? Open in Web Editor NEW
883.0 6.0 246.0 44 KB

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

Home Page: https://visitor-badge.glitch.me/

License: GNU General Public License v3.0

Python 23.95% HTML 73.47% Shell 0.90% Dockerfile 1.68%
visitor-badge visitor-counter visitor-tracking glitch-me pybadge

visitor-badge's Introduction

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 service is DOWN, looking for another alternative for now, but it takes time, you should consider using hits as alternative (more stable), see issue #32


A badge generator service to count visitors of your markdown file.

The story of visitor badge

Examples:

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

visitor badge

  • customized left text (default is visitors)
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge&left_text=MyPageVisitors)

visitor badge

  • customized left text with a space between words
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge&left_text=My%20Page%20Visitors)

visitor badge

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

visitor badge (left_color=red, right_color=green)

  • customized color and left text
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge&left_color=red&right_color=green&left_text=HelloVisitors)

visitor badge (left_color=red, right_color=green, left_text=HelloVisitors)

  • customized color and a space between words in left text
![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 (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:

Other implementations:

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

visitor-badge's People

Contributors

humsarika avatar jwenjian avatar kevinadhiguna avatar nathan13888 avatar ramank775 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

visitor-badge's Issues

Add New Server page-views.glitch.com

Loved you work. Indeed nice work, Thanks for that. Please verify credibility and you might add it your Readme page to split the loads.

Please have a look at it. Minor changes in API calls and endpoints.

Badge shows user many times

It means that I can refresh the page and it will count me to visitors again. Even if I'm a creator of this repository.

Readme.md

The Badges (Images in Readme.md) file is not Visible till now

Please fix this So All can preview and Understand all the instructions related to this project

Thanks

Error Fetching Resource

I have noticed that visitor-badge is not working and throwing Error Fetching Resource upon visiting the link.

Label and color

Hey, thanks for making this.
How can I change color, label etc?

what is meaning of app sleeps?

The glitch site mentioned it sleeps after 5 mins of inactivity. Does this mean my visitor count stops? or the counter restarts?
I have forked the project and created another app on glitch. But still unaware of meaning of it sleeps.

Custom Styles

Can I have Styles with the badge like ?style=for-the-badge?

Use redis as datastore

Since the CountAPI service is currently unavailable, this project is effectively unusable, and all of our historical data has been lost. To make a fresh start, I've switched to using Redis instead. If this change is in line with the project's objectives, I'd be happy to submit a pull request. Otherwise, I'm open to starting a separate project that utilizes Redis as its data storage solution.

If you're interested in reviewing the modifications, you can find them here 2dbfed3

Hosted On Deta 24/7 (visitor-badge.deta.dev)

I have hosted the visitor-badge on deta.dev as it goes down on glitch on many requests.
It's totally free and your app doesn't sleep or gives error on many requests like it does on glitch.me.

Here's the link: https://visitor-badge.deta.dev/

Visitor-Badge

Visitor-Badge (left_color=red, right_color=green)

You can add this in the README so that others can use this too :)

A new counter and badge generate services

Hi @jwenjian,

I also came across the problem with access limitations, and I also found that lack of control over data.

Therefore, I wrote another counter service and badge generator service, which could help manage data better.

Relative documentation could be found here: https://plantree.github.io/project-docs/counter/usage.html

Hope to provide an alternative solution for users facing similar problems.

Any suggestion will help me further improve these services and I'll appreciate.

Error Count api failed

The Visitor Badge API is currently not working and is displaying an error message stating that the count API has failed.

Potential bug in visitor count?

Hi! Thank you so much for allowing public access to create a visitor counter for GitHub profile. I ran into an issue and was wondering if you could explain. I copied and pasted the code for my GitHub profile's README but while editing I realized that ANY visit to the readme counts (including from me!). Is it true that the visitor count is not unique to visitors from same IP address? Currently every time I toggle between the "edit" and "preview" tabs of the README.md, I am seeing the number increase (without even committing). Please provide clarity if you can! Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.