Skip to main content

Tolino Notes

Convert Tolino notes into useful formats

PyPI

Tolino

Tolino stores your highlights and notes in a notes.txt file on your device. However that file has a strange structure and mixes books when you read multiple ones at a time. And the content depends on the language-setting of your device.

This project tries to close the gap by doing the heavy-lifting of parsing the file, sorting and converting to a commonly used format such as Markdown or JSON. – one file per book found in your notes.txt.

Where do I find this file?

  • Connect your Tolino to your computer via USB.
  • Use a file manager (Explorer, Finder, etc.) and open the root directory of the device.
  • Look for the notes.txt file.

Install and use

This is a Python program. Install it using pip / poetry or similar from PyPi. If you don't yet have pip installed, go here first.

$ python -m pip install tolino-notes

In a new shell run:

$ tolino-notes --help
Usage: tolino-notes [OPTIONS]

  Convert Tolino notes into useful formats

Options:
  -i, --input-file FILE       Original Tolino notes file  [required]
  -o, --output-dir DIRECTORY  Folder for output files  [required]
  -f, --format [md|json]      Output format  [required]
  -v, --verbose               Verbose output
  --help                      Show this message and exit.

For example to convert all your notes to markdown run:

$ mkdir output-dir
$ tolino-notes --input-file notes.txt --output-dir output-dir --format md

Status

  • Successfully in use with Tolino Shine 3.
  • Supports extraction and conversion of highlights, bookmarks and notes.
  • Support for DE, EN, ES, IT, NL, FR device-language settings, which is detected automatically.
  • Supported output formats are Markdown and JSON.

Limitations:

Due to the unstructured nature of the notes.txt, it is a best-guess approach. The notes.txt format writes notes sequentially and it is not always clear in which order notes were taken. Also separating notes and highlights can only be done based on "quotes", which is not the most robust approach. In general, I believe 99% of your notes and highlights should be extracted properly.

Use the issue tracker to let me know about ideas and issues.

Development

  • The project is built based on this boilerplate.
  • Run make to create a new virtual environment.

License and attribution

This software is licensed under Apache License 2.0.

Metadata

Release files for tolino-notes 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for tolino-notes 0.3.2
File Interpreter ABI Platform
tolino_notes-0.3.2-py3-none-any.whl Python 3 none any Details

Release files / tolino_notes-0.3.2-py3-none-any.whl

Download URL tolino_notes-0.3.2-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85f392589f4ea51b8e9e9b2913789e723777aa627a66629ff2a14e29d1eadf02
BLAKE2b-256 checksum
How to use checksums
94d44dc9b81a285238aeedf3ee25b0ec220f0092efd9fa84e896222f05908715
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page