Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An AI powered command-line tool for generating any books from scratch

License

NotificationsYou must be signed in to change notification settings

luckrnx09/abook

Repository files navigation

An AI powered command-line tool for generating any books from scratch

Here is a book written based on abook:

📚Python Guide for JavaScript Engineers |Read it online

Getting started

Prepare

Runcp .env.example .env then fill the.env file:

  • OPENAI_API_KEY: Required, string, type your open api key
  • OPENAI_MODEL: Required, string, type your open ai model name
  • OPENAI_BASE_URL: Optional, string, type your custom openai api url
  • VERBOSE: Optional,true orfalse, determine whether or not to print conversation details when interacting with openai

Install

You can installabook as a global command as following:

yarn global add @luckrnx09/abook

or

npm install -g @luckrnx09/abook

or

pnpm install -g @luckrnx09/abook

Then you can useabook -V to print the abook version installed.

If you don't want to install it globally, you can usenpx to run abook directly:

npx @luckrnx09/abook

Usage

commanddescription
lslist all the ideas
newcreate an idea
outline <idea>generate outline from an idea
publish <idea>convert book content to markdown
rm <idea>remove an idea
run <idea>generate book content from an idea with outline
help [command]display help for command

Develop

TODO

Contribute

Any code enhancements, documentation updates, unit tests are welcome.

Any changes that alter functionality, please submit an issue first.

License

This project is underMIT license

About

An AI powered command-line tool for generating any books from scratch

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp