112
kurtr
7y

devRant terminal client.

Currently it can display rants, comments and images and avatars are
converted to ascii images just for fun.

Project Type
Existing project
Summary

devRant terminal client.<br /> <br /> Currently it can display rants, comments and images and avatars are<br /> converted to ascii images just for fun.

Description
Ok so I was experimenting with command line apps in node.js and ended up making a very basic devRant cli app. My personal copy also allows you to login and ++ / -- rants but I removed this from the repo before posting because I have not asked permission to spoof the devRant web app and to prevent skids from using it to make ++ bots. This was literally just a 2am mucking around proof of concept and sadly I doubt I will be continuing development on it so I figured I would hand it over to the community -  it is a pretty fun little project after all. The code is scrappy. It was born butt ugly and has not been debugged or tested in depth, I may have also introduced a few new bugs by removing the login functionality. Please feel free to fix / refactor / ignore any bugs you encounter. On a closing note if I was serious about developing this further and letting it out into the wild, personally I would use almost any language but JavaScript (The async loading of images etc is a ball ache to get to load in any specific order).
Tech Stack
node.js
Current Team Size
1
URL
Comments
  • 26
    That's neat. Now I can pretend I work in terminal while ranting instead 😂😂
  • 6
    This is awesome! I think this has inspired me to do something similar.

    *If* I do, I would make it in python and curses. Anyway, this looks fantastic!
  • 2
    Okay... seems like there aren't really and good python libraries for devrant.

    Is there a http(s) api I could use? I was jsrant. But it loads realtime and could be tricky to scrape.
  • 0
    @coolq look at the node library I used. It uses the open devrant api. Would be good to post a python version on github!
  • 6
    Interested in this. The more cli apps the better :D
  • 1
    Neatly done bro...
  • 2
    Do you access the DevRant API through http?
  • 0
    @coolq it uses rest but the devrant library takes care of the requests
  • 1
    @kurtr the JS library uses web scraping? Or does DevRant have an API?
  • 0
    @coolq devrant has an api
  • 1
  • 1
    Ranting about developing DevRant.

    Sounds cool.
  • 3
    @LordDjigo
    What about ranting about people ranting about devrant?
  • 0
    @coolq That's another level
  • 2
    Using a transpiler with async/await will make life so much easier
Add Comment