Skip to content

opengist

Office Web - Source - Docker Image - Document


opengist 是一个由 Git 提供支持的自托管粘贴。所有代码片段都存储在 Git 存储库中,可以使用标准 Git 命令或 Web 界面读取和/或修改。它类似于 GitHub Gist,但开源并且可以自托管。


配置

  • 修改为 meilisearch 索引后,需要在后台更新索引:通用 -> 动作 -> 索引所有 Gists

OIDC

bash
http://opengist.url/oauth/openid-connect/callback
  • 环境变量
bash
OG_OIDC_PROVIDER_NAME=<provider-name>
OG_OIDC_CLIENT_KEY=<key>
OG_OIDC_SECRET=<secret>
# Discovery endpoint of the OpenID provider. Generally something like http://auth.example.com/.well-known/openid-configuration
OG_OIDC_DISCOVERY_URL=http://auth.example.com/.well-known/openid-configuration

Released under the Apache-2.0 License.