Host snippets with a git backend. Like Gists but OpenSource. https://gist.sigpipe.me/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

54 lines
1.8 KiB

git.txt
=======
4 years ago
[![Build Status](https://drone.sigpipe.me/api/badges/dashie/git.txt/status.svg)](https://drone.sigpipe.me/dashie/git.txt)
# What
It's a Pastebin where all pastes are backed in is own Git repository.
5 years ago
# Current Features list
- First registered user is automatically admin
5 years ago
- User or Anonymous Gitxts
- Archive download in Zip or TarGz of Gitxts repositories
- Git pull over HTTP/S for all Gitxts
- Git push over HTTP/S for user Gitxts (Using Basic Auth)
- Text Highlighting with Highlight.JS
- Size limit per individual file
- Size limit for the whole page (only text files not over-size are counted)
- Viewing RAW content of a file or download if binary type, a RAW Size Limit apply to whatever blob is wanted
- Rendering of special types: Markdown, Images, PDF (via PDF.js)
5 years ago
- Line Numbers for text files
5 years ago
- Expiration time with internal cron for deletion
- Binary or over-size files are excluded from Edit form in Web-UI, preserving them in the commit (they still can be deleted)
5 years ago
# Planned Feature List
- Display other rich texts
5 years ago
- API for third party tools
- More tests coverage
5 years ago
# Build
5 years ago
3 years ago
Install or build libgit2 0.27.x ONLY.
This might be painful, and you might need to download manually .deb on older systems.
You also needs libmagic
5 years ago
go get -v -insecure -u dev.sigpipe.me/dashie/git.txt
4 years ago
# Release build
4 years ago
- Get last release from https://sigpipe.me/projet:git.txt#binary_releases
3 years ago
- You still need to install libgit2 0.27.x ONLY, and libmagic
5 years ago
# Contact, issues
- Main contact: Dashie: dashie (at) sigpipe (dot) me
5 years ago
- Main repository: https://dev.sigpipe.me/dashie/git.txt
- Main issue tracker: https://dev.sigpipe.me/dashie/git.txt/issues
5 years ago
# Sources used
5 years ago
I learned playing with Macaron/Xorm etc. from Gogs sources so lot of logic have been reused from Gogs.
# License
5 years ago
MIT, Dashie for git.txt and Gogs contributors for reused Gogs parts.