Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trashhalo/logseq-summarizer
Logseq plugin to summarize text
https://github.com/trashhalo/logseq-summarizer
logseq nlp pin
Last synced: 4 months ago
JSON representation
Logseq plugin to summarize text
- Host: GitHub
- URL: https://github.com/trashhalo/logseq-summarizer
- Owner: trashhalo
- License: mit
- Created: 2022-06-02T21:44:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-04T20:24:31.000Z (over 2 years ago)
- Last Synced: 2024-10-11T15:14:33.590Z (4 months ago)
- Topics: logseq, nlp, pin
- Language: JavaScript
- Homepage:
- Size: 175 MB
- Stars: 27
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Logseq Summarizer
Uses [sumy](https://pypi.org/project/sumy/) to summarize long text in logseq

## Installation
- Download a released version assets from Github.
- Unzip it.
- Click Load unpacked plugin, and select destination directory to the unzipped folder.## Usage
- Paste a big block of text into a block. News articles, blog posts, etc
- In the block type /Summary## Configuration
- `language` to use to interpret the text in blocks
- `numberOfSentences` how many senetences should be generated during summary
- `replaceSourceContent` if you prefer to keep the source material set this to false and it will next summaries underneath## Development
1. yarn
2. yarn build
3. Load the unpacked plugin from `dist`## Pyodide
Minimal version created following these steps
1. Place full release in `public/pyodide`
2. Build plugin
3. Run the summarization function in logseq
4. Delete everything that is not the latest access time. Find by `ls -ltu`
5. Repeat 2 and 3
6. Restore files until it works## Icon
[Data compression icons created by Eucalyp - Flaticon](https://www.flaticon.com/free-icons/data-compression)