正在加载视频...

视频加载失败

I added native sandbox support to @OpenCode. By adding one line to your config, you get: - @Daytonaio cloud sandboxes - Automatic git tracking of every change - Live web deployments for vibe coded apps

32,546 次观看 • 9 个月前 •via X (Twitter)

28 条评论

James Murdza 的头像
James Murdza9 个月前

Instructions to add it to your project:

AriesTheCoder 的头像
AriesTheCoder9 个月前

@opencode @daytonaio You should try building a real app with this lol

Esteban 的头像
Esteban9 个月前

@opencode @daytonaio Maybe you will be interested in checking this out: ;)

pyk 的头像
pyk9 个月前

@opencode @daytonaio hell yeah thanks for building this bro

James Murdza 的头像
James Murdza9 个月前

@opencode @daytonaio Sure, it was super fun to make.

gianni 的头像
gianni9 个月前

@opencode @daytonaio this is awesome

James Murdza 的头像
James Murdza9 个月前

@opencode @daytonaio Thank you!

chrissi 的头像
chrissi9 个月前

@opencode @daytonaio will the sandbox have my local .env.local secrets?

James Murdza 的头像
James Murdza9 个月前

@opencode @daytonaio These files won't be uploaded as long as they are ignored by git. If you want the agent to have them, you could manually pass them to the agent.

chrissi 的头像
chrissi9 个月前

@opencode @daytonaio is the focus here more on solely vibe coded apps? because for my use cases, i would need to have access to the db available for example or other api keys or can i add them to my org, so any sandbox will have them?

James Murdza 的头像
James Murdza9 个月前

@opencode @daytonaio I also want to use it for serious apps! Based on your feedback, I'm thinking of passing variables in .env.opencode to the sandbox. What do you think?

chrissi 的头像
chrissi9 个月前

@opencode @daytonaio for me, my dev secrets aren't so sensible since i don't use production envs (mostly) it would make sense to be able to configure it and maybe use a separate env file as you pointed out! would be very cool to have

James Murdza 的头像
James Murdza9 个月前

@opencode @daytonaio OK, I will implement this. Thank you for giving me the idea!

John 的头像
John9 个月前

@opencode @daytonaio @daytonaio is the truth too. Great support.

United Records 的头像
United Records9 个月前

@opencode @daytonaio Interesting

Joshua Poddoku 的头像
Joshua Poddoku9 个月前

@opencode @daytonaio Sandboxing with auto git tracking is neat, yet the 15 minute idle pause might pressure quick commits and break flow for slower explorations

James Murdza 的头像
James Murdza9 个月前

@opencode @daytonaio It won't change your workflow at all! The paused sandbox will resume automatically as soon as you try to use it again.

pooria 的头像
pooria9 个月前

@opencode @daytonaio @jamesmurdza Q: Does this we can build a lovable-like UI that uses opencode and Daytona for live previews?

James Murdza 的头像
James Murdza9 个月前

@opencode @daytonaio You can! Check out these guides for example code:

Jagjeevan 的头像
Jagjeevan9 个月前

@opencode @daytonaio bro is cracked as f*uk

Logic Trail Blaze 的头像
Logic Trail Blaze9 个月前

@opencode @daytonaio Do you have to delete the opencode session for the @daytonaio usage charges to stop?

James Murdza 的头像
James Murdza9 个月前

@opencode @daytonaio If a session has no activity for 15 minutes it will automatically pause the sandbox and you will only be charged for storage. You can also delete the OpenCode session to permanently delete the sandbox.

Mike Mickelson 的头像
Mike Mickelson9 个月前

@opencode @daytonaio one line to your config. thats the magic phrase. every dev tool that wins makes the hard thing one line. sandbox + git tracking + live deploy is a stack nobody had 6 months ago.

Donny Li 的头像
Donny Li9 个月前

@opencode @daytonaio Sandboxing + auto git tracking is exactly what makes agentic coding feel safe enough to use daily. Love the Daytonaio integration - do you also snapshot deps/env (lockfiles, toolchain) so reruns are reproducible?

James Murdza 的头像
James Murdza9 个月前

@opencode @daytonaio Each OpenCode session is a reproducible development environment created from your Git repository.

Eamon 的头像
Eamon9 个月前

@opencode @daytonaio Just curious, why would one use a paid service like Daytonaio and not something like a local docker instance? What made you choose Daytonaio?

Ameya 的头像
Ameya9 个月前

@opencode @daytonaio light mode dawg pls

Pranav Bobde 的头像
Pranav Bobde9 个月前

@opencode @daytonaio @davis7

相关视频