mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 12:55:57 +03:00
[GH-ISSUE #300] [feat] 建议支持自建gitlab #219
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SouSuoKe on GitHub (Jun 24, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/300
Originally assigned to: @codexu on GitHub.
描述你的建议
群晖中使用这三个docker镜像搭建了自己的gitlab,设置中看到支持github、gitee,但是没有自建gitlab这种,虽然也有webdav,但是更希望保存到git中
@woodcoal commented on GitHub (Jun 26, 2025):
比如 gitea 这类第三方,可以使用标准 git 协议来支持
@xtay573269555 commented on GitHub (Jul 10, 2025):
赞同。可以像大模型的配置那样,让用户可以自行选择和配置 git 仓库的 API 地址和 API Key,这样就只需要适配协议即可。同类型协议的仓库不用重复造轮子。
@codexu commented on GitHub (Jul 22, 2025):
@SouSuoKe commented on GitHub (Jul 23, 2025):
@codexu 大佬,自建gitlab 跟 gitlab.com 的链接不太一样,我看代码里 gitlab-sync.tsx#L112
请求的是${gitlabCustomUrl}/-/user_settings/personal_access_tokens ,
但是我实际的是 ${gitlabCustomUrl}/profile/personal_access_tokens
@codexu commented on GitHub (Jul 23, 2025):
没测自建 Gitlab,只测试了 Gitlab.com 和极狐,这块我后续自己搭建一个,然后修改。
@SouSuoKe commented on GitHub (Jul 23, 2025):
我可以帮忙测试呀~~
实际的url:

点击NoteGen 创建 access token 进入的url:

@codexu commented on GitHub (Jul 23, 2025):
接口请求是正确的吗,比如上传文件这种接口
@SouSuoKe commented on GitHub (Jul 23, 2025):
没看到别的,需要什么可以把接口名和现在程序里请求的url发出来,我可以试试,比如:
@SouSuoKe commented on GitHub (Jul 28, 2025):
大佬,我翻到了个有用的picgo插件对我的问题好像有点帮助:https://github.com/D-W-X/picgo-plugin-gitlab-files
这个插件有个【自托管的Gitlab版本是否低于13.0】的开关,他的描述是:【可选,对于Gitlab版本低于13.0的情况,使用 raw ,否则使用 -/raw】

@cretone-zen commented on GitHub (Aug 14, 2025):
gitea的可以按照gitlab来加上去吗,gitlab太大了,gitea小很多又好部署