Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a demo with no build requirement #19

Closed
AwokeKnowing opened this issue Dec 16, 2024 · 5 comments
Closed

add a demo with no build requirement #19

AwokeKnowing opened this issue Dec 16, 2024 · 5 comments

Comments

@AwokeKnowing
Copy link

Description of the feature request:

Nothing here inherently requires any build at all. we could simply host a folder, and be done, with any code edits directly applying just by saving the file.

There is no need for typescript/tsx/scss/react. They are not making the project shorter, easier, or anything. They are just a legacy chain of dependencies forcing a 'build' for no reason.

If you really want fancy 'components' you can use a library that is based on modern HTMLElement components which don't need a build.

What problem are you trying to solve with this feature?

the problem is this app completely obscures the absolute simplicity of using the google api with a crufty old legacy buildchain. The front end in particular should just be plain es modules and at most 3rd party component library that doesn't require build could be included. As it is, it requires extra dependency and knowlege of React, Typescript, Scss, none of which are actual native web technology and none of which are providing significant value. Sure a React/Typescript app may be populare, but a Javascript app is more appropriate as a demo and starting point for a wider variety of end results.

Any other information you'd like to share?

No response

@hapticdata
Copy link
Collaborator

Hi!
I understand the appeal of development using normal javascript modules, no build system and using web components; in fact I did release a small project for Gemini built that way - right here, usable here in AI Studio.

For this particular project, we determined that react/typescript/npm was the approach we wanted to move forward with. If you would like to build your own Multimodal Live API - Web Console without any of this, I would encourage you to do so and it would be really cool to see it!

cheers!

@ViaAnthroposBenevolentia

@AwokeKnowing, YAAYYY!!! Here you go: I did it!

@ViaAnthroposBenevolentia

@hapticdata, Sorry, can I ask a question? I implemented this in vanilla js but used this repository as a reference. I hope that I don't have to change my MIT license to APACHE 2.0 and then add a massive license chunks in every file as in your repo?

@peteryxu
Copy link

I did it!

this is amazing: cloned your repo, and ran it without any issue in 20 sec -:)

@arthurwolf
Copy link

arthurwolf commented Feb 4, 2025

I so wish there was a simpler API for this (this being live/multimodal AI at google), I played with another "live voice" thing, and it's one import, two lines of code, and you're good. Why so complex, why so much code...

import { UltravoxSession } from 'ultravox-client';

const session = new UltravoxSession();
session.joinCall('wss://your-call-join-url');

poof, I'm cooking ... why does it have to be this complicated...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants