Skip to content
CoobykPublic

About

Convert between Goodnotes and Notability files and export them to PDF, PNG, and SVG.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

106 Commits

Folders and files

Repository files navigation

oblyx

Convert GoodNotes .goodnotes and Notability .ntb notebooks to SVG, PNG, PDF, or editable .goodnotes / .ntb notebook files from the command line. Convert one notebook or batch-convert folders and ZIP archives.

Not affiliated with or endorsed by GoodNotes or Notability.

Features

  • Reads GoodNotes .goodnotes and Notability .ntb notebooks
  • Exports SVG, PNG and multi-page PDF, plus editable .goodnotes and .ntb notebooks
  • Vector-accurate strokes (width, color, opacity preserved), smoothed with Catmull-Rom interpolation so curves stay rounded instead of polygonal
  • Embedded images (JPEG/PNG/WebP attachments and frames) and PDF page backgrounds
  • Sticky notes, text boxes and equations
  • Bulk conversion: pass notebook files, ZIP archives of notebooks, and/or directories (scanned recursively)
  • Fast: parallel decoding and rendering across CPU cores

Build

cargo build --release

The command-line binary is at target/release/oblyx.

To build the optional GUI:

cargo build --release --features gui --bin oblyx-gui

The GUI binary is at target/release/oblyx-gui.

Usage

oblyx [OPTIONS] <INPUT>...

INPUT may be .goodnotes or .ntb notebook files, .zip archives containing notebooks, or directories. Directories are scanned recursively for .goodnotes and .ntb files (hidden files and directories are skipped). ZIP archives are scanned for notebook members, and nested ZIP folders are preserved in output paths.

Options

Option Description Default
-f, --format Output format(s): svg, png, pdf, goodnotes, ntb, all, or a comma-separated list. all expands to svg,png,pdf svg
-o, --output Output directory (default: next to each input file) —
--dpi Raster resolution for PNG output, in DPI 144
--page Only convert pages whose UUID contains this text —
-j, --jobs Number of parallel jobs all cores
-q, --quiet Suppress per-file progress output off
-v, -vv Verbose logging: -v shows stages, pages and assets; -vv adds every stroke off
--include-deleted Also render deleted (tombstoned) objects off
--true-black Convert near-black pen ink (GoodNotes dark brown) to pure black off
--archive[=FILE] Pack all output into one ZIP; without a path, choose a name automatically. Archive jobs convert sequentially off

Examples

# One GoodNotes file to SVG (default)
oblyx notebook.goodnotes

# One Notability file to SVG and PDF
oblyx -f svg,pdf notebook.ntb

# Everything in the "all" preset (SVG + PNG + PDF) into ./out
oblyx -f all -o out notebook.goodnotes

# Export an editable GoodNotes notebook from a Notability notebook
oblyx -f goodnotes -o out notebook.ntb

# Export an editable Notability notebook from a GoodNotes notebook
oblyx -f ntb -o out notebook.goodnotes

# Bulk: convert a whole folder tree to PDF and 300 DPI PNG
oblyx -f pdf,png --dpi 300 ~/GoodNotes/

# Single page, higher raster resolution
oblyx --page 0547ACEA --dpi 300 -f png notebook.goodnotes

# Convert every notebook inside an archive
oblyx -f pdf notebooks.zip

# Convert near-black ink to pure black
oblyx --true-black -f pdf notebook.goodnotes

# Put all results into one archive
oblyx -f pdf --archive=converted.zip ~/GoodNotes/

Output layout

  • PDF: <output>/<stem>.pdf — one multi-page file per notebook
  • GoodNotes: <output>/<stem>.goodnotes — one editable notebook file
  • Notability: <output>/<stem>.ntb — one editable notebook file
  • SVG / PNG: <output>/<stem>/<page-uuid>.svg|png — one file per page

Without -o, --output, <output> is the directory containing each input file. For notebooks inside input ZIP archives, their folder structure is mirrored below <output>. With --archive, those paths are stored as entries in the selected ZIP file.

When exporting a notebook to the same extension as its input, choose an output directory or archive path different from the source file; otherwise the output path can replace the source file.

Format notes

.goodnotes files are ZIP archives (schema 35) containing a record stream per page. Strokes are stored as bv41-compressed tpl blobs; elements (images, frames, text, stickies, equations) are protobuf records paired with tombstone wrapper records. Deleted objects are skipped unless --include-deleted is given.

.ntb files are Notability cloud notebooks: ZIP archives containing a FlatBuffer noteBundle, metadata, indexes and content-addressed assets. See docs/NOTABILITY_FORMAT.md for the reverse-engineered format notes and the current decoding status.

License

This project is licensed under the MIT License. See LICENSE. Bundled fonts and PDF.js retain their own licenses; see web/THIRD_PARTY_NOTICES.md.

Browser version

The browser app is in web/ and runs conversions locally in your browser. See web/ui/README.md for the build steps; deploy web/www/ as a Cloudflare Pages static site.

About

Convert between Goodnotes and Notability files and export them to PDF, PNG, and SVG.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages