behumble-x0
v0.0.3
Published
X.com automation using Puppeteer
Downloads
5
Maintainers
Readme
PuppetX
as a CLI
login
pnpm run cli login -u cutepuppetx
replace cutepuppetx
with your X handle.
it enforces headful mode. --headless
value will be ignored.
post
pnpm run cli post -u cutepuppetx -m 'automate X with PuppetX'
as a library
Install
pnpm add puppetx
class PuppetX
const bot = new PuppetX('cutepuppetx', headless);
await bot.postTweet('automate X with PuppetX');
await bot.close();