# Self Hosting code

**URL:** <https://community.weweb.io/t/self-hosting-code/3451>\
**Category:** Ask us anything\
**Created:** [July 10, 2023, 9:21am UTC](https://community.weweb.io/t/self-hosting-code/3451 "2023-07-10T09:21:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois-SuperForge](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/francois-superforge/32/3836_2.png) [@Francois-SuperForge](https://community.weweb.io/u/Francois-SuperForge)\
**Post date:** [July 10, 2023, 9:21am UTC](https://community.weweb.io/t/self-hosting-code/3451/1 "2023-07-10T09:21:12Z")

</div>

Hi everyone,

I have a question about code export and self-hosting.

If I export the code to self-host, can I install the Weweb editor to develop my App in Self-host mode?  
In that case, how does it work when I want to publish it Live?

Thanks a lot,

---

<div class="post-metadata">

**Author:** ![Raphael](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raphael/32/13247_2.png) [@Raphael](https://community.weweb.io/u/Raphael)\
**Post date:** [July 10, 2023, 9:38am UTC](https://community.weweb.io/t/self-hosting-code/3451/2 "2023-07-10T09:38:59Z")

</div>

Hey François, thanks for asking!

1. The self-hosting of the editor is available in SaaS mode only. The reason we do not allow for self-host is because this is very rarely asked by our users and because it would be very difficult to maintain for us → we would need to send you the code to update your versions and you would need to run migrations on your end which would make it hard.

2. However you can self-host your applications, here is how: [Hosting & Code Export | Weweb documentation](https://docs.weweb.io/settings-billing-code-export/hosting-and-code-export.html)

Hope that helps! Let me know if you have any follow-up question.

---

<div class="post-metadata">

**Author:** ![wankl](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wankl](https://community.weweb.io/u/wankl)\
**Post date:** [July 19, 2023, 1:37am UTC](https://community.weweb.io/t/self-hosting-code/3451/3 "2023-07-19T01:37:36Z")

</div>

@Raphael So I can host on vercel or cloudflare with zero vendor lock-in from weweb ?  
Are there any limitations there besides the editor ?

---

<div class="post-metadata">

**Author:** ![Raphael](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raphael/32/13247_2.png) [@Raphael](https://community.weweb.io/u/Raphael)\
**Post date:** [July 19, 2023, 9:50am UTC](https://community.weweb.io/t/self-hosting-code/3451/4 "2023-07-19T09:50:36Z")

</div>

Yes correct! No limitation.

---

<div class="post-metadata">

**Author:** ![wankl](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wankl](https://community.weweb.io/u/wankl)\
**Post date:** [July 23, 2023, 4:24pm UTC](https://community.weweb.io/t/self-hosting-code/3451/5 "2023-07-23T16:24:51Z")

</div>

Wow, that is sweet. Thanks for the reply @Raphael.  
So I can export websockets to my database(e.g. supabase) and all states, conditions, relations and other extensions or connected bits without limitations ? And what about importing code which I’ve exported and edited outside Weweb ?

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [July 25, 2023, 2:09pm UTC](https://community.weweb.io/t/self-hosting-code/3451/7 "2023-07-25T14:09:49Z")

</div>

Hi, I’m not sure to understand.

What you can export is the builded version of your webapp, ready to be deployed on any cloud provider or hosting service like Vercel. These are static files that only need to be served, not executed.

The code you imported through custom components and dropped inside your web app in the editor will be found inside the static files too.
