InlineAI

approved

by FBarrca

AI-powered suggestions, contextual edits, and advanced text transformations directly into your editor.

โ˜… 54 starsโ†“ 6,675 downloadsUpdated 6mo agoGPL-3.0
View on GitHub

InlineAI Plugin

Documentation ยท Report Bug ยท Discussions

demo


๐Ÿ’ก A Seamless AI Writing Experience in Obsidian

InlineAI enhances your workflow by integrating AI-powered suggestions, contextual edits, and advanced text transformations directly into your editor. Write faster, edit smarter, and unlock new creative possibilitiesโ€”all within the Obsidian editor.


๐ŸŒŸ Features

1. Context-Aware AI Assistance

  • Transform text, summarize, or rewrite content using prompts tailored to your needs.
  • Define your own system and transformation prompts as commands for highly customized workflows.

2. Inline Diff Visualization

  • Visualize AI-suggested changes with clear inline markers for added and removed text.
  • Accept or discard suggestions with a single click.

3. Full AI Integration

  • Supports OpenAI, Ollama,Gemini and other APIs.
  • Local model support for privacy-first workflows.

โš™๏ธ Installation

1. From Obsidian Plugin Store

  1. Open Obsidian Settings.
  2. Navigate to Community Plugins โ†’ Browse.
  3. Search for "InlineAI" and click Install.
  4. Enable the plugin in the Installed Plugins list.

2. Manual Installation

  1. Download the latest release from the GitHub Releases.
  2. Copy main.js, styles.css, and manifest.json into your vault's .obsidian/plugins/obsidian-inlineai/ directory.
  3. Enable the plugin via the Community Plugins tab.

๐Ÿš€ Getting Started

Initial Setup

  1. Set up your API key:

    • Open the plugin settings in Obsidian.
    • Enter your API key for OpenAI, Ollama, Gemini or any supported model provider.
  2. Choose a model:

    • Supported models include gpt-4, llama3.2, and others.
  3. Configure prompts:

    • Define system and transformation prompts in settings for customized interactions.

How to Use

  • Trigger AI Tooltips: Highlight text or place the cursor, then press Ctrl + K / Cmd + K to activate the tooltip(you can change the hotkey).
  • Apply Edits: Use the inline diff view to accept or discard AI-suggested changes.

๐Ÿ™ Feedback and Support

We value your feedback and aim to make InlineAI the ultimate AI writing assistant:


๐Ÿ› ๏ธ Development

Want to contribute? Hereโ€™s how:

  1. Clone the repository:

    
    git clone https://github.com/FBarrca/obsidian-inlineai.git
    
    
  2. Install dependencies:

    
    npm install
    
    
  3. Build the plugin:

    
    npm run build
    
    

๐Ÿ“ License

This project is licensed under the GPL-3.0 license. Feel free to fork, contribute, and enhance the plugin!

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.