OpenAI-sublime-text  by yaroslavyaroslav

Sublime Text plugin for AI assistance

created 2 years ago
368 stars

Top 77.8% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This Sublime Text plugin provides AI-powered code assistance, similar to GitHub Copilot or Cursor, directly within the editor. It supports various OpenAI models (including GPT-4 variants) and open-source LLMs via Ollama or llama.cpp servers, catering to developers who want integrated AI capabilities without leaving their preferred IDE.

How It Works

The plugin integrates with LLM APIs, allowing users to send selected code snippets, entire files, or project-specific contexts to the AI for analysis and generation. It supports server-side streaming for real-time responses and offers "phantom" UI elements for non-disruptive inline feedback. Its flexibility in connecting to different LLM backends (OpenAI, Ollama, llama.cpp) is a key advantage.

Quick Start & Requirements

  • Install via Sublime Text Package Control: Package Control: Install Package -> OpenAI.
  • Note: Package Control updates are delayed; manual installation via cloning is recommended for the latest version.
  • Requirements: Sublime Text 4, llama.cpp or ollama installed, or an API key for remote LLM services.
  • Recommended complementary packages: MarkdownCodeExporter, MarkdownEditing.

Highlighted Details

  • Supports multiple LLM providers including OpenAI (GPT-4.5-preview, GPT-3.5-turbo), Ollama, and llama.cpp servers.
  • Features chat mode with project-specific history and settings, context expansion via file selection, and inline "phantom" responses.
  • Handles image input (PNG, JPG) via file paths or clipboard.
  • Supports proxy configuration and disabling advertisements.

Maintenance & Community

  • The project is actively developed, with a "5.0.0 release around the corner."
  • No specific community links (Discord/Slack) or notable contributors are mentioned in the README.

Licensing & Compatibility

  • The README does not explicitly state a license. The repository itself is not linked, preventing license verification.
  • Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

  • Package Control updates are significantly delayed, necessitating manual installation for the latest features.
  • Image handling is limited to PNG and JPG formats.
  • All code sent to OpenAI servers (unless using a custom provider) requires appropriate permissions.
Health Check
Last commit

3 weeks ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
3
Star History
63 stars in the last 90 days

Explore Similar Projects

Starred by Addy Osmani Addy Osmani(Engineering Leader on Google Chrome), Victor Taelin Victor Taelin(Author of Bend, Kind, HVM), and
1 more.

chatbox by chatboxai

0.3%
36k
Desktop client app for AI models/LLMs
created 2 years ago
updated 6 days ago
Feedback? Help us improve.