The Thanksgiving holiday was only a minor obstacle in my use of AI over the past week. Here's a quick recap.
Shrinking the file sizes of the books
I was working on various updates to the Eternal Spring book and noticed that the PDF of the full book was about 67 MB, which is bigger than I'd like. This is an ongoing issue with all my books because it makes sending them to a Kindle more difficult. (The ePUB version was a similar size.) I initially asked Gemini about ways to shrink the file(s), but then it occurred to me that I already had a tool that could handle at least the PDF version: The free and open source PdfCraft app that's functionally identical to Adobe Acrobat.
Curious to see if it could make much of a difference, I opened the latest version of the Eternal Spring PDF in PdfCraft and used its "Compress a PDF" feature to reduce its file size. The result was impressive: It went from 67 MB down to 12.9 MB, an 80 percent (!) reduction. And scanning through the file side-by-side with the original, I couldn't see any differences at all. It's just significantly smaller.
Then I had two questions. Does Leanpub support replacing the PDF file it outputs when I preview/publish a new version of this and other books? And is there a similar way to reduce the size of a ePUB file, which is perhaps even more important because that's the version most Kindle users would get?
The answer to the first question is yes: Without getting into the details, I just have to create a folder in the root of the GitHub repository for the book and copy any replacement PDF (and ePUB) files there. And when a user downloads the book, they will get that version, not the one that Leanpub created. I tested this and it works fine.
The answer to the second question is likewise yes, though I may experiment with different options going forward. In short, I found a free online tool for shrinking ePUB files and used that to 28.8 MB. So it's not as small as the PDF, but it's still about half its original size and is now under the 50 MB "Send to Kindle" limit in the Kindle app and via email. (You can use the Send to Kindle website to send files up to 200 MB.)
This week, I will perform similar reductions for the other books.
Typecraft, a vibe-coded Markdown editor
I spent a good chunk of the past week working on my vibe-coded Markdown editor, now called Typecraft. This was important enough that it resulted in two separate articles so far:
The Markdown Book: Welcome to Typecraft ⭐
The Markdown Book: Typecraft for Windows and Mac is Now Available
But there's a lot more to do. Plus, this project, which is really a set of projects, is spread out across several different computers, and I'd like to clean that up. There's the original Android version, which is on a Googlebook, the Windows version that's on an RTX Spark laptop, and then the Mac and iPad version(s), which are on my MacBook Air.
Among the work that needs to happen here, hopefully...
With technology shaping our everyday lives, how could we not dig deeper?
Thurrott Premium delivers an honest and thorough perspective about the technologies we use and rely on everyday. Discover deeper content as a Premium member.