cameronking4 / VapiBlocks

Vapi Blocks is a library of components & api snips to copy and paste into React applications built with TailwindCSS for integrating Voice AI into your application. Vapi let's you develop voice AI fast, Vapi Blocks helps you implement faster.
https://vapiblocks.com
MIT License
19 stars 2 forks source link

no issue #2

Open admineral opened 1 month ago

admineral commented 1 month ago

haha the coding assistant with voice and codesandbox is very nice!

cameronking4 commented 1 month ago

Thanks! Hoping to flush it more

admineral commented 1 month ago

I’ve been trying to send a photo of CodeSandbox render to the AI for feedback, but the photo always shows up as white. Maybe you know a trick ?

cameronking4 commented 1 month ago

Could you share screenshot or steps to repro?

It is a little buggy.

admineral commented 1 month ago

Sorry for the misunderstanding. I'm working on a similar project using GPT and CodeSandbox, not your repository.

In my project, I've been experimenting with different React libraries to take screenshots. The goal is to create a feedback loop where I can send a screenshot of the code preview, generated by the AI, back to the model for feedback.

However, I'm facing an issue: when I try to capture a screenshot, the iframe showing the rendered preview is always blank (white).

The project I'm working on is called "Reactor" and it's available on my GitHub profile, though I havent pushed the screenshot experient version. Maybe you can help with this?

cameronking4 commented 4 weeks ago

Oh I see. Puppeteer is pretty good for taking web screenshot programmatically

cameronking4 commented 4 weeks ago

Checkout my repo sketch2app and scroll up to previous commits, it demonstrates how to dynamically show react apps / react native apps with codesandbox rendered inside the app. It uses a package called sandpack which lets you pass json full of code.

admineral commented 3 weeks ago

I'm facing an issue: when I try to capture a screenshot, the iframe showing the rendered preview is always blank (white).