Inspiration

Developers did. DEVELOPERS DEVELOPERS DEVELOPERS!!!!! Get it? But really though, as a developer myself, sometimes I am in the zone and do not want to leave my code editor, but i have to, you know why? cause I always gotta check how to center a div online (I don't do this though, I'm kidding). But really, wouldn't it be nice to not leave your editor as you are coding, you know that whenever you need to search for something online, perhaps an answer to a question or you're stuck with a bug or you just want to have fun online to check on a random fact (autistic guys like me can confirm) you can just do so on your terminal. I am sure there are many apps like this (haven't seen any). But I got the inspiration to build one powered by perplexity and its models (honestly really cool too). They even gave me $50 in credits to play with it, pretty cool I won't lie. so yeah, that is my inspiration. To help developers focus even more by bringing a crucial part of their development cycle one step closer to them, one step closer to their favorite editor in a way where everyone has access to it.

What it does

What it does? It's quite simple really, you want to check a random fact? You got it, you want to search deeper into that fact? you got it. You're wondering how much apple earned in revenue last year as a whole? you got it. You want it as a fun story to chuckle a bit while you work? you got it. Oops, you ran into an error and now you don't want to leave your terminal to seek the validation of an AI or a person on your browser? Easy, simply fix it into the tool in your terminal and watch it recommend fixes for your issues. Whatever you want to do, clarity has got you, if there is something missing I am free to add it as soon as I can.

How we built it

Oh that's easy (not so much), I used python and rich to build it, from scratch, ground up. Connected the tags to perplexity's api and voila, you got yourself a terminal based perplexity tool called clarity (I wonder do you get the joke here with clarity?)

Challenges we ran into

Honestly, not much, i started this hackathon really late (like 2 days before the end) and the development was a breeze of some sorts, if there were a challenge i would say integrating the responses well into the terminal. But yeah, so far none that are major, oh yeah, selecting a name for the tool was also important too.

Accomplishments that we're proud of

I am simply proud of the fact that developers get to stay in their editors for longer while bringing the outside world (aka the internet) to them

What we learned

This is my first official command line project written in python, a bit odd, but a learning process i could get used to

What's next for Clarity

Anything, you get to decide, open an issue in the Github link and I'll add or fix whatever needs to be

Built With

Share this project:

Updates