Files
documentation/docs/services/gitea/gitea-snippets.md
2026-09-28 17:14:01 +02:00

950 B

Gitea Snippets

To publish snippets you need to be logged in with your PSI account. If you have an active login token with https://gitea.psi.ch (Logged in to GUI) you can just click Login with PSI Gitea to login. Snippets may be viewed without authentication to use it in automation processes. When you are logged in you can click "New" to create a snippet. On the bottom right you can choose the visibility of your snippet:

Snippets

Since Gitea has no way to publish snippets we introduce snippets.psi.ch When you press "Continue with PSI Gitea account" the Auth token used with Gitea will be reused to login to snippets. Snippets can be read by anonymous users / services but only created by a logged in user.

  • Public, every logged in User can browse your snippets in the "All" menu.
  • Unlisted, the snippet is only visible with a direct link.
  • Private, the snippet is only visible to you.

You may embed a snippet with the given link.