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

Embedding Gitpod on other sites #419

Open
ZaDarkSide opened this issue Apr 1, 2019 · 19 comments
Open

Embedding Gitpod on other sites #419

ZaDarkSide opened this issue Apr 1, 2019 · 19 comments
Labels
meta: never-stale This issue can never become stale type: feature request New feature or request

Comments

@ZaDarkSide
Copy link

If you could embed in iframe like on https://stackblitz.com/docs#embedding that would be great.

@Alaboudi1
Copy link

I was actually going to use gitpod in a new website I planning to build, but it does not seem to support embedding in iframe very well.

@stale
Copy link

stale bot commented Oct 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Oct 4, 2020
@gtsiolis gtsiolis added feature request and removed meta: stale This issue/PR is stale and will be closed soon labels Jan 7, 2021
@svenefftinge svenefftinge added type: feature request New feature or request and removed feature request labels Jan 7, 2021
@stale
Copy link

stale bot commented Mar 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Mar 17, 2021
@stale stale bot closed this as completed Mar 27, 2021
@trusktr
Copy link

trusktr commented Apr 23, 2021

Can you please not close issues with no activity? Otherwise valid and good issues get forgotten.

@akosyakov
Copy link
Member

@trusktr Unfortunately it is hard for us to detect valid issues in all noise, please see for full explanation #3657 (comment) Just go ahead and reopen the issue or create a new one.

@akosyakov akosyakov reopened this Apr 24, 2021
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Apr 24, 2021
@akosyakov
Copy link
Member

akosyakov commented Apr 24, 2021

I don't it is possible to implement in the full extend at least for VS Code. VS Code relies on browser APIs only available in the top window context and not from iframes. In theory you can embed it, but you will loose some features, like auto detection of keyboard layouts and in some cases proper navigation.

@stale
Copy link

stale bot commented Jul 23, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Jul 23, 2021
@stale stale bot closed this as completed Aug 2, 2021
@dlvhdr
Copy link

dlvhdr commented Nov 16, 2021

Hi @akosyakov,
I'm also trying to embed the openvscode-server in an iframe, but I'm getting "Forbidden." as the response.
When you said "In theory you can embed it", how would you manage to bypass this "Forbidden" error and why does it occur?

@akosyakov
Copy link
Member

It sounds like you don't provide connection token as a part of iframe src.

@vamche
Copy link

vamche commented Jun 14, 2022

@akosyakov Could you please elaborate on how to get the connection-token? It would be great if you could tell the format of the URL that can be used to embed a GitPod workspace in an Iframe?

@axonasif
Copy link
Member

@vamche lets continue on your discord question

@trumbitta
Copy link
Contributor

With the recent release of CodeSandbox Projects - their Gitpod-like experience - might this counter-attack be worth another look?

https://codesandbox.io/post/announcing-codesandbox-projects

@HadesArchitect
Copy link

Yep, for us embedding would be a valuable feature too, though I understand all the complications =\

@andreafalzetti
Copy link
Contributor

Yep, for us embedding would be a valuable feature too, though I understand all the complications =\

Could you elaborate more on how you would benefit from having this feature?

Considering that this task does not seem trivial at all, I think that sharing more details on why it's needed, could help understand how to prioritize this.

@HadesArchitect
Copy link

Ciao Andrea!

Long story short, we have quite an edge case, so I doubt you'll really invest your time into that. It's a training platform over gitpod, my team works in the developer relations field to help engineers learn how to use Apache Cassandra, Apache Pulsar, etc.

We would like to embed gitpod to our academy.datastax.com (open, free, oss-learning project) but looks like we will have to keep it "in the second tab" (one tab for academy, one tab for gitpod, integration via vscode extension pulling academy api)

image

Buona fortuna!

@vamche
Copy link

vamche commented Sep 16, 2022

We have a similar use-case for building tutorials, to embed the GitPod along with the learning/course material.

@akosyakov akosyakov added the meta: never-stale This issue can never become stale label Sep 16, 2022
@akosyakov akosyakov reopened this Sep 16, 2022
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Sep 16, 2022
@loujaybee loujaybee changed the title Feature request: Embed in iframe Embedding Gitpod on other sites Oct 3, 2022
@loujaybee
Copy link
Member

Updating title to remove "iframe" as there might be other solutions to the problem here, but it's not clear. If you're finding this issue and you need this for some reason, would be great to get the context behind the problem that you're solving.

@kamranayub
Copy link

Same context as @HadesArchitect, wanting to build an interactive course/tutorial experience. CodeSandbox is very good but unfortunately only their Browser Sandboxes are supported for embedding and the experience I'm helping on uses .NET, Python, Go, and Node.js -- so something that works beyond the browser would be excellent. GitPod was pretty easy to get started with but is missing some features for really making it ideal for learning scenarios.

For example, being able to pass some of the parameters CodeSandbox allows for embedding like module and initialpath would be awesome. Opening the VS editor on the right module with the right path in the browser would be an 80% improvement. For now I'm evaluating other alternatives, like creating separate branches, other embedding tech, etc.

@olaobajuabraham
Copy link

any news on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta: never-stale This issue can never become stale type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests