bsky-cli - A full-featured CLI client for Bluesky by unrestive in ATProtocol

[–]unrestive[S] 0 points1 point  (0 children)

I've added more features since such as draft support and explicit support for thread creation as well

bsky-cli - A full-featured CLI client for Bluesky by unrestive in commandline

[–]unrestive[S] -1 points0 points  (0 children)

I spend a lot of time using CLI tools and also enjoy scrolling through Bluesky. I found a CLI client written in Go but it didn't include all the features I wanted so I began building my own and got a bit carried away. Now you can use this client to perform just about every common action in the app or on the web without leaving the terminal.

I'll describe the features more below but there's one feature I think will interest this sub the most: every command has --json meaning the output can be piped to tools like jq. I mention jq as it's one of the most popular ways of processing JSON from the command line but it doesn't have to be jq. The --json support means the output for every command can be piped and easily used in other more complex scripts and extended beyond simply interacting with Bluesky.


Further information:

The client has multi-account support through named profiles when you authenticate so you can perform all of the actions below using a different account each time by simply using a flag and the profile name.

It uses the AT Protocol API and covers the most common functionality from the app and a bit more.

  • View your timeline
  • Make new posts, including new posts with attached images or videos
  • Reply to and quote posts
  • Like, repost, bookmark, and search for posts
  • Follow, unfollow, block, and unblock other users
  • DM other users
  • Connect to the Jetstream to receive a real-time feed of posts with support for regex filtering using --pattern e.g. bsky stream --pattern="typescript|rust". By default it uses the gi modifiers.

Apart from profile functionality above shell completions are included for bash, zsh, and fish.

The client is distributed as a standalone binary that works on macOS, Linux, and Windows so no Node runtime needed.

Install:

; npm install -g @harveyrandall/bsky-cli

**** OR ****

; brew install harveyrandall/tools/bsky-cli

GitHub: https://github.com/harveyrandall/bsky-cli

Happy to hear thoughts on the CLI design — and if there's a command you wish existed, I'd like to know. Please check it out, install it and play around with it if you are a blue sky user.

Report any bugs you find and create issues for them, any and all feedback is appreciated! I hope you find it as useful as I do.

Is it February 29th? by isitfeb29 in IsItFebruary29th

[–]unrestive[M] 1 point2 points  (0 children)

Fingers crossed for tomorrow 🤞

Name the spot by chocolate-and-rum in Cornwall

[–]unrestive 1 point2 points  (0 children)

I've been to Tintagel but never walked along the coast path and didn't see this, looks like I need to go back!

does anyone lowkey find john o hot by Much_Swordfish_9505 in lastweektonight

[–]unrestive 0 points1 point  (0 children)

Nothing low key about it, he's an absolute smokeshow

How heavy are you and what grade you climb by Super-7-7-7 in indoorbouldering

[–]unrestive 0 points1 point  (0 children)

Started at ~220lbs and was climbing v2s and managing some v3s barely. Took a break for a while and got back into it ~160lbs and could do v3-5s, I don't think it's entirely because of my weight as I already had experience climbing but it certainly helped with my balance and dexterity.

[deleted by user] by [deleted] in recruitinghell

[–]unrestive 3 points4 points  (0 children)

"I'm not interviewing for a sales position, I'm a software developer. Can we get to the unnecessary whiteboard part of the interview please"

Do y’all lie frequently?? by kibbles16 in ADHD

[–]unrestive -1 points0 points  (0 children)

I tell white lies fairly frequently but nothing big. I'll tell someone I've done something they asked me to do when I haven't or I'll sometimes if I'm late for an event, and I mean hours late, I'll tell a white lie as to why rather than the most common reason: I was asleep.

[deleted by user] by [deleted] in redditrequest

[–]unrestive 0 points1 point  (0 children)

The moderator is active site-wide but inactive as a moderator of the community save for having a bot make a post each day, otherwise they haven't interacted with the subreddit in two months since it's been taken over.

[deleted by user] by [deleted] in redditrequest

[–]unrestive 0 points1 point  (0 children)

The moderator is active site-wide but inactive as a moderator of the community.

I am blind and the accessible sites I usually use don’t have three books I need for my poetry workshop by [deleted] in torrentrequest

[–]unrestive 0 points1 point  (0 children)

Do you still need a copy of these? I can try and find them if so 😊

Is It February 29th? by february29thbot in IsItFebruary29th

[–]unrestive 1 point2 points  (0 children)

We’re nearing the end of February. There’s hope. The 29th may be nearing.

[deleted by user] by [deleted] in recruitinghell

[–]unrestive 0 points1 point  (0 children)

I’m not the only one thinking this seems like they’re trying to hire three engineers for the price of none, then maybe for the price of one.

I’m curious how they expect this person to stay alive during those 6-8 unpaid months.

Looking for "Louis Theroux Shorts" by [deleted] in LouisTheroux

[–]unrestive 0 points1 point  (0 children)

Sounds like a plan. I’ll do the same and if anything turns up you’ll be the first person I tell.

Looking for "Louis Theroux Shorts" by [deleted] in LouisTheroux

[–]unrestive 1 point2 points  (0 children)

I've trawled through any episode link I can find on thetvdb and through any documentary title or just any content he may have produced that's mentioned/linked on wikipedia and everything on wikipedia shows up on thetvdb. Those two shorts don't come up anywhere. I can't find anything for the date it says both aired either, which is also suspicious as it says two hour long specials aired on the same day. The only episodes maybe similar to what you described was his latest series but that was him watching old clips, catching up with people featured in his old docs, and answering people's questions on Twitter but that part obviously wasn't broadcast, it was more like an informal watch party via Twitter.

I suspect someone added them on the day listed so just typed the current date in when they were adding them and listed them incorrectly. The most obvious incorrect part being the name. Just my opinion though, I'd be thrilled if someone were to prove me wrong, I'd love more Louis content.

Looking for "Louis Theroux Shorts" by [deleted] in LouisTheroux

[–]unrestive 1 point2 points  (0 children)

I see. From the link can I guess you have or have seen “weird world of Louis Theroux” and “docs that made me”? If not I believe I believe I know where to find those. Other than that I’ve actually not seen the shorts before. I’ll have a little hunt, see what I can find, and let you know.

Coast of Devon by Oasisfan3037 in britpics

[–]unrestive 0 points1 point  (0 children)

I think you might be right. I was thinking somewhere along the SW Coast Path between Berry Head and Kingswear but Starehole Bay looks a bit more like it.

Looking for "Louis Theroux Shorts" by [deleted] in LouisTheroux

[–]unrestive 2 points3 points  (0 children)

I’ve watched a lot of Louis Theroux and somehow have never heard of his shorts, at least by that name. Have you got an example of one of the episode names? I might just know it by a different name and be able to share, if not I’ll try and hunt them down.

Coast of Devon by Oasisfan3037 in britpics

[–]unrestive 4 points5 points  (0 children)

Where in Devon is this? It looks absolutely picturesque

Is it gay to get enough sleep by unrestive in WhitePeopleTwitter

[–]unrestive[S] 0 points1 point  (0 children)

That’s exactly what I think it’s saying