Skip to main content

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:

  1. Open the Joplin app. The app must stay open while the documents are being loaded.
  2. Go to settings / options and select "Web Clipper".
  3. Make sure that the Web Clipper service is enabled.
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_joplin-0.5.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_joplin-0.5.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_joplin-0.5.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_joplin-0.5.1.tar.gz
Algorithm Hash digest
SHA256 13c0e332ae3d1aac24d6233e97d75351cadc3c3f33cccf59c1814a31c02b5ca8
MD5 20bba6765fb0c2051af936eff217a7af
BLAKE2b-256 e0a6e72cb1fb04fdf1cc0779f0e0be24c8a7de28529d7c84e1f19d26bc26f0fb

See more details on using hashes here.

File details

Details for the file llama_index_readers_joplin-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_joplin-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50cddb3a09f9b2cd6f0e7ee93e02db698a20fb65bbd75b9de023f7d2ca2d8f4e
MD5 7a6b06b47b5e313da202b5ca0644d28c
BLAKE2b-256 463c01c446398f29d0fa00c5573df2c43373db8fab5b5a9c0e97b092b213a9f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page