https://github.com/thomiceli/opengist Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} thomiceli / opengist Public * * Notifications * Fork 61 * Star 1.1k * Self-hosted pastebin powered by Git, open-source alternative to Github Gist. demo.opengist.io License AGPL-3.0 license 1.1k stars 61 forks Branches Tags Activity Star Notifications * Code * Issues 23 * Pull requests 3 * Actions * Projects 1 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights thomiceli/opengist This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 245 Commits .github .github deploy deploy docker docker docs docs internal internal public public scripts scripts templates templates .dockerignore .dockerignore .gitattributes .gitattributes .gitignore .gitignore CHANGELOG.md CHANGELOG.md Dockerfile Dockerfile LICENSE LICENSE Makefile Makefile README.md README.md config.yml config.yml go.mod go.mod go.sum go.sum opengist.go opengist.go package-lock.json package-lock.json package.json package.json View all files Repository files navigation * README * AGPL-3.0 license Opengist Opengist Opengist is a self-hosted pastebin powered by Git. All snippets are stored in a Git repository and can be read and/or modified using standard Git commands, or with the web interface. It is similiar to GitHub Gist, but open-source and could be self-hosted. Documentation * Demo GitHub release (latest SemVer) License Go CI Go Report Card Features * Create public, unlisted or private snippets * Init / Clone / Pull / Push snippets via Git over HTTP or SSH * Syntax highlighting ; markdown & CSV support * Search code in snippets ; browse users snippets, likes and forks * 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 Docker images are available for each release : docker pull ghcr.io/thomiceli/opengist:1.7 It can be used in a docker-compose.yml file : 1. Create a docker-compose.yml file with the following content 2. Run docker compose up -d 3. Opengist is now running on port 6157, you can browse http:// localhost:6157 version: "3" services: opengist: image: ghcr.io/thomiceli/opengist:1.7 container_name: opengist restart: unless-stopped ports: - "6157:6157" # HTTP port - "2222:2222" # SSH port, can be removed if you don't use SSH volumes: - "$HOME/.opengist:/opengist" You can define which user/group should run the container and own the files by setting the UID and GID environment variables : services: opengist: # ... environment: UID: 1001 GID: 1001 Via binary Download the archive for your system from the release page here, and extract it. # example for linux amd64 wget https://github.com/thomiceli/opengist/releases/download/v1.7.1/opengist1.7.1-linux-amd64.tar.gz tar xzvf opengist1.7.1-linux-amd64.tar.gz cd opengist chmod +x opengist ./opengist # with or without `--config config.yml` Opengist is now running on port 6157, you can browse http:// localhost:6157 From source Requirements: Git (2.28+), Go (1.21+), Node.js (16+), Make (optional, but easier) git clone https://github.com/thomiceli/opengist cd opengist make ./opengist Opengist is now running on port 6157, you can browse http:// localhost:6157 --------------------------------------------------------------------- To create and run a development environment, see run-development.md. Documentation The documentation is available in /docs directory. License Opengist is licensed under the AGPL-3.0 license. About Self-hosted pastebin powered by Git, open-source alternative to Github Gist. demo.opengist.io Topics git go docker golang gist typescript pastebin self-hosted pastebin-service tailwindcss Resources Readme License AGPL-3.0 license Activity Stars 1.1k stars Watchers 9 watching Forks 61 forks Report repository Releases 17 v1.7.1 Latest Apr 5, 2024 + 16 releases Sponsor this project Sponsor Learn more about GitHub Sponsors Packages 1 Contributors 24 * @thomiceli * @jolheiser * @Maronato * @exkuretrol * @dependabot[bot] * @WilliamNT * @MrGeneration * @jahands * @crapStone * @ldavison * @guilhem * @hitian * @josefandersson * @kassane + 10 contributors Languages * Go 88.0% * TypeScript 9.4% * Shell 1.1% * Other 1.5% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.