Show HN: X Writer – VS Code extension to post tweets from your editor (github.com)

11 points by jawuilp ↗ HN
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

8 comments

[ 7.1 ms ] story [ 377 ms ] thread
(comment deleted)
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.
Whatever happeneed to, don't xeet where you eat.
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.
(comment deleted)
"without context switching"???

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