Proyek
Lihat di GitHub
easychen/book-by-ai
Tentang
Generate high-quality books with AI
AI dan pembelajaran mesinPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliBook By AI
Use AI to generate high-quality ebooks
AUTOMATIC BOOK GENERATION DEMO
- Manually input text: numbers within ten
- Total generation time: about 2 hours
- Cost: Around $0.6 (cost for generating 30 images)
- Online reading: English Book | 中文样书
Video Tutorial
in Chinese
Prerequisites
- git
- nodejs
- terminal
- mdbook installed
How to Use
- Get OpenAI API key or deploy your own AiAPI
- git clone https://github.com/easychen/book-by-ai.git BBA
- cd BBA
- npm install
- cp .env.example .env
- Configure .env according to comments
- node bba.js book // Run full process from scratch
- Follow prompts to input content
- cd output// && mdbook serve // Preview locally
- cd output// && mdbook build // Generate html
Command Description
- node bba.js book@help // Show help
- node bba.js book@title // Generate title
- node bba.js book@index // Generate table of contents (chapters)
- node bba.js book@sections // Generate table of contents (sections)
- node bba.js book@write // Write section content
- node bba.js book@make // Generate mdbook project
- node bba.js book@addImage // Generate cover and section images
- node bba.js book@update // Rewrite a section
- node bba.js book@translate // Translate sections
Jelajahi proyek terkait
Memuat…
