go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.42k stars 5.43k forks source link

Embedding the Web IDE in Gitea #27766

Open ExplodingDragon opened 11 months ago

ExplodingDragon commented 11 months ago

Feature Description

Code conflicts can be handled easily. And we can use tools like DevContainer to quickly create development environments.

We can use act_runner as the IDE backend, and Gitea for port forwarding only.

图片

Starting an agent inside the container to communicate with an external runner to handle port forwarding while exposing ssh inside the container allows users to connect via ssh using any IDE.

yp05327 commented 11 months ago

This is a great (and big) plan. I also considered some things like this. But I considered using a new DevContianer manager, instead of act_runner.

ExplodingDragon commented 11 months ago

Confirmation is required before starting:

silverwind commented 11 months ago

I think this shouldn't depend on act_runner.

dydhyhwu commented 6 months ago

I think this shouldn't depend on act_runner.

I agree with your idea. I think it would be great to consider implementing a built-in Web IDE scheduling mechanism similar to act_runner, which supports features like SSH, VSCode Remote, JetBrains Gateway, etc. It would also be beneficial to enhance the extensibility of the system, allowing integration with mature third-party products such as Coder.

anbraten commented 6 months ago

FYI There are currently two IDE systems working with Gitea already: