{"id":21622744,"url":"https://github.com/hyjiacan/gitage","last_synced_at":"2026-05-18T01:36:56.579Z","repository":{"id":136746757,"uuid":"269501445","full_name":"hyjiacan/gitage","owner":"hyjiacan","description":"Static web server based on git-scm, also known as pages service.","archived":false,"fork":false,"pushed_at":"2023-03-04T23:16:17.000Z","size":2047,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T18:59:13.793Z","etag":null,"topics":["git-scm","gitage","pages"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hyjiacan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-06-05T01:22:52.000Z","updated_at":"2021-08-16T00:35:45.000Z","dependencies_parsed_at":"2023-07-14T13:00:39.632Z","dependency_job_id":null,"html_url":"https://github.com/hyjiacan/gitage","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/hyjiacan/gitage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyjiacan%2Fgitage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyjiacan%2Fgitage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyjiacan%2Fgitage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyjiacan%2Fgitage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyjiacan","download_url":"https://codeload.github.com/hyjiacan/gitage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyjiacan%2Fgitage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33161919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git-scm","gitage","pages"],"created_at":"2024-11-25T00:10:02.805Z","updated_at":"2026-05-18T01:36:56.574Z","avatar_url":"https://github.com/hyjiacan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitage\r\n\r\nStatic web server based on NodeJS for git-pages.\r\n\r\nTested on [gitea](https://gitea.io/) for now.\r\n\r\nDependencies:\r\n\r\n- Git \r\n- nodejs\u003e8\r\n\r\n## Usage\r\n\r\n```shell script\r\nnpm run build\r\nnode dist/gitage.js\r\n```\r\n\r\n## Server Configuration\r\n\r\nConfig file: `config` (case-sensitive), should be put in the root path of gitage.\r\n\r\n*config*\r\n```\r\n# DEBUG flag\r\nDEBUG = false\r\n# ip to host\r\nHOST = 0.0.0.0\r\n# port to listen\r\nPORT = 1997\r\n# The path to put logs file, can be absolute or relative \r\nLOG_PATH = logs\r\n# The path to checkout repository, can be absolute or relative\r\nPROJECT_ROOT_PATH = projects\r\n# Log the messages which higher than this level\r\nLOG_LEVEL = info\r\n# The temporary  path to the checkout, leave it blank to use the system temp path\r\nPROJECT_CHECKOUT_TMP = \r\n```\r\n\r\n\u003e If no _config_ file, the value above will be the default values.\r\n\r\n\u003e Note: Configuration item name must be **UPPERCASE**\r\n\r\n## Repo Configuration\r\n\r\nAdd file `gitage.config.json` into your repo, in the form bellow:\r\n\r\n```json\r\n{\r\n  \"type\": \"markdown\",\r\n  \"path\": \"docs\",\r\n  \"index\": \"index.html\",\r\n  \"tag\": true,\r\n   \"branch\": \"master\",\r\n   \"ignore\": [\r\n     \"file\",\r\n     \"dir\",\r\n     \"...\"\r\n   ]\r\n}\r\n```\r\n\r\n- `type` Deploy type, only `markdown` supported currently, or just leave it blank **case-sensitive**\r\n- `path` The directory to deploy (where the static assets located in), default: `docs`\r\n- `index` The index file to deploy，default: `index.html/index.md` **case-sensitive**\r\n- `tag` Whether to deploy only on `tag` pushed，default: `false` (planning)\r\n\r\nAdd web-hook on your repository:\r\n\r\nPOST `http://127.0.0.1:1997/hook/`\r\n\r\n\r\n`127.0.0.1` The IP to serve\r\n`1997` The port to serve\r\n\r\n## Screenshots\r\n\r\n![1](./docs/images/1.png)\r\n\r\n![2](./docs/images/2.png)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyjiacan%2Fgitage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyjiacan%2Fgitage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyjiacan%2Fgitage/lists"}