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-jarvis

v0.8.2

Published

<img src=img/jarvis-logo-circle.png width=70> [![DOI](https://zenodo.org/badge/568521268.svg)](https://zenodo.org/badge/latestdoi/568521268) ![downloads](https://img.shields.io/badge/dynamic/json?color=brightgreen&label=downloads&query=%24.totalDownloads&

Downloads

224

Readme

Jarvis

DOI downloads

Jarvis (Joplin Assistant Running a Very Intelligent System) is an AI note-taking assistant for Joplin, powered by online and offline LLMs (such as OpenAI's ChatGPT or GPT-4, Hugging Face, Gemini, Universal Sentence Encoder). You can chat with it (including prompt templates), use your personal notes as additional context in the chat, automatically annotate notes, perform semantic search, or compile an automatic review of the scientific literature.

Community discussion: https://discourse.joplinapp.org/t/28316

Usage

  • Chat:
    • Start a new note, or continue an existing conversation in a saved note. Place the cursor after your prompt and run the command Chat with Jarvis (from the toolbar or Tools/Jarvis menu). Each time you run the command Jarvis will append its response to the note at the current cursor position (given the previous content that both of you created). If you don't like the response, run the command again to replace it with a new one.
  • Chat with your notes:
    • To add additional context to your conversation based on your notes, repeat the steps above but select the command Chat with your notes (from the Tools/Jarvis menu) instead. Relevant short excerpts from your notes will be sent to the chat model in addition to the usual conversation prompt / context. To exclude certain notes from this feature, add the tag #exclude.from.jarvis to the notes you wish to exclude. You may combine regular chat and note-based chat on the same note. For more information see this guide.
  • Related notes / semantic search:
    • Find notes based on semantic similarity to the currently open note, to selected text, or to search queries. By default, this is done locally (offline), without sending the content of your notes to a remote server (online models can be selected). Notes are displayed in a dedicated panel. To run semantic search based on selected text, click on the Find related notes toolbar button or context menu option. You may also write any query in the panel's search box.
  • Annotate your notes:
    • Run the command Annotate note with Jarvis to add annotations to your notes: title, summary, links and / or tags. For more information see this guide.
  • Literature review:
    • Run the command Research with Jarvis, write what you're interested in, and optionally adjust the search parameters. Wait 2-3 minutes for all the output to appear in the note (depending on internet traffic). Jarvis will update the content as it finds new information on the web (using Semantic Scholar, Crossref, Elsevier, Springer & Wikipedia databases). In the end you will get a report with the following sections: title, prompt, research questions, queries, references, review and follow-up questions. For more information see this post.
  • Autocomplete anything:
    • Auto-complete with Jarvis will try to extend any content.
  • Text generation:
    • Run the command Ask Jarvis and write your query in the pop-up window, or select a prompt text in the editor before running the command. You can also enhance your query with predefined (or customized) prompt templates from the dropdown lists.
  • Text editing:
    • Select a text to edit, run the command Edit selection with Jarvis and write your instructions in the pop-up window.

Installation

  1. Install Jarvis from Joplin's plugin marketplace, or download it from github.
  2. Select a model for chatting with Jarvis, and a model for indexing your notes. Depending on your choice of models to connect Jarvis with, you may need to setup an API key in the plugin settings for OpenAI, Google AI, Hugging Face, or other supported services.
  3. To improve chat coherence, it may be helpful to increase Memory tokens in the settings, especially when chatting with your notes.
  4. For literature reviews, you can optionally add free API keys for Scopus/Elsevier as an additional powerful search engine and paper repository, and Springer as another paper repository. It is recommended to try both Scopus and Semantic Scholar as each has its pros and cons.

Disclaimer

  • This plugin sends your queries to your selected models (and only to these ones, whether they are online or offline models). See the table below for details.
    • Research queries are also sent to the selected literature search engine (Semantic Scholar / Scopus).
  • This plugin may use your OpenAI, Google AI or Hugging Face API key in order to do so (and use it for this sole purpose).
  • You may incur charges (if you are a paying user) from these services by using this plugin.
  • Therefore, it is recommended to check your usage statistics periodically.
  • It is also recommended to rotate your API keys occasionally.
  • The developer is not affiliated with any of the services above.

The following table shows what is sent to the selected chat / notes models when running each command.

| Command | User prompt | Current note | Other note excerpts | All notes | Online articles | Models | |--------------------|:-----------:|:------------:|:-------------------:|:---------:|:---------------:|:-----------:| | Ask Jarvis | x | | | | | chat | | Chat | x | x | | | | chat | | Chat w/ notes | x | x | x | | | chat, notes | | Research | x | | | | x | chat | | Edit | x | | | | | chat | | Autocomplete | | x | | | | chat | | Annotate note | | x | x | | | chat, notes | | Find related notes | | x | | | | notes | | Update note DB | | | | x | | notes |