Simple Prompt

by David Zachariae
5
4
3
2
1
Score: 33/100

Description

Category: Creative & Writing Tools

The Simple Prompt plugin allows users to generate or rewrite content in Obsidian using Large Language Models (LLMs) like OpenAI and Ollama. It offers an easy-to-use interface for generating content at the cursor, rewriting selected text, or replacing the entire document based on a user-provided prompt. Additionally, users can generate content from YouTube videos using captions, and customize prompt templates for personalized content creation. The plugin supports features like recent prompts, the option to choose from different LLM providers, and streaming responses for generation. Future features include expanded LLM support, image generation, vault document indexing, and enhanced encryption for API keys.

Reviews

No reviews yet.

Stats

14
stars
1,011
downloads
1
forks
697
days
693
days
693
days
1
total PRs
0
open PRs
1
closed PRs
0
merged PRs
1
total issues
1
open issues
0
closed issues
41
commits

Latest Version

2 years ago

Changelog

README file from

Github

Simple Prompt

What is Simple Prompt?

Simple Prompt allows you generate content in your notes using Large Language Models. It provides a simple interface to generate content, rewrite selection or whole notes based on a prompt you provide.

Commands and Options

It provides the following commands:

  • Generate content at your cursor: This command will generate content at the cursor position.
  • Rewrite selection: This command will replace the selected text with the generated content.
  • Rewrite document: This command will replace the entire document with the generated content.
  • Generate from YouTube: This command will generate content based on a YouTube video URL and a request at the cursor position.
    • OBS, this command uses the captions of the video to generate content, so if the video is not transcribed or doesn't have sound, it will not work.

It also gives the following options:

  • Pick which LLM to use: Choose from a list of LLMs and Providers to generate content.
    • Supports OpenAI and Ollama
  • Customize Prompt Templates: You can customize the prompt templates to generate content based on your needs.
  • Recent prompts: You can view the recent prompts you have used and reuse them.
  • Streaming responses: You can toggle streaming responses for the generation commands.

Future Features

  • Add support for other LLMs (Anthropic Claude, Cohere Aya, Llama-files etc.)
  • Add "Generate image" command to generate images using LLMs.
  • Add support for indexing all documents in the vault and generating content based on the index.
  • Add encryption for the saved API key.
  • Add support for adding custom actions and templates

How to use

  • Clone this repo into your Obsidian vault's plugins folder.
  • npm i or yarn to install dependencies.
  • npm run dev to start compilation in watch mode.
  • npm run build:css to build the css.

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/simple-prompt-plugin/.
  • Reload Obsidian.

Note: The plugin saves the API key in the Obsidian vault settings. Make sure to keep your API key safe.

  • If using Git plugin. Add .gitignore with .obsidian/plugins/simple-prompt-plugin/data.json to the vault to avoid pushing the API key to your repository.

Demo

Demo

YouTubeDemo

Changes

Changelog is available here

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Fantasy Content Generator
3 years ago by Gregory-Jagermeister
a fantasy name generator for Obsidian
BMO Chatbot
3 years ago by Longy2k
Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) from Ollama, LM Studio, Anthropic, Google Gemini, Mistral AI, OpenAI, and more for Obsidian.
YOLO
4 months ago by Lapis0x0
Smart, snappy, and multilingual AI assistant for your vault.
Gemini Assistant
2 years ago by eatgrass
Your AI assistant in obsidian
Cannoli
3 years ago by blindmansion
Cannoli allows you to build and run no-code LLM scripts using the Obsidian Canvas editor.
Ollama Chat
2 years ago by Brumik
A plugin for chatting with you obsidian notes trough local Ollama LLM instead of Chat GTP.
Large Language Models
a year ago by eharris128, r-mahoney, & jsmorabito
The LLM plugin gives Obsidian users access to local and web-based, large language models via several chat interfaces: modal, widget, FAB window, and commands.
Caret
2 years ago by Jake Colling
Caret, an Obsidian Plugin
Flashcards LLM
3 years ago by Marco Pampaloni
Use Large Language Models (such as ChatGPT) to automatically generate flashcards from obsidian notes
LLM Summary
2 years ago by QSun
wip
Local LLM Helper
2 years ago by Mani Mohan
An Obsidian plugin to process text, chat with AI, and semantically search your notes — works with any OpenAI-compatible LLM server (Ollama, LM Studio, vLLM, and more).
AI Editor
3 years ago by Zekun Shen
ChatGPT Definition
3 years ago by julix14
LLM Test Generator
a year ago by Aldo E George
Notemd
a year ago by Jacob
A Easy way to create your own Knowledge-base! Notemd enhances your Obsidian workflow by integrating with various Large Language Models (LLMs) to process your notes, automatically generate wiki-links for key concepts, create corresponding concept notes, perform web research, and more.
Steward
6 months ago by Dang Nguyen
A vault-specific agent equipped with agentic capacity, fast search, flexible commands, vault management, and terminals to "jump" into other CLI agents, such as Claude, Gemini, etc.
Smart Export
2 months ago by Iván Sotillo
Plugin that follows wikilinks to a configurable depth, joining the notes into a single export.
LLM workspace
a year ago by Olivér Falvai
LLM Tagger
a year ago by David Jayatillake
Canvas LLM
7 months ago by Mike Farlenkov
A canvas-like UI to talk with LLMs in Obsidian.
Pure Chat LLM
a year ago by Justice Vellacott
Turn notes into conversations with chatGPT or better yet Ollama
ai-writer
2 years ago by Donovan Ye
A plugin for Obsidian that uses AI to help you write better and faster.
AI integration Hub
a year ago by Hishmat Salehi
A modular AI integration hub for Obsidian
Rapid AI
2 years ago by Rapid AI
AI Assistant for selected text and generating content with Markdown. Shortcuts and quick action buttons provide instant AI assistance. It provides a high availability API for unlimited Chat GPT request rates, so you can ensure smooth work for any workload.
LLM docs
a year ago by Shane Lamb
Chat with LLM in regular markdown files in Obsidian
Hydrate
5 months ago by hydrateagent
LLM Shortcut
9 months ago by Viktor Chernodub
A plugin for Obsidian that provides a way to create shortcuts for commands powered by LLM capabilities.
PromptCrafter
2 years ago by Fabrice Hong
Create reusable, modular prompts in Obsidian
Blog AI Generator
a year ago by Gareth Ng
Obsidian Plugin: generate blog via AI based on the current note.