ebookstudio-cli
v1.5.0
Published
EbookStudio CLI — control ebookstudio.vercel.app from your terminal
Readme
elabs-cli
Control EbookStudio from your terminal.
Same account. Same data. Every feature — without opening a browser.
Install
npm install -g elabs-cliCommands
elabs login # Sign in (same account as browser)
elabs logout # Sign out
elabs whoami # Show current user
elabs chat # Interactive AI Co-Author REPL
elabs chat --prompt "write chapter 1 on X" # Single prompt
elabs generate # Plan a full ebook (interactive)
elabs generate --topic "Quantum Computing" # With topic
elabs generate --topic "..." --output out.json # Save structure to file
elabs library # View drafts + published ebooks
elabs publish # Publish a draft (prompts for price)
elabs publish --id <bookId> --price 299 # Direct publish
elabs publish --free # Publish for free
elabs sales # View earnings & sales history
elabs payout --upi name@upi --amount 500 # Withdraw earnings via Razorpay X
elabs studio # Open the browser studioArchitecture
Browser (ebookstudio.vercel.app)
│
▼
/api/agent/chat ← AI streaming
/api/publish-book ← Marketplace
/api/create-payout ← Razorpay X
/api/get-sales ← Analytics
▲
elabs-cli (this package)
→ Same Firebase auth token
→ Same Neon/Postgres data
→ Same account — upgrade CLI = upgrade browserDevelopment
git clone https://github.com/ebookstudio/ebookstudio.git
cd ebookstudio/elabs-cli
npm install
npm run build
npm link # test locally as `elabs`Publish to npm
npm login
npm publishBuilt with ❤️ by EbookStudio
