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 9e15e04ca5
feat: new gist page and extractors to handle new gist form payload
SUMMARY
    REST API for gist creation uses JSON for payload format, which
    supports array. Form doesn't so gist file field names(filename and
    content) follow {KNOWN_PREFIX}{index} semantics, which can be parsed
    while processing request.
1 year ago
.github chore: rename gists to gitpad 1 year ago
config feat: get admin_email in settings and validate admin_email and source_code 1 year ago
database chore: rename gists to gitpad 1 year ago
docs feat: ecosystem overview 1 year ago
src feat: new gist page and extractors to handle new gist form payload 1 year ago
static/cache/css feat: new gist page and extractors to handle new gist form payload 1 year ago
templates feat: new gist page and extractors to handle new gist form payload 1 year ago
.env-sample feat: bootstrap database ops 1 year ago
.gitignore feat: setup cache busting for static assets 1 year ago
Cargo.lock feat: login and register HTML pages 1 year ago
Cargo.toml feat: login and register HTML pages 1 year ago
LICENSE.md add license 1 year ago
Makefile chore: rename gists to gitpad 1 year ago
README.md chore: rename gists to gitpad 1 year ago
build.rs feat: setup cache busting for static assets 1 year ago
sqlx-data.json feat: add gists_gists, gists_comments and gists_comments & related methods 1 year 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).