Nebi Chat

approved

by Dinesh Raja

AI chat assistant supporting free providers (Gemini, Groq, Cerebras, OpenRouter, Ollama) - This plugin has not been manually reviewed by Obsidian staff.

โ†“ 20 downloadsUpdated 5d agoMIT

Nebi Chat

๐Ÿค– Nebi Chat

Version License: MIT Obsidian GitHub Stars

Chat with AI models directly from your Obsidian sidebar โ€” completely free.

Nebi Chat Screenshot

Provider Selection

Provider Dropdown

Model Selection

Model Dropdown


โœจ Features

  • ๐ŸŒ Multi-provider support โ€” Gemini, Groq, Cerebras, OpenRouter, and Ollama (local)
  • ๐Ÿ’ธ Free tier friendly โ€” No credit card required for any cloud provider
  • โšก Streaming responses โ€” Text appears word-by-word as the AI generates
  • ๐Ÿ’ฌ Chat history โ€” Conversations persist across restarts (last 200 messages)
  • ๐ŸŽจ Theme-aware UI โ€” Matches your Obsidian theme automatically
  • ๐Ÿ“ Markdown rendering โ€” Code blocks, lists, headings, and links rendered properly
  • ๐Ÿ“‹ Text selection โ€” Click-drag to select and copy portions of AI responses
  • โš™๏ธ Configurable โ€” Adjustable temperature and max tokens per response
  • ๐Ÿงต Multiple threads โ€” Create, switch, and delete conversations
  • ๐Ÿ“ค Export โ€” Download chat history as markdown
  • ๐Ÿ” Model discovery โ€” Auto-fetches available models from each provider

๐Ÿ“ฆ Installation

๐Ÿช Community Plugin (Recommended)

Install from Community

  1. Open Settings โ†’ Community Plugins
  2. Search for "Nebi Chat"
  3. Click Install, then Enable

๐Ÿ”ง Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder nebi-chat in your vault's .obsidian/plugins/ directory
  3. Copy the three files into that folder
  4. Enable the plugin in Settings โ†’ Community Plugins

โš™๏ธ Configuration

Settings

  1. Open Settings โ†’ Nebi Chat
  2. Enter an API key for at least one provider (see free options below)
  3. Select a provider and model from the dropdowns in the chat sidebar

๐ŸŒ Free API Providers

ProviderFree TierGet API Key
Google GeminiGenerous free quotaai.google.dev
Groq30 RPM, 250 RPDconsole.groq.com
CerebrasFree tier availablecloud.cerebras.ai
OpenRouterMany free modelsopenrouter.ai
OllamaUnlimited (local)ollama.ai

๐Ÿ’ณ No credit card is required for any of the cloud providers.


๐Ÿ“– Usage

  1. ๐Ÿ’ฌ Click the chat icon in the ribbon bar, or use the command palette
  2. โœ๏ธ Type your message and press Enter
  3. ๐Ÿ”„ Switch providers with the dropdown menus
  4. โš™๏ธ Adjust temperature and max tokens in Settings โ†’ Nebi Chat

๐ŸŽฏ Commands

CommandDescription
Open Nebi ChatOpens the chat sidebar
Clear Nebi Chat HistoryClears all messages
Reload Nebi ChatReloads settings without restarting Obsidian

๐Ÿค Contributing

Contributions are welcome! Here's how:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ› ๏ธ Development Setup

git clone https://github.com/Doffy4102/nebi-chat.git
cd nebi-chat
npm install
npm run dev     # Watch mode with hot reload
npm run build   # Production build

๐Ÿ“ Project Structure

src/
โ”œโ”€โ”€ main.ts                  # Plugin entry point
โ”œโ”€โ”€ types.ts                 # Data models and interfaces
โ”œโ”€โ”€ icon-svg.ts              # Custom SVG icon constant
โ”œโ”€โ”€ views/
โ”‚   โ””โ”€โ”€ ChatView.ts          # Main chat sidebar view
โ”œโ”€โ”€ ui/
โ”‚   โ”œโ”€โ”€ ChatInput.ts         # Message input area
โ”‚   โ”œโ”€โ”€ ChatMessage.ts       # Message bubble renderer
โ”‚   โ”œโ”€โ”€ ConfirmModal.ts      # Reusable confirmation dialog
โ”‚   โ””โ”€โ”€ ProviderSelector.ts  # Provider/model dropdowns
โ”œโ”€โ”€ services/
โ”‚   โ”œโ”€โ”€ ProviderManager.ts   # Provider orchestration
โ”‚   โ”œโ”€โ”€ StreamingParser.ts   # SSE stream parser
โ”‚   โ””โ”€โ”€ providers/
โ”‚       โ”œโ”€โ”€ BaseProvider.ts         # Base provider class
โ”‚       โ”œโ”€โ”€ GeminiProvider.ts       # Google Gemini
โ”‚       โ”œโ”€โ”€ GroqProvider.ts         # Groq
โ”‚       โ”œโ”€โ”€ CerebrasProvider.ts     # Cerebras
โ”‚       โ”œโ”€โ”€ OpenRouterProvider.ts   # OpenRouter
โ”‚       โ””โ”€โ”€ OllamaProvider.ts       # Ollama (local)
โ””โ”€โ”€ settings/
    โ”œโ”€โ”€ PluginSettings.ts    # Settings persistence
    โ””โ”€โ”€ AIChatSettingTab.ts  # Settings UI

๐Ÿ”’ Privacy

  • ๐Ÿ”‘ API keys are stored locally in your vault's data.json โ€” never sent anywhere except the provider you configure
  • ๐Ÿš€ Messages are sent directly from your device to the chosen AI provider
  • ๐Ÿ›ก๏ธ No data is collected, stored, or transmitted by the plugin itself
  • ๐Ÿ“‹ Each provider's usage is subject to their respective terms of service

๐Ÿ“„ License

MIT ยฉ doffy

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.