jwenjian / visitor-badge

[Service is DOWN now] A badge generator service to count visitors of your markdown file.
https://visitor-badge.glitch.me/
GNU General Public License v3.0
881 stars 249 forks source link

Error Count API Failed ! #32

Closed sun0225SUN closed 2 months ago

sun0225SUN commented 1 year ago

It's working fine now, thanks!

espenja commented 1 year ago

This is failing again

zchoi commented 1 year ago

yes, doesn't work again

jwenjian commented 1 year ago

I will take some time to investigate, but seems the count API I am using is not stable anymore? not sure.

jwenjian commented 1 year ago

turns out the count API is down, visitor-badge will work until below url not returning 500 internal error, for now, there is nothing I can do :-(

https://api.countapi.xyz/hit/namespace/key

zchoi commented 1 year ago

got it. thanks~

jwenjian commented 1 year ago

Update:

Turns out the free count API(a personal side project I think) is SOLD to APILayer ( a company ), good news for the developer.

But I cannot find the new count API in APILayer by now, this will take some time..

C3n7ral051nt4g3ncy commented 1 year ago

Same for me: https://github.com/C3n7ral051nt4g3ncy Error API Count Failed.

sun0225SUN commented 1 year ago

Same for me: https://github.com/C3n7ral051nt4g3ncy Error API Count Failed.

By the way, your profile is really cool 👍

sun0225SUN commented 1 year ago

I found another repo, but unfortunately our previous data will no longer exist.

https://github.com/antonkomarev/github-profile-views-counter

jwenjian commented 1 year ago

vercel KV is available, worth to give a try to rebuild, but the previous data is lost

---Original--- From: @.> Date: Mon, May 1, 2023 12:36 PM To: @.>; Cc: "Jiang @.**@.>; Subject: Re: [jwenjian/visitor-badge] Error Count API Failed ! (Issue #32)

I found another repo, but unfortunately our previous data will no longer exist.

https://github.com/antonkomarev/github-profile-views-counter

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

La-Nique commented 1 year ago

Same for me: https://github.com/C3n7ral051nt4g3ncy Error API Count Failed.

How were you able to fix yours? Or, at least transfer over your numbers to a new badge?

pymhq commented 1 year ago

Same here, "Error, Count API Failed"

liugezhou commented 1 year ago

Same here,"Error, Count API Failed"

mortuzahossain commented 1 year ago

Having the same issue Error, Count API Failed

visitors

C3n7ral051nt4g3ncy commented 1 year ago

Same for me: https://github.com/C3n7ral051nt4g3ncy Error API Count Failed.

How were you able to fix yours? Or, at least transfer over your numbers to a new badge?

@La-Nique I made a python script to refresh the page the same number of times as the previous views that I had.

C3n7ral051nt4g3ncy commented 1 year ago

Same for me: https://github.com/C3n7ral051nt4g3ncy Error API Count Failed.

By the way, your profile is really cool 👍

Thank you for your kind words @sun0225SUN, appreciate it !

La-Nique commented 1 year ago

Same for me: https://github.com/C3n7ral051nt4g3ncy Error API Count Failed.

How were you able to fix yours? Or, at least transfer over your numbers to a new badge?

@La-Nique I made a python script to refresh the page the same number of times as the previous views that I had.

Amazing 😂 thanks

IsFilimonov commented 1 year ago

Same for me: https://github.com/C3n7ral051nt4g3ncy Error API Count Failed.

How were you able to fix yours? Or, at least transfer over your numbers to a new badge?

You can also use the command-line utility httping to go to the correct address at ...githubusercontent.com/... .

Nathan13888 commented 1 year ago

Hi everyone, just wanted to share a very very recent update on Visitor Badge rewrite I've done. The new design isn't dependent on a third-party API like CountAPI. I have my own Redis which I will actively maintain going forward.

Please check out https://github.com/Nathan13888/VisitorBadgeReloaded for more details!!!

I've also spoken with the original creator of CountAPI, but TLDR the service could be down/unfixed indefinitely.

But in the mean time, this could replace anything relying on CountAPI. Also for those who already used my rewrite before, I am working to restore your visitor counts (as long as you use this within the past three months I have logs!).

kimmy-wang commented 1 year ago

same issue

hehuapei commented 1 year ago

My branch change the counting api to self-built service on July 17, 2020, so it works fine! hehuapei/visitor-badge

Nathan13888 commented 1 year ago

Nice what database are you currently using? @hehuapei

Also, for those interested, here's a section for VBR for those interested in a quick replacement: https://github.com/Nathan13888/VisitorBadgeReloaded#-migrating-from-visitor-badge

UPDATE on the restoration: over 200 badges have been restored from logs!

hehuapei commented 1 year ago

Nice what database are you currently using? @hehuapei

Also, for those interested, here's a section for VBR for those interested in a quick replacement: https://github.com/Nathan13888/VisitorBadgeReloaded#-migrating-from-visitor-badge

UPDATE on the restoration: over 200 badges have been restored from logs!

I use MariaDB and Redis!

Nathan13888 commented 1 year ago

Source code is only on Glitch?

Sunilrai486 commented 1 year ago

Can use this tool as an alternative: https://github.com/antonkomarev/github-profile-views-counter

Demo: Profile Views

gimnathperera commented 1 year ago

Can use this tool as an alternative: https://github.com/antonkomarev/github-profile-views-counter

Demo: Profile Views

This works

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

zaadevofc commented 8 months ago

countapi alternative : https://kounter.vercel.app/ repo : https://github.com/zaadevofc/kounter.vercel.app

huywallz commented 8 months ago

countapi alternative : https://kounter.vercel.app/ repo : https://github.com/zaadevofc/kounter.vercel.app

how to reset counter? is there a docs?

zaadevofc commented 8 months ago

countapi alternative : https://kounter.vercel.app/ repo : https://github.com/zaadevofc/kounter.vercel.app

how to reset counter? is there a docs?

thanks for question, update next time i can make this

Nathan13888 commented 8 months ago

@huywallz the company that bought CountAPI basically took it down already... so what's the point anyway ;)

zaadevofc commented 7 months ago

countapi alternative : https://kounter.vercel.app/ repo : https://github.com/zaadevofc/kounter.vercel.app

how to reset counter? is there a docs?

if you want to add a kounter, has button "+ Tambah Kounter" in it

now you can reset your counter,

image

Zibri commented 7 months ago

it's failing again..

JasonLovesDoggo commented 3 months ago

it's failing again..

I built a countapi alternative in GO and ValKey so if you/anyone else wants to use it https://abacus.jasoncameron.dev/

I plan on maintaining it and keeping it up. You can also initialize a counter at a specific number so you can keep your old data

Catalin-Ionut commented 2 months ago

Still failing, any news on this @jwenjian or is it abandoned?

jwenjian commented 2 months ago

Still failing, any news on this @jwenjian or is it abandoned?

Hi, I am sorry to say that, this project is stopped developing, this was just a proof of concept and for fun, and not meant to be a stable public service for visitor/views counter.

I find hits is good to switch to.

And I also created a deno version, which is deployed at deno deploy, it should be OK for persona use, you can check the source code at: https://github.com/jwenjian/visitor-badge-deno

BR,