3 ms·
Show HN: X Writer – VS Code extension to post tweets from your editor
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.x-writer https://marketplace.visualstudio.com/items?itemName=Jawuilp....
Repo: https://github.com/Jawuilp/X-writer https://github.com/Jawuilp/X-writer
- deleted 10mo ago[deleted]
- WilcoKruijer 10mo agoFun 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.
- jawuilp 10mo agoHey 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.
- jawuilp 10mo agoI'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.
- welferkj 10mo agoWhatever happeneed to, don't xeet where you eat.
- rglullis 10mo agoIs 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__ 10mo agoTwitter is the best source of information for AI. Much to bsky's dismay.
- aprilnya 10mo agoThat sounds like a pro not a con for bsky :)
- jdlyga 10mo agoNot 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.
- deleted 10mo ago[deleted]
- beepbooptheory 10mo agoI miss this: https://github.com/dickmao/nntwitter https://github.com/dickmao/nntwitter
- jawuilp 10mo agoWow, this is great! I'll check it out :D, thanks.
- delf 10mo agoI built GitSocial that allows you to bypass Twitter/Bluesky in favor posting and following straight in your repository: https://github.com/gitsocial-org/gitsocial https://github.com/gitsocial-org/gitsocial. Similarly, VS Code extension is at: https://marketplace.visualstudio.com/items?itemName=gitsocial.gitsocial https://marketplace.visualstudio.com/items?itemName=gitsocia...
- bearjaws 10mo ago"without context switching"??? By definition going from work to writing some drivel on twitter is context switching lol.
- jawuilp 10mo agoHaha 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.