Skip to content

Конвертер .fb2 книг в Markdown-страницы с навигацией для удобного чтения в Obsidian | Convert .fb2 ebooks into paginated Markdown files for comfortable reading in Obsidian

Notifications You must be signed in to change notification settings

devvsima/fb2-to-obsidian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FB2 to Obsidian Markdown Converter (Booker)

RU

📚 A simple script to convert .fb2 books into folders of Markdown files optimized for reading in Obsidian. Each page of the book is saved as a separate .md file with built-in next/previous navigation.


🤔 Why?

I spent a long time searching for a comfortable book reader with sync between devices — but found nothing that fully suited me. That’s when the idea came: create a script that transforms .fb2 books into a structure that Obsidian can work with.

Now I can read books directly inside Obsidian, with smooth page-by-page navigation and full control.


🔧 Features

  • Automatically scans for all .fb2 files in the current folder
  • Extracts book title and author from metadata
  • Creates a separate folder for each book
  • Splits the content into fixed-length pages
  • Generates Markdown files with forward/backward navigation links

🖼 Example output

A sample book displayed in Obsidian:

Example


🚀 Installation & Usage

  1. Make sure you have Python 3.7+ installed.
  2. Install dependencies and run the script:
uv sync
uv run main.py

About

Конвертер .fb2 книг в Markdown-страницы с навигацией для удобного чтения в Obsidian | Convert .fb2 ebooks into paginated Markdown files for comfortable reading in Obsidian

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages