OpenGist¶
OpenGist is a self-hosted and open-source pastebin powered by Git.
- URL:
- Docs:
- Availability:
By Invitation / Team Access
Need an account?¶
Accounts are available to the public upon request, with reason. If you’d like to request an account, please fill out this form.
Tech Notes¶
Enable local login¶
By default, OpenGist is configured to use only OIDC for users to log in. In case of emergency (IdP outage), you may need to log in with the local break-glass account (1Password). Follow these steps to temporarily enable the local login form:
SSH to
centaurwith asudo-capable account.Navigate to
/srv/opengistand rundocker compose downto stop the Docker container.Navigate to
/srv/opengist/opengistand locate theopengist.dbSQLite database file.Open
opengist.dbusing a tool such as DB Browser or TablePlus.In the
admin_settingstable, find thedisable_login_formkey and change its value to0.Put the updated DB file back in
/srv/opengist/opengist.Navigate to
/srv/opengistand rundocker compose up -dto start the Docker container.Log in to OpenGist using a local user account.
Make an account admin¶
In theory, adding a user to the opengist-admin group in F13 ID should make them an admin in OpenGist. However, that is currently not working. In the meantime, you can make a user an admin by doing the following:
Have the user you want to make an admin sign in with SSO at least once so that they are present in the users table.
Follow steps 1-4 to edit the
opengist.dbSQLite database.In the
userstable, locate the row with the user you want to modify. Find theis_admincolumn for that user and change its value to1.Follow steps 6-7 above to reload the modified db file.
Have the user log in to OpenGist with SSO, and make sure they can access the admin panel.