Settings

Theme

Show HN: X Writer – VS Code extension to post tweets from your editor

github.com

11 points by jawuilp 3 days ago · 15 comments · 1 min read

Reader

Hi HN,

I built this extension because the context switching was killing my productivity. Every time I switched to the browser to share a coding update (#BuildInPublic), I ended up doomscrolling for 20 minutes and losing my flow.

Since existing extensions broke with the X API v2 changes, I decided to build my own solution focusing on privacy and the Free Tier limits.

How it works:

BYOK (Bring Your Own Keys): It uses your own API credentials.

Security: Keys are stored locally using vscode.SecretStorage (never in settings.json).

Limits: It implements a local counter to respect the strict 17 tweets/24h limit of the Free API tier.

Write-only: It intentionally doesn't read your timeline to keep you focused.

It's open source and my first extension. Feedback on the code structure is welcome!

Marketplace: https://marketplace.visualstudio.com/items?itemName=Jawuilp.... Repo: https://github.com/Jawuilp/X-writer

rglullis 3 days ago

Is Twitter still in any way relevant? I understand that those people who already have a following would be less inclined to give it up, but whenever I go back is to delete the half a dozen of bot comments on old posts of mine.

  • __mharrison__ 3 days ago

    Twitter is the best source of information for AI. Much to bsky's dismay.

  • jdlyga 3 days ago

    Not really. You still see celebrities and influencers use it occasionally. But it's fallen off dramatically compared to where it was just a few years ago. TikTok has largely replaced it.

welferkj 3 days ago

Whatever happeneed to, don't xeet where you eat.

WilcoKruijer 3 days ago

Fun idea, I want to be posting more so this seems helpful! Might be nice to have a screenshot in the GitHub repo / Marketplace page. Is it available in Cursor? I can't seem to find it. Could be useful as a CLI utility as well.

  • jawuilpOP 2 days ago

    Hey friend, thanks, I'm glad you found it useful :D. I'll post it on Cursor soon. I still need to research which extension store that editor and the others use, but I'll do it and post it when I have it there :D.

  • jawuilpOP 2 days ago

    I'll keep your suggestions in mind,my friend,they sound great. For now, it's just version 1 I'll be adding things little by little.

beepbooptheory 3 days ago

I miss this: https://github.com/dickmao/nntwitter

bearjaws 2 days ago

"without context switching"???

By definition going from work to writing some drivel on twitter is context switching lol.

  • jawuilpOP 2 days ago

    Haha XD Well, that's true, but I did it because sometimes I feel like making a quick and short post and I didn't want to go to the app, so that's why I did it XD, but what you say makes sense.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection