LLM-based tools for Overleaf

Latest Version

Version
1.4.1
Update
July 23, 2024
Size
1.49MiB
Developer
Category
Users
157
Rating
4 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
Tabs
See more

LeafLLM Extension

This extension adds the power of large-language models (LLMs) to Overleaf.com
Using this addon, you can select text in Overleaf and ask LLM (e.g., OpenAI GPT) to complete this text or improve it. You write a question for the LLM, select it, and ask it.

After installing the extension, configure it by clicking on its icon, and following the instructions.

Full instructions on the plugin's website - https://github.com/bThink-BGU/LeafLLM

Configuration
**************
The plugin can be configured by clicking the plugin button in the Chrome toolbar.
It requires inserting an API key from OpenAI.
You also need to choose which tools you wish to enable. See below if you have problems using the tools.

Usage
*******
After selecting text, press:
- Alt+A to ask the LLM
- Alt+C to complete the selected text
- Alt+I to improve the selected text

See usage examples at: https://github.com/bThink-BGU/LeafLLM?tab=readme-ov-file#usage

Issues
*******
If nothing happens when you use the plugin, verify that the plugin's shortcuts are not in conflict with other plugins' shortcuts. To do so, go to chrome://extensions/shortcuts.

If you encounter any problem/question, please open an issue in the project's repository.

Privacy
********
The plugin saves its configuration locally on the user's computer. The plugin sends the API key and the selected text to OpenAI only, and only for the purpose it was made for (i.e., completing and improving text and asking GPT questions). The plugin's authors are not responsible for what OpenAI does with this data. The plugin's authors do not collect any data from the plugin's users.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "action": { "default_popup": "popup/popup.html", "default_icon": "popup/LeafLLM.png" }, "content_scripts": [ { "js": ["scripts/jquery.js", "scripts/content.js"], "matches": ["https://*.overleaf.com/project/*"] } ], "description": "LLM-based tools for Overleaf", "icons": { "16": "popup/LeafLLM_16.png", "48": "popup/LeafLLM_48.png", "128": "popup/LeafLLM_128.png" }, "commands": { "Complete": { "suggested_key": { "default": "Alt+C" }, "description": "Complete selected text" }, "Improve": { "suggested_key": { "default": "Alt+I" }, "description": "Improve selected text" }, "Ask": { "suggested_key": { "default": "Alt+A" }, "description": "Use the selected text to ask GPT. It adds to the beginning of the selected text: 'In Latex, '" } }, "background": { "service_worker": "scripts/service-worker.js" }, "permissions": ["storage", "tabs"], "manifest_version": 3, "name": "LeafLLM", "homepage_url": "https://github.com/achiyae/LeafLLM", "version": "1.4.1"}
Read more

How to download and manually install LeafLLM extension for Chrome

Looking for a way to install LeafLLM extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install LeafLLM extensions manually, this article outlines two simple methods to effortlessly install LeafLLM extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download LeafLLM extension and manually install through Drag &Drop

If you ever need to manually install a LeafLLM extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the LeafLLM Extension by clicking the "Download CRX" button on the website.

Look for the LeafLLM extension you wish to install. Go to the website and download the LeafLLM extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for LeafLLM extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the LeafLLM extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download LeafLLM extension for Chrome and install in Developer Mode

This is another method to install LeafLLM extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the LeafLLM extension file

Select and download the LeafLLM extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the LeafLLM extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your LeafLLM extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the LeafLLM extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install LeafLLM extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

New Reddit comment faces Extension · Social & Communication 157 1 ★ 36.61KiB

icon

Rafflesia for Overleaf Extension · Productivity 157 0 ★ 161KiB

icon

Simplify Overleaf Extension · Productivity 157 0 ★ 1.37MiB

icon

ReadAnything Extension · Productivity 157 1 ★ 1.05MiB

icon

Left Unread Extension · Productivity 157 4 ★ 25.15KiB

icon

Blueprint Extension · Productivity 157 3 ★ 2.02MiB

icon

Agency Toolchest Extension · Productivity 157 2 ★ 602KiB

icon

Local LLama LLM AI Chat Query Tool Extension · Productivity 157 1 ★ 375KiB

icon

Open tabs in order Extension · Productivity 157 2 ★ 7.0KiB

icon

prompt-enhancer-utility Extension · Productivity 157 0 ★ 158KiB

icon

Albato GPT-Assistant Extension · Productivity 157 1 ★ 567KiB

icon

Trello minimal UI toggle Extension · Productivity 157 3 ★ 232KiB

icon

GPT4Overleaf Extension · Productivity 157 1 ★ 1.46MiB

icon

Twitter Reaction Counter Extension · Social & Communication 157 0 ★ 133KiB

icon

Tabsets.net Extension · Productivity 157 2 ★ 9.6MiB

icon

WebextLLM Extension · Productivity 157 0 ★ 12.02MiB

icon

Chatty File Uploader Extension · Productivity 157 1 ★ 8.94KiB

icon

GL Git Clone Extension · Developer Tools 157 1 ★ 55.18KiB

icon

Overleaf Copilot Extension · Productivity 157 2 ★ 1.78MiB

icon

Overleaf Copilot Extension · Productivity 157 18 ★ 6.9MiB

icon

open-os LLM Browser Extension Extension · Productivity 157 2 ★ 4.25MiB

icon

SLext Extension · Productivity 157 13 ★ 428KiB

icon

Axen Rephraser Extension · Productivity 157 2 ★ 4.75MiB

icon

GitHub File Diff Extension · Developer Tools 157 0 ★ 354KiB