Self-Hosted alternative to GitHub Gists
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Aravinth Manivannan fc40706ca9
feat: get admin_email in settings and validate admin_email and source_code
SUMMARY
    New field is added to settings to receive email of the admin of the
    instance. source_code is a link to the repository of the source code
    of a GitPad instance, set_source_code is defined to build a HTTP
    link to the exact commit from which the instance binary was built.

NOTE
    Current Settings::set_source_code assumes the provided HTTP link to
    point to a forge belonging to the GitHub-family(GitHub, Gitea and
    GitLab), provisions must be made to accommodate other forges as
    well.
2 years ago
.github chore: rename gists to gitpad 2 years ago
config feat: get admin_email in settings and validate admin_email and source_code 2 years ago
database chore: rename gists to gitpad 2 years ago
docs feat: ecosystem overview 2 years ago
src feat: get admin_email in settings and validate admin_email and source_code 2 years ago
.env-sample feat: bootstrap database ops 2 years ago
.gitignore feat: setup tests 2 years ago
Cargo.lock chore: rename gists to gitpad 2 years ago
Cargo.toml chore: rename gists to gitpad 2 years ago
LICENSE.md add license 2 years ago
Makefile chore: rename gists to gitpad 2 years ago
README.md chore: rename gists to gitpad 2 years ago
build.rs init 2 years ago
sqlx-data.json feat: add gists_gists, gists_comments and gists_comments & related methods 2 years ago

README.md

GitPad

Self-Hosted GitHub Gists

Build dependency status codecov

Features

  • Upload code snippets(✓ REST API)
  • Syntax Highlighting
  • Comments
  • Versioning through Git
  • Fork gists
  • Gist privacy: public, unlisted, private
  • Git clone via HTTP and SSH
  • Activity Pub implementation for publishing native gists and commenting
  • Gitea OAuth integration

Why?

Gists are nice, while there are wonderful forges like Gitea, there isn't a libre pastebin implementation that can rival GitHub Gists.

Usage

  1. All configuration is done through ./config/default.toml(can be moved to /etc/gitpad/config.toml).