Show HN: X Writer – VS Code extension to post tweets from your editor
github.comHi 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 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. Twitter is the best source of information for AI. Much to bsky's dismay. That sounds like a pro not a con for bsky :) 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. Whatever happeneed to, don't xeet where you eat. 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. 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. 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. "without context switching"??? By definition going from work to writing some drivel on twitter is context switching lol. 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.