Discover and explore top open-source AI tools and projects—updated daily.
svermeulenNeovim plugin for generating colorschemes from text prompts using OpenAI
Top 85.1% on SourcePulse
This Neovim plugin generates custom color schemes from text prompts using OpenAI's GPT API. It's designed for Neovim users who want to easily create unique, personalized editor aesthetics without manual color definition, offering a dynamic alternative to static color schemes.
How It Works
The plugin leverages OpenAI's GPT API to interpret a user-provided text prompt and translate it into a color palette suitable for Neovim. It then applies this palette to the editor's highlight groups. The approach allows for creative, natural language-driven color scheme generation, moving beyond predefined palettes.
Quick Start & Requirements
use { "svermeulen/text-to-colorscheme.nvim" } (packer.nvim)openai_api_key in require('text-to-colorscheme').setup().vim.cmd([[colorscheme text-to-colorscheme]]), generate with :T2CGenerate <prompt>.Highlighted Details
Maintenance & Community
The project is actively maintained by svermeulen. Further community interaction details are not explicitly provided in the README.
Licensing & Compatibility
The project is licensed under the MIT License, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
The plugin currently only supports dark themes. The quality of generated schemes is dependent on the OpenAI API and the descriptiveness of the text prompt. Generated themes may require manual tweaking for optimal results.
1 year ago
Inactive