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?
hmm i wonder who came up with idea and didnt get credit
thinking really hard rn
jk, you did great with this project and i would like to do more projects with you(i took a break from coding so i haven't been on repl a lot lately) Also teach me how to do this plssssssss.
Also you did all the coding and probs forgot about me(remember i am a pie in the trash) so i can understand for you giving no credit.
@RayhanADev Hey, yeah long time no see, remember in 2020 like i told you: hey it would be cool if there was something like github, for replit. Then I took a break from coding and then you seemed to have taken the project under your arms.
Also idk, we should brainstorm this (also im in school rn and not supposed to be on replit, so i might not be able to talk)
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