Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mrnugget/moby-dick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Moby-Dick with AI Illustrations

An interactive reading experience of Herman Melville's Moby-Dick that generates Renaissance-style illustrations as you read.

How it works

  • Open moby-dick.html in your browser
  • Enter your Gemini API key when prompted
  • Read the book — after you stop scrolling for ~1 second, an illustration matching the visible text fades in on the right
  • Select specific text to generate an illustration for that passage
  • Scroll again and the image fades out

The illustrations are generated using Google's Gemini 2.5 Flash Image model in a da Vinci sketchbook style — black ink engravings that blend with the page.

Attribution

The text of Moby-Dick; or, The Whale by Herman Melville is in the public domain and was sourced from Project Gutenberg.

This eBook is for the use of anyone anywhere in the United States and most other parts of the world at no cost and with almost no restrictions whatsoever.

License

The code in this repository is released under the MIT License. The text of Moby-Dick is in the public domain.

About

Moby-Dick from Project Gutenberg, with on-demand illustrations from Nano Banana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages