from Hacker News

Show HN: Create books on any topic with ChatGPT

by timz on 8/6/23, 3:07 PM with 16 comments

This weekend wanted to try out the streaming ChatGPT API.

As test project, created a simple website, which allows you to create whole books by providing just the title (with optional extra instructions).

Given the title of the book, table of contents, chapters and sections with text content are generated.

All books are listed on the home page, sorted into topic categories.

As a bonus, when reading a specific section of a chapter, you can use the chat interface to ask for clarifications, request more content, list relevant topics, etc.

The system does quite well with knowledge based books (history for example) and not so good with literature, where more prompt tweaking is needed.

What books would you create?

# Examples:

The Bible https://the-bible.yo.link

Child Psychology for Parents https://child-psychology-for-parents.yo.link

ChatGPT: A step towards Artificial General Intelligence https://chatgpt-a-step-towards-agi.yo.link

The World History from a global point of view https://the-world-history.yo.link

The History of Ukraine https://the-history-of-ukraine.yo.link

Art of War: A modern perspective https://art-of-war-a-modern-perspective.yo.link

Kamasutra: A modern perspective https://kamasutra-a-modern-perspective.yo.link

  • by WebLiveit on 8/12/23, 7:18 AM

    Good day I have created a book link below https://books-by-ai.vercel.app/book/mastering-cruise-tourism...

    but the I cannot access the scripts, please help Thanks

  • by Hexeeb_ on 8/7/23, 6:13 PM

    https://books-by-ai.vercel.app/book/dating-mastery/cll16vj8y...

    I’m able to bypass restrictions and add links within the contents. This could be potentially dangerous. Creator of this AI should check this out.

  • by author1 on 8/15/23, 6:41 AM

    I'm having trouble getting the website to generate the book contents, what could I be doing wrong?
  • by 7_hours_ago on 8/7/23, 5:22 AM

    Is it possible to provide an option to enable ChatGPT to search the Internet for recent topics like LK-99 for example.
  • by gorenb on 8/7/23, 7:48 AM

    This is genuinely great. Wow. 7_hours_ago's suggestion:

    > Is it possible to provide an option to enable ChatGPT to search the Internet for recent topics like LK-99 for example.

    would make enough of a difference for me to say that this is the greatest project with the OpenAI API that I have ever used.

  • by neontomo on 8/7/23, 7:29 PM

    Had some fun with this ;)

    TITLE: Why You Should Eat More Sand

    1.1 The Nutritional Value of Sand

    1.2 Sand as a Source of Minerals

    1.3 Sand as a Source of Fiber

    1.4 Sand as a Source of Protein

    1.5 Sand as a Source of Carbohydrates

    1.6 Sand as a Source of Essential Fatty Acids

  • by mpolanco on 8/7/23, 8:41 PM

    Amazing, wonderful, fantastic... I am trying to deploy it in Vercel, but I got error 500 (internal Error). Any suggestion?
  • by meetpateltech on 8/6/23, 6:06 PM

    Amazing Project
  • by gorenb on 8/8/23, 1:43 AM

    How do you set up the environment?