Gitako icon indicating copy to clipboard operation
Gitako copied to clipboard

[Feature] Support more platforms, GitLab, BitBucket, ✅Gitea, ✅Gitee etc

Open devbean opened this issue 4 years ago • 18 comments

There are many other git hosts which are not so popular as github. So I wonder if it is possible to extends Gitako and supports the other hosts just like plugins? The code structure of Gitako seems bind to github so maybe it is better to do some refactor in order to support plugins (or adapters).

Anyway, Gitako is great. Thank you for your work!

devbean avatar Apr 20 '20 02:04 devbean

Hi @devbean

Gitako was designed to work on GitHub in the first place. But it worked out much better than I thought and got appreciations from lots of people, I've decided to refactor it to support more platforms (actually that is almost done 🥳).

Please stay tuned.


BTW, what platforms in specific you'd like Gitako to support?

EnixCoda avatar Apr 20 '20 04:04 EnixCoda

Gitee and other private hosts.

PS: 我没有注意到你的位置在杭州 ;-P

devbean avatar Apr 20 '20 07:04 devbean

Gitee is exactly the platform going to be supported LOL. #38


Update: Gitee has been supported. Read wiki to setup.

EnixCoda avatar Apr 20 '20 08:04 EnixCoda

That's great. There are some other hosts like gitea.

devbean avatar Apr 20 '20 08:04 devbean

Hope to support for https://gitea.com.

huiyifyj avatar Apr 28 '20 07:04 huiyifyj

Gitee support is available now in v2.0

EnixCoda avatar May 31 '20 14:05 EnixCoda

Any possibility for Bitbucket?

taigrr avatar Jun 16 '20 00:06 taigrr

@taigrr Sure! But I am busy recently.

If anyone would like to help contribute code, take a look at platform specification and add code into the platforms folder. You can refer to the platforms/GitHub and platforms/Gitee folders' content.

EnixCoda avatar Jun 16 '20 02:06 EnixCoda

Any possibility for Gitlab?

ttbadr avatar Jul 08 '20 03:07 ttbadr

@ttbadr GitLab already provides very powerful WebIDE https://github.com/EnixCoda/Gitako/issues/57#issuecomment-611369626 which covers most of Gitako's features

But I'm ok with implementing that if more users request it.

EnixCoda avatar Jul 08 '20 03:07 EnixCoda

Now I find GitLab.com request to fork repo in order to use WebIDE, and it's too big a deal for just simply read codes. So I think it's meaningful to implement it in this time.

txyyh avatar Aug 07 '22 16:08 txyyh

Now I find GitLab.com request to fork repo in order to use WebIDE, and it's too big a deal for just simply read codes. So I think it's meaningful to implement it in this time.

+1. this feature is necessary!

faimin avatar Dec 16 '22 07:12 faimin

There is a technical blocker for supporting GitLab.

Gitako takes advantage of host platforms' fast-loading technologies to work seamlessly. On GitHub, it was PJAX and now turbo. On Gitee, it was PJAX.

But GitLab, ASAIK, uses totally different tech. It manages an internal routing state. I have not figured out how to trigger redirecting to files without triggering a full reload.

And I do not find extensions for GitLab that support triggering fast redirecting. Please let me know if you find any. Then I can check out how it works.

EnixCoda avatar Jan 04 '23 02:01 EnixCoda

git master support gitlab, and I hope it can inspire you.

faimin avatar Jan 04 '23 03:01 faimin

git master support gitlab, and I hope it can inspire you.

Thanks, @faimin But it seems redirecting via Git Master's file tree would trigger a full reload, too.

EnixCoda avatar Jan 04 '23 06:01 EnixCoda

For gitlab, it would be great if it supports community edition for private deployment 😄

pedoc avatar Jan 10 '23 04:01 pedoc