Show HN: X Writer – Tweet from VS Code Without Distractions (BYOK, Open Source)

1 pointsposted 15 hours ago
by jawuilp

1 Comments

jawuilp

11 hours ago

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