llama-index readers joplin integration
Project description
Joplin (Markdown) Loader
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:
- Open the
Joplinapp. The app must stay open while the documents are being loaded. - Go to settings / options and select "Web Clipper".
- Make sure that the Web Clipper service is enabled.
- Under "Advanced Options", copy the authorization token.
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.
Usage
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_readers_joplin-0.5.1.tar.gz.
File metadata
- Download URL: llama_index_readers_joplin-0.5.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13c0e332ae3d1aac24d6233e97d75351cadc3c3f33cccf59c1814a31c02b5ca8
|
|
| MD5 |
20bba6765fb0c2051af936eff217a7af
|
|
| BLAKE2b-256 |
e0a6e72cb1fb04fdf1cc0779f0e0be24c8a7de28529d7c84e1f19d26bc26f0fb
|
File details
Details for the file llama_index_readers_joplin-0.5.1-py3-none-any.whl.
File metadata
- Download URL: llama_index_readers_joplin-0.5.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50cddb3a09f9b2cd6f0e7ee93e02db698a20fb65bbd75b9de023f7d2ca2d8f4e
|
|
| MD5 |
7a6b06b47b5e313da202b5ca0644d28c
|
|
| BLAKE2b-256 |
463c01c446398f29d0fa00c5573df2c43373db8fab5b5a9c0e97b092b213a9f8
|