{"id":20032273,"url":"https://github.com/weakish/stagit","last_synced_at":"2026-05-09T21:46:41.901Z","repository":{"id":146349796,"uuid":"76771236","full_name":"weakish/stagit","owner":"weakish","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-10T14:51:14.000Z","size":149,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T18:11:49.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weakish.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-18T08:20:00.000Z","updated_at":"2016-12-18T08:21:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"50d04b5a-11d3-4b0c-ac5f-f10a7977649f","html_url":"https://github.com/weakish/stagit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fstagit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fstagit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fstagit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fstagit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weakish","download_url":"https://codeload.github.com/weakish/stagit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241463394,"owners_count":19967038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T09:36:31.474Z","updated_at":"2026-05-09T21:46:41.856Z","avatar_url":"https://github.com/weakish.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"stagit\n======\n\nstatic git page generator\n\n\nUsage\n-----\n\nMake files per repository:\n\n\t$ mkdir -p htmldir \u0026\u0026 cd htmldir\n\t$ stagit path-to-repo\n\nMake index file for repositories:\n\n\t$ stagit-index repodir1 repodir2 repodir3 \u003e index.html\n\n\nInstall\n-------\n\n$ make\n# make install\n\n\nDependencies\n------------\n\n- libgit2 (v0.22+).\n- libc (tested with OpenBSD, FreeBSD, glibc and musl).\n- C compiler (C99).\n- make\n\n\nDocumentation\n-------------\n\nSee man pages: stagit(1) and stagit-index(1).\n\n\nFeatures\n--------\n\n- Log of all commits from HEAD.\n- Log and diffstat per commit.\n- Show file tree with linkable line numbers.\n- Show references: local branches and tags.\n- Detect README and LICENSE file from HEAD and link it as a webpage.\n- Detect submodules (.gitmodules file) from HEAD and link it as a webpage.\n- Atom feed log (atom.xml).\n- Make index page for multiple repositories with stagit-index.\n- After generating the pages (relatively slow) serving the files is very fast,\n  simple and requires little resources (because the content is static), only\n  a HTTP file server is required.\n\n\nCons\n----\n\n- Not suitable for large repositories (2000+ commits), because diffstats are\n  an expensive operation.\n- Not suitable for repositories with many branches, a quite linear history is\n  assumed (from HEAD).\n- Relatively slow to run the first time (about 3 seconds for sbase,\n  1500+ commits), incremental updates after it are faster.\n- Does not support some of the dynamic features cgit has, like:\n  - snapshot tarballs.\n  - file tree per commit.\n  - history log of branches diverged from HEAD.\n  - stats (git shortlog -s).\n\n  this is by design, just use git locally.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweakish%2Fstagit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweakish%2Fstagit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweakish%2Fstagit/lists"}