Opengist is a self-hosted Pastebin service based on Git, which is an open source gist service. All code snippets are stored in the Git repository and can be read or modified using standard Git commands or manipulated through a Web interface. It is similar to GitHub Gist, but it is open source and can be self-hosted. Function Introduction 1. Flexible code fragment management: Support public, unlisted or private fragments, syntax highlighting, multi-format support (Markdown, CSV), and can be embedded in websites. 2. Convenient developer tool: Use Git to operate fragments through HTTP/SSH, support editor functions (indentation, drag-and-drop), and provide JSON API to retrieve metadata. 3. Personalization and user experience: Support light/dark mode, responsive interface, and management of user logins and avatars through OAuth2 and Gravatar. 4. Powerful management backend: Administrators can delete users/fragments, clean up databases and file systems, and support git gc operations and registration restriction management. Note: 1. For safety reasons, if not necessary. Please close new user registration. 2. Port 2222 is open and can be operated through ssh: note that first add the SSH key in the settings interface.





