Thanks to visit codestin.com
Credit goes to github.com

Skip to content

VIIII4/OneNote2epub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneNote2epub

This is a simple tool to convert OneNote files to epub format.

The latter part of this project was developed on Ubuntu and you just need to authorize the program when running it. Therefore, it is recommended to run the latter part on a Linux system. Using Windows would be more cumbersome. You need to turn off the antivirus software, run the program with administrator privileges, or make corresponding authorizations in the Windows Security Center (if you don't have 360 security software on your computer).

It is inspired by onenote-to-markdown

Usage

  1. Install Python 3.7+ (Python 3.8+ is recommended)

  2. Install Pandoc and add it to PATH

  3. Install the required packages

pip install -r requirements.txt
  1. make sure your OneNote application is running

  2. Run the onenote_to_docx.py

python onenote_to_docx.py

sometimes you need to run the onenote_to_docx.py aside of the IDE to avoid the error.Something like run this command directly in the terminal: python 'D:\python\onenote2epub(+)\onenote_to_docx.py'

  1. Install libreoffice and Calibre

  2. change the LIBREOFFICE_PATH in coreConver.py to your libreoffice path or the exe path

  3. Open Calibre and install the EpubMerge plugin. Here

  4. Run the main.py

python main.py
  1. put the path of OneNoteExport where it will exit on your Desktop in the terminal

enjoy your notes on kindle!

Defect

A bit complex and inefficient

Roast

I really don't want to use such a "stitched" approach of extracting with Pandoc, converting with LibreOffice, and aggregating with Calibre. But the results are always unsatisfactory when using only Pandoc.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages