SUMMARY Optionally authenticated endpoint to read file in gist repository. Subject to gist visibility. DESCRIPTION crate::api::v1::gists::read_file - Parses URI for gist owner, gist public ID and file path. - Contents of gists with private visibility are only returned to owner of gists. Identity determined using session cookies. - Contents are Unlisted and Public visibility gists are accessible by both unauthenticated and authenticated users(authenticated but not owner).
- Upload code snippets
- Syntax Highlighting
- 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
Gists are nice, while there are wonderful forges like Gitea, there isn't a libre pastebin implementation that can rival GitHub Gists.
- All configuration is done through
./config/default.toml(can be moved to