DEV Community

Cover image for ๐ŸŽ๐Ÿ’DevTo CLI๐Ÿ’๐ŸŽ: A Valentine's Day Gift To My Favorite People

๐ŸŽ๐Ÿ’DevTo CLI๐Ÿ’๐ŸŽ: A Valentine's Day Gift To My Favorite People

Sarthak Sharma on February 14, 2019

Hey Dev Community! Will you be my Valentine? Don't say no. Look, I even brought you a gift and everything! ๐Ÿ˜˜๐Ÿ˜‡ Haha! Okay, enough theatrics. I wan...
Collapse
 
rhymes profile image
rhymes •

This is neat!! Well done, I'll definitely try it :D

Though I think the enthusiasm made you forget to link the project :D

I have a question: how do you fetch the data since the API is not public yet? RSS? Scraping?

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Damn! Just added it.

Scraping.

Collapse
 
utkarsh profile image
Utkarsh Talwar XenoX •

YEAH BOIIIII!!!

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

I can imagine you all doing it. ๐Ÿ˜‚

Collapse
 
utkarsh profile image
Utkarsh Talwar XenoX •

Oh we totally did! ๐Ÿ˜‚

Collapse
 
joecannatti profile image
Joe Cannatti •

Great side benefit to this -- you can look like you're to non-programmers working when you're really just reading dev.to :)

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Exactly !!

Collapse
 
biros profile image
Boris Jamot โœŠ / •

But why Node.js ?? ๐Ÿ˜‰

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

That's the fastest way I could build it and I love node. ๐Ÿ˜ƒ

Collapse
 
biros profile image
Boris Jamot โœŠ / •

I would have done it in PHP. ๐Ÿ˜

Thread Thread
 
sarthology profile image
Sarthak Sharma XenoX •

See, preferences brother ๐Ÿ˜ƒ

Thread Thread
 
biros profile image
Boris Jamot โœŠ / •

No, in fact I would have done it in Go.
PHP for a CLI, it's not serious (except for learning purpose)!

Thread Thread
 
sarthology profile image
Sarthak Sharma XenoX •

Yeah, go is good for cli.

Collapse
 
tuandm profile image
Tuan Duong •

Great work! I will add PR to dev.to to change HTML structure ๐Ÿ˜ˆ

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Hahaha ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚

Collapse
 
glennmen profile image
Glenn Carremans •

This is awesome โค๏ธ

Maybe add the repo url and/or installation instructions ๐Ÿ˜‰
Does it work on all platforms? macOS, Linux, Windows

Not sure if it already does this, but maybe add a login option (API key) so it can get your personalised feed (tags/people you follow, + tag weight is different for everyone).

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

API for devto is not yet available. So for that we may have to wait.

Collapse
 
jess profile image
Jess Lee •

๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

๐Ÿ˜Š

Collapse
 
alin_air profile image
Alin Andrei • • Edited

Wot! this is too awesome. Like not just awesome. Hardcore awesome.

Ok hardcore sounds too much since it's also Valentine's.. u should get the idea tho :D

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Hahaha, yeah totally getting you bro.

Collapse
 
jsm91 profile image
Jesse •

This is great :D, awesome job man!

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Thanks Steven ๐Ÿ˜Š

Collapse
 
quantumsheep profile image
Nathanael Demacon • • Edited

All for our nerd cravings ๐Ÿค“

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Oh yeah !! ๐Ÿ˜€

Collapse
 
eekayonline profile image
Edwin Klesman •

Siiiiiiiick.. ๐Ÿ‘Œ๐Ÿป๐Ÿ”ฅโค๏ธ

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Thanks Edwin.

Collapse
 
andy profile image
Andy Zhao (he/him) •

This is awesome! More incentive for us to get that API out. :)

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Then I'm ready with devtocli 2.0

Collapse
 
chrisvasqm profile image
Christian Vasquez •

hahaha, awesome stuff Sarthak! I'm loving it.

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

๐Ÿ˜€ thanks

Collapse
 
jsheridanwells profile image
Jeremy Wells •

My favorite new distraction. Well done!

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Thanks man !! ๐Ÿ˜Š

Collapse
 
jacksonelfers profile image
Jackson Elfers •

This is why I love this site. Great work.๐Ÿ˜

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Thanks Jackson

Collapse
 
siatwe profile image
Simon Weis •

Nice!

Collapse
 
treddson profile image
Taylor Short •

absolute glory. Hope to contribute at some point!

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Awesome ๐Ÿ˜ฑ

Collapse
 
biros profile image
Boris Jamot โœŠ / •

Great idea, definitely need to try this!

Collapse
 
nguyenquangtin profile image
Tony Tin Nguyen •

Great, thanks for your work.

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

:)

Collapse
 
sammyisa profile image
Sammy Israwi •

Oooh so cool! Nice work!

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

thanks :)

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Thanks sky ๐Ÿ˜Š

Collapse
 
bogdaaamn profile image
Bogdan Covrig •

Brave work! Maybe it's about time to get that dev.to API, isn't it @ben ?

Also, what plugin are you using for autocomplete in terminal?

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Thanks dude and this is the plugin.

Collapse
 
tterb profile image
Brett Stevenson • • Edited

This is awesome! I โญ๏ธ the repo a while back to see where it would go, so I'm excited to see it come to fruition.

Let me know if you're ever looking for contributors!

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Oh yes, I do need contributors always. ๐Ÿ˜Š

Collapse
 
abhinav profile image
Abhinav Kumar • • Edited

Great stuff! I myself was waiting for the official API to do some similar thing.

Hey @ben !

Collapse
 
thebrown profile image
Saleumsack •

Very great! :D

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Thanks

Collapse
 
mah3uz profile image
Mahfuz Shaikh •

Great work, it's kinda feel loved when come to CLI. I think you forgot the repo link ๐Ÿ™‚

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Reload, now added.

Collapse
 
giuliano1993 profile image
Giuliano1993 •

Wooo! Man this is cool! I've already installed it and i feel I'm gonna use it a lot =)

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Thanks man. ๐Ÿ˜Š

Collapse
 
bananabrann profile image
Lee •

The thing I didn't know I wanted until I had it... How cool! Is there a command to read the article within the CLI?

Collapse
 
sarthology profile image
Sarthak Sharma XenoX •

Not yet but surely can make it. Though you guys won't be able to see images.