diff --git a/_posts/2024-05-02-browser.md b/_posts/2024-05-02-browser.md new file mode 100644 index 000000000..9362a4c5e --- /dev/null +++ b/_posts/2024-05-02-browser.md @@ -0,0 +1,22 @@ +--- +title: AI pair programming in your browser +excerpt: Aider has an experimental browser UI, allowing you to collaborate with LLMs on code in your local git repo. +highlight_image: /assets/browser.jpg +--- +# AI pair programming in your browser + + + +Aider is now also AI pair programming in your browser! Use the `--browser` switch to launch am experimental browser based version of aider. + +``` +pip install aider-chat + +export OPENAI_API_KEY= # Mac/Linux +setx OPENAI_API_KEY # Windows + +aider --browser +``` diff --git a/aider/gui.py b/aider/gui.py index fa4e2d645..acf99532c 100755 --- a/aider/gui.py +++ b/aider/gui.py @@ -295,7 +295,7 @@ class GUI: # stuff a bunch of vertical whitespace at the top # to get all the chat text to the bottom - self.messages.container(height=300, border=False) + # self.messages.container(height=300, border=False) with self.messages: for msg in self.state.messages: diff --git a/assets/aider-browser-social.mp4 b/assets/aider-browser-social.mp4 new file mode 100644 index 000000000..84097626a Binary files /dev/null and b/assets/aider-browser-social.mp4 differ diff --git a/assets/browser.jpg b/assets/browser.jpg new file mode 100644 index 000000000..b4a8c3b6b Binary files /dev/null and b/assets/browser.jpg differ