show the video on aider.chat

This commit is contained in:
Paul Gauthier 2024-08-27 13:08:21 -07:00
parent aae862f499
commit c2e9d01b12
2 changed files with 35 additions and 0 deletions

View file

@ -9,12 +9,23 @@ Start a new project or work with an existing git repo.
Aider works best with GPT-4o & Claude 3.5 Sonnet and can
[connect to almost any LLM](https://aider.chat/docs/llms.html).
<!-- SCREENCAST START -->
<p align="center">
<img
src="https://aider.chat/assets/screencast.svg"
alt="aider screencast"
>
</p>
<!-- SCREENCAST END -->
<!-- VIDEO START
<p align="center">
<video width="664" height="540" autoplay loop muted playsinline>
<source src="/assets/shell-cmds-small.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</p>
VIDEO END -->
<p align="center">
<a href="https://discord.gg/Tv2uQnR88V">

View file

@ -10,6 +10,19 @@ text = open("README.md").read()
text = text.replace('['*3 + 'cog', ' NOOP ')
text = text.replace('['*3 + 'end', ' NOOP ')
text = text.replace(']'*3, '')
# embedding these confuses the syntax highlighter while editing index.md
com_open = '<!' + '--'
com_close = '--' + '>'
# comment out the screencast
text = text.replace('SCREENCAST START ' + com_close, '')
text = text.replace(com_open + ' SCREENCAST END', '')
# uncomment the video
text = text.replace('VIDEO START', com_close)
text = text.replace('VIDEO END', com_open)
cog.out(text)
]]]-->
@ -23,12 +36,23 @@ Start a new project or work with an existing git repo.
Aider works best with GPT-4o & Claude 3.5 Sonnet and can
[connect to almost any LLM](https://aider.chat/docs/llms.html).
<!--
<p align="center">
<img
src="https://aider.chat/assets/screencast.svg"
alt="aider screencast"
>
</p>
-->
<!-- -->
<p align="center">
<video width="664" height="540" autoplay loop muted playsinline>
<source src="/assets/shell-cmds-small.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</p>
<!-- -->
<p align="center">
<a href="https://discord.gg/Tv2uQnR88V">