Skip to content

diegomarzaa/obsidian-inlineAI

 
 

Repository files navigation

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, and other APIs.
  • Local model support for privacy-first workflows.

⚙️ Installation

1. From Obsidian Plugin Store

  1. Open Obsidian Settings.
  2. Navigate to Community PluginsBrowse.
  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, 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.


🔮 Roadmap

InlineAI is actively evolving! Here’s what’s next:

  • Tool use: Save your commonly used tools as commands for easy use.

Stay updated on our progress via the GitHub Project Board.


🙏 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 MIT License. Feel free to fork, contribute, and enhance the plugin!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 83.3%
  • Python 7.3%
  • CSS 5.5%
  • JavaScript 3.9%