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 604d887164
feat: REST endpoint to delete comment by ID
DESCRIPTION
    Each comment is uniquely identified by database assigned, serially
    incremented ID. Access controlled REST endpoint is added to delete
    comment by ID.

ERRORS RETURNED
    - Gist doesn't exist: 404 GistNotFound
    - Gist is private and requesting user is not owner or is not visible
      to user: 404 GistNotFound
    - Gist exists and is visible to requesting user but comment doesn't
      exist: 404 CommentNotFound
    - Gist exists and is visible to requesting user is not comment owner
      : 401 UnauthorizedOperation
2 years ago
.github fix: lints and run migrations before generating coverage in CI 2 years ago
config feat: bootstarp gists 2 years ago
database feat: return comment ID after comment creation 2 years ago
docs feat: ecosystem overview 2 years ago
src feat: REST endpoint to delete comment by ID 2 years ago
.env-sample feat: bootstrap database ops 2 years ago
.gitignore feat: setup tests 2 years ago
Cargo.lock feat: read_file processes directories 2 years ago
Cargo.toml feat: read_file processes directories 2 years ago
LICENSE.md add license 2 years ago
Makefile feat: add gists_gists, gists_comments and gists_comments & related methods 2 years ago
README.md feat: update todo list 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

Gists

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/gists/config.toml).