Skip to content

Script to build EPUB/MOBI/PDF versions of various books by Brandon Sanderson

License

Notifications You must be signed in to change notification settings

captn3m0/cosmere-books

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cosmere-books Docker Cloud Build Status Docker Pulls Docker Image Size (tag) GitHub GitHub last commit

Books in the Cosmere

Scripts to generate books from the Cosmere using various public sources. Currently supports the following books:

Books

  1. Wind and Truth (being serialized till Chapter 30, In Progress)
  2. Rhythm of War (Serialized till Chapter 18) (with Annotations and Illustrations)
  3. Oathbringer (Serialized till Chapter 32)
  4. Warbreaker Prime: Mythwalker
  5. Skyward (Serialized till Chapter 15)
  6. The Lost Metal (To be serialized till Chapter 9, In Progress)

Short Stories

  1. Defending Elysium

Graphic Novels

  1. Dark One (Preview Chapter)

Tor.com Rereads

  1. Way of Kings Reread
  2. Words of Radiance Reread
  3. Edgedancer Reread
  4. Oathbringer Reread

For obvious reasons, the converted ebooks are not part of this repo. You must download and run the script on your own machine to generate the ebook files.

Requirements

Docker installed.

Generation

Instructions are available for Windows, Mac, and Linux.

Book Codes

dark-one
edgedancer-reread
mythwalker
oathbringer
oathbringer-reread
row
skyward
wok-reread
wor-reread
lost-metal

If none is passed, all books will be generated. The entire build (for all books combined) roughly takes 15 minutes on a single core system (excluding the Docker pull). Generating the defending-elysium ebook requires generating all ebooks currently.

As an example, you'd like to get a ebook for Rhythm of War, run the following command:

docker run --rm --volume "$(pwd):/output" captn3m0/cosmere-books:latest row

For directions specific to your OS, see above.

Wind and Truth

Reactor is serializing the new book from now until its release date on December 6, 2024. A new installment will go live every Monday at 11 AM ET, along with read-along commentary from Stormlight beta readers and Cosmere experts Lyndsey Luther, Drew McCaffrey, and Paige Vest.

Rhythm of War

The chapter-by-chapter serialization of Rhythm of War, Brandon Sanderson’s fourth volume in The Stormlight Archive series. New chapters go live every Tuesday up to the November 17, 2020 release date.

This supports the annotations that Brandon is publishing on Reddit along with 3 illustrations from Part 1. This covers the entire Part 1 of the book.

Oathbringer

Tor.com is published Oathbringer in serialized form till Chapter 32. This script downloads all of these posts and converts them into a publishable format, including epub, mobi, pdf and html. You can find the tor.com announcement at https://www.tor.com/2017/08/15/brandon-sanderson-oathbringer-serialization-announcement/. This covers the entire Part 1 of the book.

Way of Kings Reread

Join Michael Pye (aka The Mad Hatter) and Carl Engle-Laird as they dive into the details of Sanderson’s complex new world of Roshar.

Find out more at https://www.tor.com/features/series/the-way-of-kings-reread-on-torcom/.

Words of Radiance Reread

Welcome to the reread of Brandon Sanderson’s second Stormlight Archive series book Words of Radiance! This reread will be a collaborative effort between Tor.com’s own editorial assistant Carl Engle-Laird and long-time Tor.com commenter and Sanderson beta-reader Alice Arneson. This new partnership promises to be as potent as that between spren and Radiant. Join them in the Storm Cellar as they evaluate, discuss, question, and generally kibitz their way through the Words of Radiance.

More details at https://www.tor.com/series/words-of-radiance-reread-on-torcom/

Edgedancer Reread

Join Alice Arneson and Lyndsey Luther for a reread of Brandon Sanderson’s Cosmere novella, Edgedancer, which fills in some of the details for Lift and Nalan between their appearances in Words of Radiance and the next time we see them in Oathbringer.

More details at https://www.tor.com/series/edgedancer-reread-brandon-sanderson/

Way of Kings: Prime

Brandon published Way of Kings Prime as a free ebook, which you can download from here: https://www.brandonsanderson.com/the-way-of-kings-prime/. It is now available for free in EPUB/MOBI/PDF formats from the link.

Oathbringer Reread

Join Alice Arneson and Lyndsey Luther for a reread of Brandon Sanderson’s Oathbringer, the third novel in the Stormlight Archive epic fantasy series.

More details at https://www.tor.com/series/oathbringer-reread-brandon-sanderson/

Skyward

Skyward by #1 New York Times bestselling author Brandon Sanderson is the first book in an epic new series about a girl who dreams of becoming a pilot in a dangerous world at war for humanity’s future. We know you can't wait for the book to finally hit shelves on 11/6/18, so we're releasing new chapters here every week!

See more details at underlined or brandonsanderson.com. This covers Chapters 1-15 of the book.

Defending Elysium

This story originally appeared in the October/November 2008 Asimov’s Science Fiction (in the US) and the UPC Science Fiction collection (in Europe). It was winner of the UPC science fiction award, and was the last short story Brandon wrote before he sold Elantris to Tor.

The story was first named honorable mention in a Writers of the Future contest in early 2003. (Brandon got the phone call from an editor buying Elantris in April 2003.) A few years later, he did a couple of serious revisions of the story and then submitted it to the UPC award in Spain. It won first place, and subsequently sold in the US to Asimov’s Science Fiction—which was Brandon’s first (and so far only) fiction appearance in a major print magazine. It was given an honorable mention in Gardner Dozois’s The Year’s Best Science Fiction anthology for 2008.

More details at https://brandonsanderson.com/defending-elysium/. Annotations at https://brandonsanderson.com/annotation-Recent-Short-Stories-Defending-Elysium/

Dark One

Brandon Sanderson’s Dark One is a break from the norm; it’s a graphic novel from Vault Comics, originally announced as being in the works two years ago, based on an original idea from Sanderson. The book will be written by Collin Kelly and Jackson Lanzing from a story by Sanderson, with art by Nathan Gooden and colors from Kurt Michael Russell. Lettering on the project comes from Deron Bennett.

The chapter below was originally intended to be Vault Comics’ Free Comic Book Day release this year.

More details at https://www.hollywoodreporter.com/heat-vision/dark-one-excerpt-brandon-sanderson-unveils-fantasy-graphic-novel-1297122.

The script generates a CBZ file.

Warbreaker Prime: Mythwalker

Below description from Sanderson's website, written by Peter:

When Brandon shelved Mythwalker in August 2001 because he felt it wasn’t working (one of its issues was that it felt clichéd, but there are other issues that I’ll discuss following later chapters), he planned to get back to it eventually. But there were still elements and characters left over in those books that could be used to tell other stories. Warbreaker follows one of the storylines from Mythwalker that was left when the elements used in the Mistborn trilogy were taken out. But that is not all that Mythwalker is. Its main character and its magic system have not been cannibalized. What you will read here [...] is an interesting story in its own right, even though it has problems. And some of you will be frustrated that the story remains unfinished.

So it is probably best to view these chapters just as a window on early Brandon Sanderson, when he tried something and failed. This was the first novel in Brandon’s adult writing career that he started writing but never finished. If you want insight into his creative process, I think this is a great place to look.

The Lost Metal

Tor.com is serializing The Lost Metal from now until its release on November 15. New chapters will go live every Monday at 12pm ET.

In progress, only Chapter 1 so far.

Extra

If you'd like to see any other books covered here, please create an issue, or reach out to me: https://captnemo.in/contact/

Development

If you'd like to hack on the project locally, see HACKING.md.

LICENSE

This is licensed under WTFPL. See COPYING file for the full text.

Other Projects