No description
Find a file
2025-01-07 14:19:24 +01:00
.github/workflows Update release.yml 2025-01-06 22:32:54 +01:00
docs Update README and change hotkey for AI tool activation 2025-01-06 01:18:50 +01:00
src Add commands to accept and discard tooltip suggestions 2025-01-07 14:19:24 +01:00
.editorconfig Init plugin template 2024-10-25 20:58:08 +02:00
.eslintignore Init plugin template 2024-10-25 20:58:08 +02:00
.eslintrc Init plugin template 2024-10-25 20:58:08 +02:00
.gitignore Add settings management and integrate LangChain API for chat functionality with multiple providers 2024-11-01 17:39:57 +01:00
.npmrc Init plugin template 2024-10-25 20:58:08 +02:00
esbuild.config.mjs Refactor TypeScript configuration and update package dependencies, we wont use svelte as its giving trouble 2024-10-27 19:33:05 +01:00
LICENSE Create LICENSE 2025-01-06 22:36:17 +01:00
manifest.json Update manifest.json 2025-01-06 22:33:25 +01:00
package-lock.json Update README and change hotkey for AI tool activation 2025-01-06 01:18:50 +01:00
package.json Remove unused dependencies 2025-01-05 17:23:11 +01:00
README.md Update README and change hotkey for AI tool activation 2025-01-06 01:18:50 +01:00
styles.css Refactor settings to use CSS classes for textarea styling 2025-01-07 12:59:11 +01:00
tsconfig.json Switch diff dependency for semantic cleanup 2025-01-05 16:27:24 +01:00
version-bump.mjs Init plugin template 2024-10-25 20:58:08 +02:00
versions.json Init plugin template 2024-10-25 20:58:08 +02:00

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! Heres whats 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? Heres 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!