Hi MobileRead Forum members,
I'm joining the forum because I'll be using
Calibre to read digital books for a year-long Dharma Teacher Training program. My main goal is to make extensive highlights and notes and then export these annotations to facilitate group discussions.
My professional background is in
R Programming, and I've done significant front-end development using
JavaScript, so I'm proficient in JS. I'm also comfortable with Python, though I'm still learning about its best practices and common pitfalls.
To create nicely formatted highlights and notes, I found that both the Markdown and Calibre Annotations formats had limitations. So, with the help of Google Gemini, I developed a
JavaScript function that runs on Node.js. This function combines the two formats to
produce an HTML output that preserves highlight colors and clearly distinguishes between notes and highlights. You can view the code on my new repository
here.
I thought this might be useful to others, or perhaps even become a plugin, which led me to join this forum. I'm partway through developing it into a plugin but likely need to learn more about Calibre's annotation export engine and APIs to do so effectively.
I've also encountered a question regarding
how to specify which eBook format to view or export annotations from. Currently, the GUI doesn't seem to offer an option to differentiate between formats, making it unclear which highlights are being exported when an eBook has multiple associated file formats.
I plan to raise these questions in the appropriate forum sections, following the forum guidelines.
This is my introduction, and
I hope to connect with others here who:
a. Have the
technical knowledge of Python and the Calibre codebase that could help me develop this into a plugin or integrate my work-in-progress HTML annotation output directly into Calibre.
b.
See potential value in a plugin/feature of this nature and would like to encourage me to pursue its full integration into Calibre.