- Notifications
You must be signed in to change notification settings - Fork2
An AI powered command-line tool for generating any books from scratch
License
luckrnx09/abook
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An AI powered command-line tool for generating any books from scratch
📚Python Guide for JavaScript Engineers |Read it online
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
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
command | description |
---|---|
ls | list all the ideas |
new | create 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 |
TODO
Any code enhancements, documentation updates, unit tests are welcome.
Any changes that alter functionality, please submit an issue first.
This project is underMIT license
About
An AI powered command-line tool for generating any books from scratch
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.