![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2025
Location: Mvskoke land, Milledgeville, GA
Device: Calibre Desktop
|
![]()
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. |
![]() |
![]() |
![]() |
#2 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2025
Location: Mvskoke land, Milledgeville, GA
Device: Calibre Desktop
|
Calibre Specific Forum Post Link
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,338
Karma: 238311259
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Welcome to MobileRead!
|
![]() |
![]() |
![]() |
Tags |
annotations, calibre, development, javascript, python |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hi I am new PB 626 user (and developer?) | chashitsu | Introduce Yourself | 1 | 03-01-2018 11:55 AM |
Create eBook from MDN & FB Developer sites via Calibre | playfetch | Recipes | 3 | 07-15-2015 12:58 PM |
The Green Reader and Linux User&Developer | jules_july | PocketBook | 1 | 07-14-2010 06:10 AM |
The Green Reader and Linux User&Developer | jules_july | News | 0 | 06-17-2010 04:38 AM |