REPLangs! A Tiny Yet Awesome Program!
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?
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!
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?
I finally polished up this API, and it works :)
Here's an example:
the API route is (case sensitive):
I hope it's any bit useful for y'all's project