Smart Text Mover

by Ankush-Chander
5
4
3
2
1
Score: 43/100

Description

The Smart Text Mover plugin helps organize text and external links in Obsidian files by suggesting headings where the content can be moved. It supports three modes: a simple position-based list of target sections, LLM-powered suggestions for files with minimal data, and a Naive Bayes classifier that improves with usage by analyzing word distributions under headings. Users can easily relocate selected lines of text by choosing from ranked suggestions based on proximity. The plugin is particularly useful for tasks like categorizing bookmarks and works well alongside tools like the URL Namer plugin.

Reviews

No reviews yet.

Stats

10
stars
611
downloads
0
forks
687
days
684
days
684
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
6
total issues
3
open issues
3
closed issues
25
commits

README file from

Github

Smart Text Mover

Smart text mover helps in organizing text/external links in files by making smart suggestions around the headings under which the text can be moved. It supports three modalities:

  1. No classification: List target sections based on their position in the file
  2. LLM classification: List most likely target sections by using LLMs(gpt3.5 etc). Handy when you don"t have enough data in file.
  3. Naive bayes classifier(recommended): List most likely target sections by using Naive Bayes classifier. Self improves as you use it more and more.

Demo

Move text in file

Alt Text

Settings

How it works

Select line you want to move else where in the file and invoke "smart-text-mover". It suggest headings under which it can be moved sorted by their proximity to the selected text. This proximity is calculated using a lightweight classical machine learning algorithm called (Naive Bayes Classifier). It does so by examining existing words distribution under different headings and then ranking them based on that. This ranked list of target location allows user to easily move/organize text in the file. Example usage includes sorting bookmarks based on different categories. Performs best when used with url-namer

For development

Compilation
  1. Clone this repo inside path/to/your/dev/vault/.obsidian/plugins.
  2. npm i or yarn to install dependencies
  3. npm run build to compile, or npm run dev to start compilation in watch mode.

Quick Installation

Search for smart-text-mover in obsidian community plugins and click install.
or
follow the installation link.

Checklist

  • First release
  • Add bulk classifier