npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

joplin-plugin-ai-summarization

v0.2.3

Published

## 1. Introduction

Downloads

15

Readme

🤖 Summarize your notes with Joplin AI!

1. Introduction

1.1 Motivation

The project aims to create note summaries to help users synthesize main ideas and arguments to identify salient points. This means that users will have a clear idea of what the note is about in a short piece of text with less mental effort.

Example Use Cases:

  • Assist in processing notes to improve efficiency: Distill critical information from notes, highlight key ideas and quickly skim notes.
  • Classify or cluster notes by their contents: Summarize key concepts from notes and use them in similar group notes. This could be used for tagging notes.
  • Distill important information from long notes to empower solutions such as search, question, and answer.

1.2 Types of Summaries

There are two main types of summarization: extractive and abstractive

Extractive summarization: This method takes sentences directly from the original note, depending on their importance. The summary obtained contains exact sentences from the original text.

Abstractive summarization: Abstractive summarization is closer to what a human usually does — i.e., conceive the text, compare it with their memory and related information, and then re-create its core in a brief text.

Abstractive summarization tends to be more computationally expensive since you must utilize neural networks and generative systems. On the other hand, extractive summarization does not require the use of deep learning and data labeling [1].

2. Usage

2.1 Hide/Show Panel

Starting the Joplin will at first make the Joplin AI Summarization panel appear. Users can hide/show panel by using keyboard shortcuts: command + shift + f (MacOS) and ctrl + shift + f (Windows).

2.2 Flowchart

flowchart LR
   A[Opening Joplin]-.-> B[Using the Panel]
   A[Opening Joplin]-.-> C[Using Context Menus]
   C -.-> D[Click on the Notebook]
   C -.-> E[Click on the Note]
   E -.-> F[Right-click on the note]
   E -.-> G[Highlight multiple text in the note]
   F -.-> H[Summarize the note]
   G -.-> I[Right-click on the text]
   I -.-> J[Summarize the highlighted text]
   B -.-> K[Click on the note in the notebook tree]
   K -.-> L[Edit the summary, configure length and choose different algorithms]
   L -.-> M[Click save]
   M -.-> N[edit, change font-weight, etc.]
   D -.-> O[Right-click on the notebook]
   O -.-> P[Summarize the notebook]

Panel

Clicking on the notes in the panel will also open notes in Joplin. There, you can craft your own summary by adjusting its length and generating multiple versions of summaries by performing various algorithms (LexRank, TextRank, LSA, KMeans Clustering) to find the best summary.

Joplin App

In Joplin, you can summarise notes by using:

  1. Note Context Menu
  2. Notebook Context Menu
  3. Editor Context Menu

3. Testing

Run unit tests by running npm run test. The testing framework that we are using is jest.

4. 📹 Video Demonstration

4.1 Panel

https://github.com/user-attachments/assets/4f2d1786-b7f2-4cfc-8210-f166dc7888b6


4.2 Context Menus

https://github.com/user-attachments/assets/4506769c-d2ad-4e97-a1aa-e193aab9ca4d

About the plugin

a. By Ton Hoang Nguyen (Bill) 🧑‍💻: https://github.com/HahaBill

b. Google Summer of Code 2024: https://summerofcode.withgoogle.com/programs/2024/projects/Ble8LKDb

c. Project Website: https://discourse.joplinapp.org/c/gsoc-projects/summarize-ai/35

References

[1] IBM - Text Summarization https://www.ibm.com/topics/text-summarization

[2] Automatic Text Summarization Methods: https://arxiv.org/abs/2204.01849