e2b-dev / fragments

Open-source Next.js template for building apps that are fully generated by AI. By E2B.
https://fragments.e2b.dev
Apache License 2.0
3.48k stars 455 forks source link

local setup #46

Closed volkancirik closed 2 months ago

volkancirik commented 2 months ago

Hello,

is it possible to run E2B locally and use that sandbox without using theE2B_API_KEY?

mishushakov commented 2 months ago

You should take a look at https://github.com/e2b-dev/infra for running E2B locally. Note that you may have to set some additional variables:

https://github.com/e2b-dev/E2B/blob/833e78726ac4c31b87776672f1f1cd40287804ab/packages/js-sdk/src/constants.ts#L5-L7

sammcj commented 2 months ago

I came to ask the same thing, looking at e2b's infra - it's pretty tightly coupled to running on GCP?

volkancirik commented 2 months ago

thanks!

mlejva commented 2 months ago

Hey @sammcj, yes for now. We're working on adding support for AWS as well and then any Linux machine