Share your repls and programming experiences

← Back to all posts
ReplStats: Search analytics data for web REPLs!
h
frissyn (443)

Like a lot of my projects lately, I made this on a Tuesday while I was bored out of my mind.

ReplStats

ReplStats is a very simple and rudimentary analytics tool for viewing your web REPLs hits by day. One day, I stumbled upon @amasad's express API for repl-stats here, and while I could pretty easily figure out how to use it, I couldn't find any other endpoints. (Although the CEO is more than welcome to discuss that in the comments 👀). I scrape the data from that API to provide you with some simple stats: your best/worst hits by day and a pretty graph with timestamps for each day! (Powered by chart.js)

✨There isn't really much more to say, except to enjoy!✨

Here's an example:

Open in a New Tab

Comments
hotnewtop
amasad (3246)

Cool project!

The two endpoints are:

  • /hits_by_day/:hostname
  • /paths/:hostname
frissyn (443)

@amasad It wouldn't be too much to ask if I could get invited to that repl... would it? 👀

Codemonkey51 (1029)

It prob has some sekrets... :O @frissyn

lmaowhat (2)

this is cool, I lost my old repl account but I can still see that stats for some of them

frissyn (443)

@lmaowhat yeah, for some reason, when you delete a repl/account it's web view doesn't go away unless you make a new one on top of it

FloCal35 (351)

Um @frissyn, I think somethings wrong. I've put multiple links through (just like I did a week a go) and it's given me errors since

frissyn (443)

@FloCal35 lemme take a look, gimme a sec

frissyn (443)

@FloCal35 It's an error with @amasad's API, not something I can fix, sorry :(

amasad (3246)

@frissyn hey, i'll fix it today

pythonorguser (12)

How this REPL is doing:

Baconman321 (760)

Imagine trademarking something without getting a government pass for it (which costs about $225-$400)!

Swipes name legally HeHe

Oh, wait....

We have all been "©"ing our portfolios and such....

Hmmmmm...

gitonthescene (3)

I guess this is only for web hosted repls. Is there a way to get stats for non web hosted repls, like python repls?

frissyn (443)

@gitonthescene nope, I don't think so, sorry :|

sojs (272)

How did this happen???

Hehe lol I use uptime robot to ping it every five minutes lol. Got y'all :)

hg0428 (184)


I know it is only for repls, but I wanted to see what would happen. The above is my wish.
Also, why the negatives?

frissyn (443)

@hg0428 If your site doesn't have any hits yet, chart.js will scale around 0, from -1 to 1. Also, sites that aren't REPLs won't display hits lol

hg0428 (184)

I assumed it would say error, but it didn’[email protected]

hg0428 (184)

This showed me that my search engine was 1000 times more popular than I thought:

CyberHacker101 (109)

THIS IS AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWWWWWWWWWWWWWWWWWWWWWWWWWWWWSSSSSSSSSSSSSSSSSSSOOOOOOOOOOOOOOOOOOOOOOOOOOOOOMMMMMMMMMMMMMMMMMMMMMMMMMMMEEEEEEEEEEEEEEEEEEEE

DSAEvan (17)

This is really useful!!!!!! I posted one of my repl links somewhere and I thought only one person saw my repl, turns out over 300 people, Oh man!!!
P.S. That's a lot of repl.it people.

frissyn (443)

@DSAEvan I don't mean to be a downer, but it's not really 300 unique hits, someone could reload the page a couple times or navigate to different paths, causing more hits to show, even though it's just one person.

DSAEvan (17)

@frissyn yeah but that's still a lot of people

Whippingdot (393)

Why does your program bully me. My repl https://replit-2020.whippingdot.repl.co/ has 1 visit which is totally not true. It had 28 upvotes of all real people.

frissyn (443)

@Whippingdot It probably hasn't updated yet

Whippingdot (393)

Cool program other than that. I love it. 😁😁 BTW i haven't seen you before, are you new...or are you an oldie who left and came back @frissyn

frissyn (443)

@Whippingdot no lmao I just changed my username recently

Whippingdot (393)

Ok i am glad you are not 50 @frissyn

maxina (45)

How does it work?

Bookie0 (5642)

Also, I tried to put a site (this trash one specifically, but it says the URL is invalid. I'm probably doing something wrong, mind to point me in the right direction? :)

Kookiez (327)

@Bookie0 there shouldn't be a https://, just include profile.bookie0.repl.co, i think that should work

Bookie0 (5642)

ah, you is smart. thank you lol! @Kookiez

Whippingdot (393)

bruh the chat app has 20000 visit in one day. @rafrafraf probably because of bots @Bookie0

Bookie0 (5642)

Like a lot of my projects lately, I made this on a Tuesday while I was bored out of my mind.

Tuesday is the most boring day of the week. I feel you bro.

also why did you change ur username I liked ire better 😩

Kookiez (327)

apparently a private project that's now dead got 540 views in a day, interesting

also this is great

hg0428 (184)

I have seen a lot of people who wander on to people’s accounts and look at their public repls, I wouldnt be surprised if one of my repls I have never shared and never used much has a few [email protected]

Kookiez (327)

@hg0428 The difference is, this one is private.

Kookiez (327)

@hg0428 Yeah, and 6 other people in the multiplayer reloading too

EpicGamer007 (1471)

Pog project. I needed this. apparently one of my projects got 4400 views in a day.

Also:

Pog pfp too. aint that mizuhara's other neighbor

frissyn (443)

@EpicGamer007 lmfao that triangle is perfect.

yeah, my pfp is yaemori from rent a girlfriend, the best girl

EpicGamer007 (1471)

@frissyn you changed your username!!!

thrkturner (5)

@frissyn nah bruh robin best girl