yeetpost
X (Twitter)API

Post to X programmatically

Integrate X posting into your application. Automate announcements, share updates, and engage your audience from your code.

What you can build

Tweet new releases

Automatically announce when you ship new versions.

import { yeetpost } from "yeetpost"; await yeetpost({ connection: "x", text: `v${version} is live!\n\n${changelog}\n\nUpgrade now: ${url}`, });

Share content updates

Cross-post your blog content to X automatically.

import { yeetpost } from "yeetpost"; await yeetpost({ connection: "x", text: `${post.title}\n\n${post.url}`, });

Celebrate milestones

Automatically tweet when you hit important numbers.

import { yeetpost } from "yeetpost"; if (users >= 1000) { await yeetpost({ connection: "x", text: "We just hit 1,000 users! Thank you all for the support.", }); }

Ready to get started?

Start posting to X (Twitter) in minutes.