roblourens / vscode-dall-house

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DALL · House: Dall·E-powered toys for VS Code

This is an extension for the sophisticated, attractive, and intelligent user who wants to look at cool pictures while they use VS Code.

It has three features: a GitHub Copilot Chat @dall-e participant, a clock, and a picture generated from your current git branch name.

Setup

  1. Install extension and log into GitHub Copilot Chat.
  2. Invoke @dall-e with an image generation prompt.
  3. Enter your own OpenAI API key when prompted
    1. Run "Clear API Key" if you need to change it
  4. See cool picture!

To enable the clock and branch image, see the dallHouse.*.enabled settings.

Also be sure to configure your API spending limit. DALL·House tries to avoid making too many API requests. It will only update the image when its view is visible, and only when you have been opening or editing files- ie when you are actively using the VS Code window. By default, the clock only updates every 3 minutes, see dallHouse.clock.updatePeriod to change this. But you are responsible for monitoring your API usage and paying Sam.

Tip: See the generated prompts in the "Dall Clock Log" output channel or by hovering the image.

Chat

Branch Critter

This is designed to work with VS Code's randomly generated branch names that pair a random adjective with a random animal. But it will pick up any branch name that fits the format foo-bar or rob/foo-bar.

Dall Clock

Be sure to configure dallHouse.clock.location for maximum personalization. DALL·Clock will generate images based in that location.

About


Languages

Language:TypeScript 93.3%Language:JavaScript 6.1%Language:CSS 0.6%