EnixCoda / Gitako

🐙 File tree extension for GitHub on Chrome & Firefox & Edge
https://chrome.google.com/webstore/detail/gitako/giljefjcheohhamkjphiebfjnlphnokk
MIT License
2.38k stars 102 forks source link

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

Open devbean opened 4 years ago

devbean commented 4 years ago

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!

EnixCoda commented 4 years ago

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?

devbean commented 4 years ago

Gitee and other private hosts.

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

EnixCoda commented 4 years ago

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


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

devbean commented 4 years ago

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

huiyifyj commented 4 years ago

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

EnixCoda commented 4 years ago

Gitee support is available now in v2.0

taigrr commented 4 years ago

Any possibility for Bitbucket?

EnixCoda commented 4 years ago

@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.

ttbadr commented 4 years ago

Any possibility for Gitlab?

EnixCoda commented 4 years ago

@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.

txyyh commented 2 years ago

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.

faimin commented 1 year ago

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!

EnixCoda commented 1 year ago

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.

faimin commented 1 year ago

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

EnixCoda commented 1 year ago

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.

pedoc commented 1 year ago

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

98Protein commented 4 months ago

Support for gitee doesn't seem to be available in 3.12.0 right now.

98Protein commented 4 months ago

Support for gitee doesn't seem to be available in 3.12.0 right now.

Sorry, I just noticed that the wiki to setup here can be used normally in gitee, thanks to the author.