Skip to content

ittuann/obsidian-gpt-liteinquirer-plugin

Repository files navigation

GPT-LiteInquirer Plugin for Obsidian

CI Code Scanning TAG

Downloads

Language: :gb: English · 🇨🇳 简体中文

With this GPT-LiteInquirer Plugin, you can quickly and senselessly generate ideas, draft content, or get assistance from the ChatGPT AI, all without leaving Obsidian, without interrupt your creative flow.

The Lightweight ChatGPT Plugin is a fast, easy-to-use, and non-intrusive AI assistant plugin, which senselessly integrates OpenAI's ChatGPT API directly into Obsidian.

If you enjoy this plugin or would like to show your support, please consider giving it a free Star ✨ on GitHub~

Note

Install and view this plugin automatically within Obsidian: Click here

Download manually: Click here. You only need to manually download main.js, styles.css and manifest.json and put them in the .obsidian\plugins\gpt-liteinquirer folder.

✨ Features

  • Seamless integration with Obsidian:

    • Enjoy the convenience of accessing lightweight ChatGPT directly within Obsidian.
    • You no longer have to worry about being interrupted in your creative process by leaving Obsidian to switch between software.
  • User-friendly interface:

    • Interact with the ChatGPT API through an intuitive and straightforward lightweight design interface.
  • Diverse ways to use:

    • You can quickly input the current document as a knowledge base into ChatGPT, and ask any questions about any content.
    • You can also directly start a conversation with ChatGPT, quickly drafting and enriching your content, generating new ideas, or using the ChatGPT artificial intelligence to do anything you want.
  • Flexible response handling:

    • Copy the AI-generated response to the clipboard. Alternatively, insert it directly at the cursor position in your current document, or at the end of the document.

🧩 Configuration

Important

You must need to set your own OpenAI API key in the Plugin Settings first, so that the plugin can work properly.

  1. Generate an OpenAI API key on the official website. Click here
  2. In Obsidian, go to Settings, click Community Plugins in the left menu , and enable GPT-LiteInquirer in the Installed Plugins.
  3. Click the gear icon to enter the plugin settings. Then enter your API key in the OpenAI API Key field and then you're done! 🎉

To download Obsidian: Click here

📝 Usage

You can open the Lightweight ChatGPT Plugin interface in three ways:

  • By clicking on the Obsidian ribbon on the left.
  • By the Obsidian command Open Lightweight Window.
  • By manually set a keyboard shortcut for the command, such as CTRL + K.

When opening the GPT Lite Inquirer window, the content you selected in the current Markdown document will be copied to the text box automatically. So you can use this text to ask questions or perform other operations, or directly write down anything you want to say.

Tips: You can also send content directly using the CTRL + ENTER shortcut.


TODO List:

  • Add configuration default Prompt
  • Add support for self-built API
  • Add support for GPT-4
  • Add support for Azure API

GPT-LiteInquirer Plugin for Obsidian wants to be a nice companion to boost your creativity and productivity. Experience the seamless AI-enhanced writing and content generation capabilities within Obsidian today!

License

The project is MIT Licensed.

FOSSA License Compliance Status