Stagit icon
Stagit icon

Stagit

Stagit is a static page generator for git, and is focused on a minimalist design and approach.

Served page Dark Theme

Cost / License

  • Free
  • Open Source (MIT)

Application type

Platforms

  • Self-Hosted
  • Git
-
No reviews
2likes
0comments
0news articles

Features

Suggest and vote on features

Properties

  1.  Minimalistic

Features

  1. Git icon  Git Support
  2.  Static Site Generator

Stagit News & Activities

Highlights All activities

Recent activities

Show all activities

Stagit information

  • Developed by

    NL flagCodemadness
  • Licensing

    Open Source (MIT) and Free product.
  • Alternatives

    1 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development
Stagit was added to AlternativeTo by Artur Welp on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is Stagit?

Stagit is a static page generator for git, and is focused on a minimalist design and approach.

Features

  • Log of all commits from HEAD.
  • Log and diffstat per commit.
  • Show file tree with linkable line numbers.
  • Show references: local branches and tags.
  • Detect README and LICENSE file from HEAD and link it as a webpage.
  • Detect submodules (.gitmodules file) from HEAD and link it as a webpage.
  • Atom feed of the commit log (atom.xml).
  • Atom feed of the tags/refs (tags.xml).
  • Make index page for multiple repositories with stagit-index.
  • After generating the pages (relatively slow) serving the files is very fast, simple and requires little resources (because the content is static), only a HTTP file server is required.
  • Security: all pages are static. No CGI or dynamic code is run for the interface. Using it with a secure httpd such as OpenBSD httpd it is privilege-separated, chroot(2)'d and pledge(2)'d.
  • Simple to setup: the content generation is clearly separated from serving it. This makes configuration as simple as copying a few directories and scripts.
  • Usable with text-browsers such as dillo, links, lynx and w3m.

Cons

  • Not suitable for large repositories (2000+ commits), because diffstats are an expensive operation, the cache (-c flag) or (-l maxlimit) is a workaround for this in some cases.
  • Not suitable for large repositories with many files, because all files are written for each execution of stagit. This is because stagit shows the lines of textfiles and there is no "cache" for file metadata (this would add more complexity to the code).
  • Not suitable for repositories with many branches, a quite linear history is assumed (from HEAD).

Official Links