Files
cli/dev/website/_posts/2024-05-02-browser.md

1.5 KiB

title, excerpt, highlight_image
title excerpt highlight_image
Dev in your browser Dev has an experimental browser UI, allowing you to collaborate with LLMs on code in your local git repo. /assets/browser.jpg

{% if page.date %}

{{ page.date | date: "%B %d, %Y" }}

{% endif %}

Dev in your browser

<style> .video-container { position: relative; padding-bottom: 101.89%; /* 1080 / 1060 = 1.0189 */ height: 0; overflow: hidden; } .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style>

Use dev's new experimental browser UI to collaborate with LLMs to edit code in your local git repo. Dev will directly edit the code in your local source files, and git commit the changes with sensible commit messages. You can start a new project or work with an existing git repo. Dev works well with GPT 3.5, GPT-4, GPT-4 Turbo with Vision, and Claude 3 Opus. It also supports connecting to almost any LLM.

Use the --browser switch to launch the browser version of dev:

python -m pip install -U dev-chat

export OPENAI_API_KEY=<key> # Mac/Linux
setx   OPENAI_API_KEY <key> # Windows, restart shell after setx

dev --browser