Share your repls and programming experiences

← Back to all posts
REPLangs! A Tiny Yet Awesome Program!
h
RayhanADev (1955)

Ever wanted to have one of those tiny little widgets on Github that tell you what percent of your project is composed of what language?

Well presenting...

REPLangs

Horrible name, I need a better one. You get a shoutout if you can come up with one!

This is a small terminal program made in NodeJS and uses my ReplAPI.it to display your project stats :D!

Try it out HERE!

By querying the Replit RESTful API, my package is able to pull the data, then I slice off the file extension, note the amount of their appearances, compare it against my "database" and switcheroo any familiar file extensions with their actual names and display the data in a graphically appeasing format!

Updates!

I created a small API to get the data, send GET requests to https://replangs.rayhanadev.repl.co/[username]/[slug] to get REPLangs data!

TL;DR it's kewl

So try it out, and drop a picture of your project in the comments below! Any suggestions, let me know too!

Also, off-topic but I'm looking for more examples using of my package and might host an unofficial "jam" to get unique projects featured on the package. Any thoughts?

Comments
hotnewtop
RayhanADev (1955)

Come up with a decent name everyone likes, you get a shoutout on this post :D.

Th3Coder (68)

@RayhanADev actually, I think REPLangs is already a great name!

Also, I learnt readline.question, console.clear, and the colors module from your code (I hope that is allowed...) so thanks!

RayhanADev (1955)

@Th3Coder alrighty xD

also it's a-okay to learn anything from my code, I'm glad I could help lmao

RayhanADev (1955)

@darkdarcool ping!
I finally polished up this API, and it works :)
Here's an example:
https://replangs.rayhanadev.repl.co/RayhanADev/its
the API route is (case sensitive):
https://replangs.rayhanadev.repl.co/[username]/[slug]

I hope it's any bit useful for y'all's project

Whippingdot (552)

@RayhanADev uses the most poggy languages in his project

WE LUV TEXT FILES AAAAAAAAAAAA

JBloves27 (1715)

Hmmm, is it ok if i add this to our module? (Replapi)

Whippingdot (552)

why would I? I have exams, I can't afford to lose time and knock myself out @RayhanADev