Skip to content

Commit

Permalink
Adds Dev Container Configuration (#695)
Browse files Browse the repository at this point in the history
* Adds `devcontainer.json` file

* Adds `welcome.txt` file

Shows a welcome text for the user in the first run when they open up the
terminal
See the 'postCreateCommand' in the devcontainer.json file to better
understand what is happening

* Splits up `postCreateCommand` in `devcontainer.json`

Pushes the First Run Notice command to 'updateContentCommand`

* Adds GitHub Codespaces badge to `README` files

* Updates extension list in `devcontainer.json`

Removes unnecessary extensions and rearranges the relevant ones

* Uses `<kbd>` tags for keyboard shortcuts

Uses '⌘' for macOS Command instead of 'Cmd'

* Adds the `<kbd>` tag replacement for all other README files

Uses '⌘' for macOS Command instead of 'Cmd'
  • Loading branch information
cr2007 authored Jan 25, 2024
1 parent bd980a8 commit 431cff5
Show file tree
Hide file tree
Showing 12 changed files with 89 additions and 14 deletions.
50 changes: 50 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"name": "ChatALL Dev Container",
"image": "mcr.microsoft.com/devcontainers/javascript-node",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "latest"
}
},
"customizations": {
"vscode": {
"extensions": [
"eamodio.gitlens",
"mhutchie.git-graph",
"EditorConfig.EditorConfig",
"vscode-icons-team.vscode-icons",
"aaron-bond.better-comments",
"VisualStudioExptTeam.vscodeintellicode",
"esbenp.prettier-vscode",
"yzhang.markdown-all-in-one",
"bierner.github-markdown-preview",
"dotenv.dotenv-vscode",
// HTML, CSS
"ecmel.vscode-html-css",
"pranaygp.vscode-css-peek",
"Zignd.html-css-class-completion",
"formulahendry.auto-rename-tag",
// JavaScript
"xabikos.JavaScriptSnippets",
"meganrogge.template-string-converter",
"dbaeumer.vscode-eslint",
// Node.js
"ambar.bundle-size",
"steoates.autoimport",
"BriteSnow.vscode-toggle-quotes",
"mgmcdermott.vscode-language-babel",
"Vue.volar",
"cssho.vscode-svgviewer"
]
}
},
"updateContentCommand": "sudo cp .devcontainer/welcome.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt",
"postCreateCommand": "npm install",
"forwardPorts": [8080],
"portsAttributes": {
"8080": {
"label": "ChatALL App",
"onAutoForward": "openPreview"
}
}
}
5 changes: 5 additions & 0 deletions .devcontainer/welcome.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
👋 Welcome to ChatALL! You are running on a custom image defined in the devcontainer.json.

📝 Edit away, then run the build command 'npm run electron:serve' to see the code running in the browser

📖 Head over to the ./README.md file to know more
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[Deutsch](README_DE-DE.md) | English | [Español](README_ES-ES.md) | [Français](README_FR-FR.md) | [Italian](README_IT-IT.md) | [日本語](README_JA-JP.md) | [한국어](README_KO-KR.md) | [Русский](README_RU-RU.md) | [Tiếng Việt](README_VI-VN.md) | [简体中文](README_ZH-CN.md)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## Screenshots
Expand Down Expand Up @@ -66,7 +68,7 @@ More is coming. Upvote your favorite bots in [these issues](https://github.com/s
- Switch between one, two, or three-column view
- Auto update to the latest version
- Dark mode (contributed by @tanchekwei)
- Short keys. Press `Ctrl + /` to know all of them (contributed by @tanchekwei)
- Short keys. Press <kbd>Ctrl</kbd> + <kbd>/</kbd> to know all of them (contributed by @tanchekwei)
- Multiple chats (contributed by @tanchekwei)
- Proxy setting (contributed by @msaong)
- Prompt management (contributed by @tanchekwei)
Expand Down Expand Up @@ -123,7 +125,7 @@ Download the .AppImage file, make it executable, and enjoy the click-to-run expe

If you encounter any problems while using ChatALL, you can try the following methods to resolve them:

1. **Refresh** - press `Ctrl + R` or `Cmd + R`.
1. **Refresh** - press <kbd>Ctrl</kbd> + <kbd>R</kbd> or <kbd>⌘</kbd> + <kbd>R</kbd>.
2. **Restart** - exit ChatALL and run it again.
3. **Re-login** - click the settings button in the upper right corner, then click the corresponding login/logout link to relogin the website.
4. **Create a new chat** - click the `New Chat` button and send prompt again.
Expand Down
2 changes: 2 additions & 0 deletions README_DE-DE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

Deutsch | [English](README.md) | [Español](README_ES-ES.md) | [Français](README_FR-FR.md) | [Italian](README_IT-IT.md) | [日本語](README_JA-JP.md) | [한국어](README_KO-KR.md) | [Русский](README_RU-RU.md) | [Tiếng Việt](README_VI-VN.md) | [简体中文](README_ZH-CN.md)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## Bilder
Expand Down
6 changes: 4 additions & 2 deletions README_ES-ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[Alemán](README_DE-DE.md) | Español | [English](README_ES-ES.md) | [Français](README_FR-FR.md) | [Italiano](README_IT-IT.md) | [日本語](README_JA-JP.md) | [한국어](README_KO-KR.md) | [Русский](README_RU-RU.md) | [Tiếng Việt](README_VI-VN.md) | [简体中文](README_ZH-CN.md)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## Capturas de pantalla
Expand Down Expand Up @@ -61,7 +63,7 @@ Más está por venir. Vota a tus bots favoritos en [estos temas](https://github.
- Cambiar entre una vista de una, dos o tres columnas
- Actualización automática a la última versión
- Modo oscuro (contribución de @tanchekwei)
- Teclas cortas. Pulsa `Ctrl + /` para conocerlos todos (contribución de @tanchekwei)
- Teclas cortas. Pulsa <kbd>Ctrl</kbd> + <kbd>/</kbd> para conocerlos todos (contribución de @tanchekwei)
- Múltiples chats (contribución de @tanchekwei)
- Configuración de proxy (contribución de @msaong)
- Gestión rápida (contribución de @tanchekwei)
Expand Down Expand Up @@ -110,7 +112,7 @@ Descargue el archivo . AppImage, hágalo ejecutable y disfrute de la experiencia

Si encuentra algún problema al usar ChatALL, puede probar los siguientes métodos para resolverlo:

1. **Actualizar** : pulse `Ctrl + R` o `Cmd + R`.
1. **Actualizar** : pulse <kbd>Ctrl</kbd> + <kbd>R</kbd> o <kbd>⌘</kbd> + <kbd>R</kbd>.
2. **Reiniciar** : salga de ChatALL y ejecútelo de nuevo.
3. **Volver a iniciar sesión: haga clic en el botón de configuración en la ** esquina superior derecha, luego haga clic en el enlace de inicio / cierre de sesión correspondiente en la ventana emergente para iniciar sesión nuevamente en el sitio web.
4. **Borrar todos los mensajes** : haga clic en el botón de la escoba en la esquina superior derecha.
Expand Down
2 changes: 2 additions & 0 deletions README_FR-FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[Deutsch](README_DE-DE.md) | [English](README.md) | [Español](README_ES-ES.md) | Français | [Italian](README_IT-IT.md) | [日本語](README_JA-JP.md) | [한국어](README_KO-KR.md) | [Русский](README_RU-RU.md) | [Tiếng Việt](README_VI-VN.md) | [简体中文](README_ZH-CN.md)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## Captures d'écran
Expand Down
8 changes: 5 additions & 3 deletions README_IT-IT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[Deutsch](README_DE-DE.md) | [English](README.md) | [Español](README_ES-ES.md) | [Français](README_FR-FR.md) | Italian | [日本語](README_JA-JP.md) | [한국어](README_KO-KR.md) | [Русский](README_RU-RU.md) | [Tiếng Việt](README_VI-VN.md) | [简体中文](README_ZH-CN.md)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## Screenshots
Expand Down Expand Up @@ -56,7 +58,7 @@ Altri sono in arrivo. Vota i tuoi bot preferiti in [questi problemi](https://git
- Passa tra la vista a una, due o tre colonne.
- Aggiornamento automatico all'ultima versione.
- Modalità scura (contribuita da @tanchekwei).
- Scorciatoie da tastiera. Premi `Ctrl + /` per conoscerle tutte (contribuite da @tanchekwei).
- Scorciatoie da tastiera. Premi <kbd>Ctrl</kbd> + <kbd>/</kbd> per conoscerle tutte (contribuite da @tanchekwei).
- Chat multiple (contribuite da @tanchekwei).
- Supporto per l'impostazione del proxy (contribuito da @msaong).
- Supporto per diverse lingue (cinese, inglese, tedesco, francese, russo, vietnamita, coreano, giapponese, spagnolo, italiano).
Expand Down Expand Up @@ -132,7 +134,7 @@ Altri sono in arrivo. Vota i tuoi bot preferiti in [questi problemi](https://git
- Passa tra la vista a una, due o tre colonne.
- Aggiornamento automatico all'ultima versione.
- Modalità scura (contribuita da @tanchekwei).
- Scorciatoie da tastiera. Premi `Ctrl + /` per conoscerle tutte (contribuite da @tanchekwei).
- Scorciatoie da tastiera. Premi <kbd>Ctrl</kbd> + <kbd>/</kbd> per conoscerle tutte (contribuite da @tanchekwei).
- Chat multiple (contribuite da @tanchekwei).
- Supporto per l'impostazione del proxy (contribuito da @msaong).
- Supporto per diverse lingue (cinese, inglese, tedesco, francese, russo, vietnamita, coreano, giapponese, spagnolo, italiano).
Expand Down Expand Up @@ -180,7 +182,7 @@ Scarica il file .AppImage, rendilo eseguibile e goditi l'esperienza del clic.

If you encounter any problems while using ChatALL, you can try the following methods to resolve them:

1. **Ricarica** - premi `Ctrl + R` o `Cmd + R`.
1. **Ricarica** - premi <kbd>Ctrl</kbd> + <kbd>R</kbd> o <kbd>⌘</kbd> + <kbd>R</kbd>.
2. **Riavvia** - esci da ChatALL e avvialo nuovamente.
3. **Rilogin** - clicca sul pulsante delle impostazioni nell'angolo in alto a destra, quindi clicca sul link di accesso/uscita corrispondente nella finestra popup per accedere nuovamente al sito web.
4. **Cancella tutti i messaggi** - clicca sul pulsante della scopa nell'angolo in alto a destra.
Expand Down
6 changes: 4 additions & 2 deletions README_JA-JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[Deutsch](README_DE-DE.md) | [English](README.md) | [Español](README_ES-ES.md) | [Français](README_FR-FR.md) | [Italian](README_IT-IT.md) | 日本語 | [한국어](README_KO-KR.md) | [Русский](README_RU-RU.md) | [Tiếng Việt](README_VI-VN.md) | [简体中文](README_ZH-CN.md)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## 画像
Expand Down Expand Up @@ -56,7 +58,7 @@ ChatALLのユーザーはこんな感じ:
- 回答を1列~3列の表示切替
- 最新バージョンへの自動通知と自動アップデート
- ダークモード対応(提供者 @tanchekwei
- `Ctrl + /` または `Cmd + /` で全てのショートカットキーが表示 (提供者 @tanchekwei)
- <kbd>Ctrl</kbd> + <kbd>/</kbd> または `Cmd + /` で全てのショートカットキーが表示 (提供者 @tanchekwei)
- マルチチャット対応 (提供者 @tanchekwei)
- プロキシ設定をサポート (提供者 @msaong)
- 対応言語:日本語、英語、中国語、スペイン語、ドイツ語、フランス語、ロシア語、ベトナム語、韓国語
Expand Down Expand Up @@ -104,7 +106,7 @@ brew install --cask chatall

ChatALLをご利用中に問題が発生した場合は、以下の解決策をお試しください。:

1. **再読み込み** - `Ctrl + R` または `Cmd + R` を押す。
1. **再読み込み** - <kbd>Ctrl</kbd> + <kbd>R</kbd> または <kbd>⌘</kbd> + <kbd>R</kbd> を押す。
2. **アプリを再起動** - ChatALLを終了し、再度実行する。
3. **再ログイン** - 右上の設定ボタンをクリックし、各AIの `ログイン/ログアウト`をクリックして、サイトに再ログインします。
4. **すべてのメッセージを削除する** - 右上のほうきボタンをクリックし"はい"をクリックする。
Expand Down
6 changes: 4 additions & 2 deletions README_KO-KR.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[Deutsch](README_DE-DE.md) | [English](README.md) | [Español](README_ES-ES.md) | [Français](README_FR-FR.md) | [Italian](README_IT-IT.md) | [日本語](README_JA-JP.md) | 한국어 | [Русский](README_RU-RU.md) | [Tiếng Việt](README_VI-VN.md) | [简体中文](README_ZH-CN.md)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## 스크린샷
Expand Down Expand Up @@ -65,7 +67,7 @@ ChatALL의 일반적인 사용자는 다음과 같습니다:
- 1열, 2열 또는 3열 보기 간 전환
- 최신 버전으로 자동 업데이트
- 어두운 모드 (@tanchekwei 기여)
- 단축키. `Ctrl + /`를 누르면 모든 단축키를 확인할 수 있습니다 (@tanchekwei 기여).
- 단축키. <kbd>Ctrl</kbd> + <kbd>/</kbd>를 누르면 모든 단축키를 확인할 수 있습니다 (@tanchekwei 기여).
- 다중 채팅 (@tancheckwei 기여)
- 프록시 설정 지원 (@msaong에서 제공)
- 신속한 관리 (contributed by @tanchekwei)
Expand Down Expand Up @@ -122,7 +124,7 @@ brew install --cask chatall

ChatALL을 사용하는 동안 문제가 발생하면 다음 방법을 사용하여 문제를 해결할 수 있습니다:

1. **새로 고침** - `Ctrl + R` 또는 `Cmd + R` 을 누릅니다.
1. **새로 고침** - <kbd>Ctrl</kbd> + <kbd>R</kbd> 또는 <kbd>⌘</kbd> + <kbd>R</kbd> 을 누릅니다.
2. **다시 시작** - ChatALL을 종료하고 다시 실행합니다.
3. **다시 로그인** - 오른쪽 상단 모서리의 설정 버튼을 클릭한 다음 팝업 창에서 해당 로그인/로그아웃 링크를 클릭하여 웹 사이트에 다시 로그인합니다.
4. **새 채팅 만들기** - `새 채팅` 버튼을 클릭한 후 프롬프트를 다시 보냅니다.
Expand Down
4 changes: 3 additions & 1 deletion README_RU-RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[Deutsch](README_DE-DE.md) | [English](README.md) | [Español](README_ES-ES.md) | [Français](README_FR-FR.md) | [Italian](README_IT-IT.md) | [日本語](README_JA-JP.md) | [한국어](README_KO-KR.md) | Русский | [Tiếng Việt](README_VI-VN.md) | [简体中文](README_ZH-CN.md)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## Скриншоты
Expand Down Expand Up @@ -113,7 +115,7 @@ brew install --cask chatall

Если вы столкнетесь с какими-либо проблемами при использовании ChatALL, вы можете попробовать следующие методы их устранения:

1. **Обновить** - нажмите `Ctrl + R` или `Cmd + R`.
1. **Обновить** - нажмите <kbd>Ctrl</kbd> + <kbd>R</kbd> или <kbd>⌘</kbd> + <kbd>R</kbd>.
2. **Перезапустить** - выйдите из ChatALL и запустите его снова.
3. **Повторный вход в систему** - нажмите кнопку настройки в правом верхнем углу, затем перейдите по соответствующей ссылке входа/выхода из системы, чтобы повторно войти на вебсайт.
4. **Создайте новый чат** - нажмите кнопку "Создать чат" и отправьте запрос еще раз.
Expand Down
2 changes: 2 additions & 0 deletions README_VI-VN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[Deutsch](README_DE-DE.md) | [English](README.md) | [Español](README_ES-ES.md) | [Français](README_FR-FR.md) | [Italian](README_IT-IT.md) | [日本語](README_JA-JP.md) | [한국어](README_KO-KR.md) | [Русский](README_RU-RU.md) | Tiếng Việt | [简体中文](README_ZH-CN.md)

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## Ảnh chụp màn hình
Expand Down
6 changes: 4 additions & 2 deletions README_ZH-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[Deutsch](README_DE-DE.md) | [English](README.md) | [Español](README_ES-ES.md) | [Français](README_FR-FR.md) | [Italian](README_IT-IT.md) | [日本語](README_JA-JP.md) | [한국어](README_KO-KR.md) | [Русский](README_RU-RU.md) | [Tiếng Việt](README_VI-VN.md) | 简体中文

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sunner/ChatALL)

</div>

## 屏幕截图
Expand Down Expand Up @@ -65,7 +67,7 @@ ChatALL 的典型用户是:
- 在一列、两列或三列视图之间切换
- 自动更新到最新版
- 夜间模式(由 @tanchekwei 贡献)
- 快捷键。按 `Ctrl + /` 可以看到所有快捷键(由 @tanchekwei 贡献)
- 快捷键。按 <kbd>Ctrl</kbd> + <kbd>/</kbd> 可以看到所有快捷键(由 @tanchekwei 贡献)
- 多对话窗口(由 @tanchekwei 贡献)
- 支持设置代理(由 @msaong 贡献)
- 提示词管理(由 @tanchekwei 贡献)
Expand Down Expand Up @@ -122,7 +124,7 @@ brew install --cask chatall

使用中如果遇到问题,可以尝试如下方法解决:

1. **刷新** - 按下 `Ctrl + R``Cmd + R`
1. **刷新** - 按下 <kbd>Ctrl</kbd> + <kbd>R</kbd><kbd>⌘</kbd> + <kbd>R</kbd>
2. **重启** - 退出 ChatALL,再重新运行。
3. **重新登录** - 点击右上角的设置按钮,在弹出的窗口中点击对应的登入/登出链接,重新登录网站。
4. **创建新对话** - 创建一个新对话,再发送提示词。
Expand Down

1 comment on commit 431cff5

@vercel
Copy link

@vercel vercel bot commented on 431cff5 Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

chatall – ./

chatall-llm.vercel.app
chatall-git-main-sunner.vercel.app
chatall-sunner.vercel.app

Please sign in to comment.