I’ve created an automated anthology builder as a companion to the Book Builder:
You can give it a set of instructions like this:
h1 My great Anthology
h2 Section One
p These are my favorites
kp9
dhp1-20
And it will fetch the most recent translations by Bhante Sujato from SuttaCentral. You can either copy the rendered text (manually, unfortunately) and paste into a word processor, or automatically copy the html to the clipboard or a file. This html would be perfect to import into something like Calibre to create your own ebook.
You need to use exact sutta IDs as found in the url for a sutta.
I’d love to get any feedback and/or feature requests.
Current limitations:
- The ID must be for the complete sutta as it appears on SuttaCentral. Fore example, you can’t use
an1.1
. You have to usean1.1-10
- Sutta titles are always in the format of
<citation> <Pali name>: <English name>
and they always appear at the start of the sutta. - Since Bhante Sujato’s translations are the only complete ones, that’s all that is offered at this time.
Special thanks to @Khemarato.bhikkhu for his coding help and encouragement.
If anyone is curious, I used ChatGPT to come up with most of the code that fetches the suttas. This code is actually better than what is used in the Book Builder app, so I might update it someday.
This is the GitHub repository for the app.