Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Self-hosted pastebin powered by Git, open-source alternative to Github Gist.

License

NotificationsYou must be signed in to change notification settings

thomiceli/opengist

Repository files navigation

Opengist

Opengist is aself-hosted Pastebinpowered by Git. All snippets are stored in a Git repository and can beread and/or modified using standard Git commands, or with the web interface.It is similar toGitHub Gist, but open-source and could be self-hosted.

Home PageDocumentationDiscordDemo

GitHub release (latest SemVer)LicenseGo CIGo Report CardTranslate

Features

  • Create public, unlisted or private snippets
  • Init / Clone / Pull / Push snippetsvia Git over HTTP or SSH
  • Syntax highlighting ; markdown & CSV support
  • Search code in snippets; browse users snippets, likes and forks
  • Add topics to snippets
  • Embed snippets in other websites
  • Revisions history
  • Like / Fork snippets
  • Download raw files or as a ZIP archive
  • OAuth2 login with GitHub, GitLab, Gitea, and OpenID Connect
  • Restrict or unrestrict snippets visibility to anonymous users
  • Docker support
  • More...

Quick start

With Docker

Dockerimages are available for each release :

docker pull ghcr.io/thomiceli/opengist:1.9

It can be used in adocker-compose.yml file :

  1. Create adocker-compose.yml file with the following content
  2. Rundocker compose up -d
  3. Opengist is now running on port 6157, you can browsehttp://localhost:6157
services:opengist:image:ghcr.io/thomiceli/opengist:1.9container_name:opengistrestart:unless-stoppedports:      -"6157:6157"# HTTP port      -"2222:2222"# SSH port, can be removed if you don't use SSHvolumes:      -"$HOME/.opengist:/opengist"

You can define which user/group should run the container and own the files by setting theUID andGID environment variables :

services:opengist:# ...environment:UID:1001GID:1001

Via binary

Download the archive for your system from the release pagehere, and extract it.

# example for linux amd64wget https://github.com/thomiceli/opengist/releases/download/v1.9.1/opengist1.9.1-linux-amd64.tar.gztar xzvf opengist1.9.1-linux-amd64.tar.gzcd opengistchmod +x opengist./opengist# with or without `--config config.yml`

Opengist is now running on port 6157, you can browsehttp://localhost:6157

From source

Requirements:Git (2.28+),Go (1.23+),Node.js (16+),Make (optional, but easier)

git clone https://github.com/thomiceli/opengistcd opengistmake./opengist

Opengist is now running on port 6157, you can browsehttp://localhost:6157


To create and run a development environment, seerun-development.md.

Documentation

The documentation is available athttps://opengist.io/ or in the/docs directory.

License

Opengist is licensed under theAGPL-3.0 license.


[8]ページ先頭

©2009-2025 Movatter.jp