Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
758faf8
convert to webrtc
kwhinnery-openai Dec 19, 2024
fec3669
Update README.md
kwhinnery-openai Dec 19, 2024
fff4776
Merge pull request #496 from openai/webrtc
kwhinnery-openai Dec 19, 2024
d872e76
Update README.md
kwhinnery-openai Dec 19, 2024
ca068d4
chore: use env file.
Jan 2, 2025
66baad8
Merge pull request #503 from thorwebdev/thor/fastify-env-file
kwhinnery-openai Jan 2, 2025
79340b4
Update package-lock.json
kwhinnery-openai Jan 2, 2025
a62a459
stop audio capture when session closed
abupeiyong Jan 13, 2025
7113527
Update README.md
SokiKawashima Jan 31, 2025
2048683
remove outdated reference to Astro and unused Astro files
kwhinnery-openai Feb 1, 2025
f4529d3
Merge pull request #520 from openai/cleanup-2025-02-01
kwhinnery-openai Feb 1, 2025
10b9bcb
Merge branch 'main' into main
kwhinnery-openai Feb 1, 2025
44e4100
Merge pull request #519 from SokiKawashima/main
kwhinnery-openai Feb 1, 2025
8b47863
Add initial Push To Talk logic
paulpv Feb 7, 2025
668b876
Hide ToolPanel by default (required making UI layout non-absolute)
paulpv Feb 8, 2025
fd299d9
Flip event arrows; client "up" to server, server "down" to client
paulpv Feb 8, 2025
cac2d0f
Pass model & voice from app to server session [ephemeral] token request
paulpv Feb 8, 2025
efdc383
Add Stop/Interrupt/Truncate button
paulpv Feb 9, 2025
de1fec8
Add "Clear Events" button
paulpv Feb 9, 2025
dabee92
Improve error handling/reporting
paulpv Feb 9, 2025
2b5991a
Set initial focus to text input
paulpv Feb 9, 2025
f1e8372
Improve `interruptAssistant()`; call it from `sendTextMessage(...)`
paulpv Feb 9, 2025
0063f9c
Fix original event timestamp bug
paulpv Feb 9, 2025
2f11c6f
Add field for OpenAI API Key; Client directly request ephemeral key
paulpv Feb 9, 2025
086996a
switch to express server with vite middleware
kwhinnery-openai Feb 9, 2025
ffcb5c3
Merge pull request #524 from openai/express
kwhinnery-openai Feb 9, 2025
c6e0086
Merge pull request #510 from abupeiyong/main
kwhinnery-openai Feb 9, 2025
a6b2611
formatting
kwhinnery-openai Feb 9, 2025
5092dba
Simplify to Client only; deploy to github.io
paulpv Feb 9, 2025
354cea2
Add dark/light theme; default to system preference
paulpv Feb 10, 2025
2cd46e6
Cherry pick of upstream c6e00860
paulpv Feb 11, 2025
da9556c
Merge remote-tracking branch 'openai/main'
paulpv Feb 11, 2025
9636d1b
Create pages-build-deployment.yml
paulpv Feb 11, 2025
65f16f6
Show OpenAI API key info when dangerousApiKey is empty
paulpv Feb 11, 2025
8426252
Update README.md
paulpv Feb 11, 2025
79cf26f
Create dependabot.yml
paulpv Feb 11, 2025
eae3d5d
Bump actions/configure-pages from 4 to 5
dependabot[bot] Feb 11, 2025
efa820c
Bump eslint from 9.20.0 to 9.20.1
dependabot[bot] Feb 11, 2025
268b7c4
Merge pull request #2 from swooby/dependabot/npm_and_yarn/eslint-9.20.1
paulpv Feb 11, 2025
acd680e
Merge pull request #1 from swooby/dependabot/github_actions/actions/c…
dependabot[bot] Feb 11, 2025
68ee10d
Bump globals from 15.14.0 to 16.0.0
dependabot[bot] Feb 24, 2025
b93c00d
Bump @tailwindcss/vite from 4.0.6 to 4.0.8
dependabot[bot] Feb 24, 2025
967973f
Merge pull request #3 from swooby/dependabot/npm_and_yarn/globals-16.0.0
dependabot[bot] Feb 27, 2025
d117f8f
Merge pull request #5 from swooby/dependabot/npm_and_yarn/tailwindcss…
dependabot[bot] Feb 27, 2025
68431f4
Bump eslint from 9.20.1 to 9.21.0
dependabot[bot] Feb 27, 2025
37e1637
Merge pull request #4 from swooby/dependabot/npm_and_yarn/eslint-9.21.0
dependabot[bot] Feb 27, 2025
9196ae2
Bump tailwindcss from 4.0.6 to 4.0.9
dependabot[bot] Feb 27, 2025
17331a9
Merge pull request #8 from swooby/dependabot/npm_and_yarn/tailwindcss…
dependabot[bot] Feb 27, 2025
bef08dd
Bump vite from 6.1.0 to 6.2.0
dependabot[bot] Feb 27, 2025
d03fdf1
Merge pull request #9 from swooby/dependabot/npm_and_yarn/vite-6.2.0
dependabot[bot] Feb 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .eslintrc.json

This file was deleted.

15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
51 changes: 51 additions & 0 deletions .github/workflows/pages-build-deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload dist folder
path: './client/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
40 changes: 16 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# build output
dist/

# dependencies
/node_modules
/.pnp
.pnp.js
node_modules/

# testing
/coverage

# production
/build
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# packaging
*.zip
*.tar.gz
*.tar
*.tgz
*.bla
# environment variables
.env
.env.production

# misc
# macOS-specific files
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# jetbrains setting folder
.idea/

.vite/
8 changes: 7 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": true
"singleQuote": false,
"trailingComma": "all",
"semi": true,
"quoteProps": "as-needed",
"arrowParens": "always",
"endOfLine": "auto",
"bracketSpacing": true
}
Loading