llama-index-integrations/readers/llama-index-readers-joplin/README.md
pip install llama-index-readers-joplin
Joplin is an open source note-taking app. Capture your thoughts and securely access them from any device.
This readme covers how to load documents from a Joplin database.
Joplin has a REST API for accessing its local database. This reader uses the API to retrieve all notes in the database and their metadata. This requires an access token that can be obtained from the app by following these steps:
Joplin app. The app must stay open while the documents are being loaded.You may either initialize the reader directly with the access token, or store it in the environment variable JOPLIN_ACCESS_TOKEN.
An alternative to this approach is to export the Joplin's note database to Markdown files (optionally, with Front Matter metadata) and use a Markdown reader, such as ObsidianReader, to load them.
Here's an example usage of the JoplinReader.
import os
from llama_index.readers.joplin import JoplinReader
documents = JoplinReader(
access_token="<access_token>"
).load_data() # Returns list of documents