Host snippets with a git backend. Like Gists but OpenSource. https://gist.sigpipe.me/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Dashie der otter 324f9e548a
Improve the new file javascript; Still getting that issue
pirms 1 gada
cmd Fmt; Disappeared % format; % format updates; Unkeyed things pirms 1 gada
conf Show edit time if edited, add expiry on nice columns pirms 1 gada
context Fmt; Disappeared % format; % format updates; Unkeyed things pirms 1 gada
models Grmbl pirms 1 gada
routers Show edit time if edited, add expiry on nice columns pirms 1 gada
setting Fmt; Disappeared % format; % format updates; Unkeyed things pirms 1 gada
static Improve the new file javascript; Still getting that issue pirms 1 gada
stuff Update libgit to 0.27 pirms 1 gada
templates Improve the new file javascript; Still getting that issue pirms 1 gada
vendor Update vendoring pirms 1 gada
.bra.toml Can register, login, logout pirms 3 gadiem
.drone.yml Update libgit to 0.27 pirms 1 gada
.gitignore Update gitignore pirms 2 gadiem
Gopkg.lock Update vendoring pirms 1 gada
Gopkg.toml Update vendoring pirms 1 gada
LICENSE Add a README and LICENSE pirms 3 gadiem
LICENSE.gogs Add License of Gogs; For reused gogs parts pirms 3 gadiem
Makefile Fmt; Disappeared % format; % format updates; Unkeyed things pirms 1 gada
README.md quack pirms 1 gada
TODO.org Improve the new file javascript; Still getting that issue pirms 1 gada
git.txt.go Bump version ...... pirms 2 gadiem
i18n.py Add the script I use for debugging i18n pirms 2 gadiem

README.md

git.txt

Build Status

What

It's a Pastebin where all pastes are backed in is own Git repository.

Current Features list

  • First registered user is automatically admin
  • 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)
  • Line Numbers for text files
  • 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)

Planned Feature List

  • Display other rich texts
  • API for third party tools
  • More tests coverage

Build

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
go get -v -insecure -u dev.sigpipe.me/dashie/git.txt

Release build

Contact, issues

Sources used

I learned playing with Macaron/Xorm etc. from Gogs sources so lot of logic have been reused from Gogs.

License

MIT, Dashie for git.txt and Gogs contributors for reused Gogs parts.