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

[feature request] IDE without a server #8368

Open
trusktr opened this issue Aug 12, 2020 · 5 comments
Open

[feature request] IDE without a server #8368

trusktr opened this issue Aug 12, 2020 · 5 comments
Labels
proposal feature proposals (potential future features)

Comments

@trusktr
Copy link

trusktr commented Aug 12, 2020

It'd be great to use wasm-git so that Theia can run on static websites without the need for a server. It can use the filesystem provided by wasm-git, without many modifications to Theia (if any), and without having to wait for VS Code's browser plugins.

This would be excellent because:

  • Theia would run offline
  • static demos (f.e. on codepen or anywhere similar)
  • the git file system could be synced to any git repo (introduce saving of projects from static websites to actual servers when ready, incrementally upgrading a Theia-based project)
@trusktr
Copy link
Author

trusktr commented Aug 12, 2020

@vince-fugnitto vince-fugnitto added the proposal feature proposals (potential future features) label Aug 12, 2020
@vince-fugnitto
Copy link
Member

vince-fugnitto commented Aug 12, 2020

@trusktr thank you for the issue, unfortunately we do not believe supporting a serverless setup in the framework is feasible with the current architecture and will require too much effort, maintenance, testing overall.

In addition, there are no strong use-case for the community to additionally support serverless applications, and the linked wasm-git does not seem mature enough to be included as part of the solution.

However, if this is something you're interested in personally then you're always free to implement it, maintain it and use it for your own application(s).

Here are some additional issues with reasons against supporting serverless setups:


Theia would run offline

We already support a completely local setup (using electron) similarly to vscode.

@akosyakov
Copy link
Member

@vince-fugnitto agree with you, but let's keep it, VS Code is moving in the direction running only in the browser too with rewrite of built-in and popular extensions. At some point of time it would make sense for us to follow.

@vince-fugnitto
Copy link
Member

@vince-fugnitto agree with you, but let's keep it, VS Code is moving in the direction running only in the browser too with rewrite of built-in and popular extensions. At some point of time it would make sense for us to follow.

@akosyakov I might have misunderstood, but what would we need to do to follow? Are you saying we'd only be targeting browser in the future and electron will be dropped?

@akosyakov
Copy link
Member

No, I mean there will be a mode when Theia only works in the browser without the server (offline mode) and then it can switch to online mode. Nothing will be dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal feature proposals (potential future features)
Projects
None yet
Development

No branches or pull requests

3 participants