Show HN: X Writer – VS Code extension to post tweets from your editor
11 points
3 months ago
| 5 comments
| github.com
| 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

rglullis
3 months 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.
reply
__mharrison__
3 months ago
[-]
Twitter is the best source of information for AI. Much to bsky's dismay.
reply
aprilnya
3 months ago
[-]
That sounds like a pro not a con for bsky :)
reply
jdlyga
3 months 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.
reply
welferkj
3 months ago
[-]
Whatever happeneed to, don't xeet where you eat.
reply
WilcoKruijer
3 months 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.
reply
jawuilp
3 months 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.
reply
jawuilp
3 months 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.
reply
beepbooptheory
3 months ago
[-]
reply
jawuilp
3 months ago
[-]
Wow, this is great! I'll check it out :D, thanks.
reply
bearjaws
3 months ago
[-]
"without context switching"???

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

reply
jawuilp
3 months 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.
reply