# 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 t…

- **Page:** https://magpie.gallery/i/x-writer-vs-code-extension-to-post-tweets-from-you-0aky
- **Type:** Link to an idea elsewhere
- **Category:** Productivity
- **Runs on:** extension
- **Tags:** vscode, twitter, posting, privacy, editor

## Source

Web · jawuilp: X Writer – VS Code extension to post tweets from your editor

- **Original:** https://news.ycombinator.com/item?id=46305008

> 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 https://github.com/Jawuilp/X-writer

## GitHub projects

- https://github.com/Jawuilp/X-writer

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
