{"id":26323178,"url":"https://github.com/traceypooh/staticman","last_synced_at":"2026-06-29T07:31:23.344Z","repository":{"id":146364756,"uuid":"449860427","full_name":"traceypooh/staticman","owner":"traceypooh","description":"staticman deploy for allowing comments on a static site generator site/blog","archived":false,"fork":false,"pushed_at":"2025-03-20T05:45:52.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-20T14:49:19.288Z","etag":null,"topics":["hugo","static-site-generator","staticman"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/traceypooh.png","metadata":{"files":{"readme":"README.md","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,"zenodo":null}},"created_at":"2022-01-19T21:26:39.000Z","updated_at":"2025-02-22T15:38:20.000Z","dependencies_parsed_at":"2024-02-18T00:24:06.571Z","dependency_job_id":"de0574cd-8471-4bce-b062-3d544809d6e1","html_url":"https://github.com/traceypooh/staticman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/traceypooh/staticman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceypooh%2Fstaticman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceypooh%2Fstaticman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceypooh%2Fstaticman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceypooh%2Fstaticman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traceypooh","download_url":"https://codeload.github.com/traceypooh/staticman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceypooh%2Fstaticman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34918101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hugo","static-site-generator","staticman"],"created_at":"2025-03-15T17:16:46.466Z","updated_at":"2026-06-29T07:31:23.325Z","avatar_url":"https://github.com/traceypooh.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# staticman\n\nThis allows static site generators (eg: jekyll, hugo) to get comments into the website\n\nfrom https://staticman.net/docs/getting-started\n\nOpted for the recommended option for using a GitHub App\n\"Option 1. Authenticate as a GitHub application\"\n\nIts private key becomes secret `GH_PRIVATE_KEY` and the app ID becomes secret `APP_ID`.\n\nJust add those 2 GitHub Secrets (`APP_ID`, `GH_PRIVATE_KEY`) to your repo in the\n\n`Settings`: `Security`: `Secrets and variables`: `Actions`\n\nSee [entrypoint.sh](entrypoint.sh) for more details.\n\n\n## Issues needing fixes\n\nThe docs currently state that the GitHub Application ID in `config.production.json` is githubAppId; actually, it’s `gitHubAppID`.\n\n\n## ssh/rsa key details\n\nFor \"transport\" string encoding issues, making the pathway from GH Secrets to: nomad/orchestration to: env var inside the container,\nwe switch the `[NEWLINE]` chars to `[SPACE]` chars, and then swap the 1st \u0026 last `[SPACE]` chars\nto the string `\"NEWLINE\"`, eg:\n\n```txt\n-----BEGIN RSA PRIVATE KEY-----NEWLINE\u003cvalue with SPACE chars\u003eNEWLINE-----END RSA PRIVATE KEY-----\n```\n\nwith something like this:\n\n```sh\ncat RSA_PKEY.key |tr '\\n' ' ' |perl -pe 's/(KEY-----) /$1NEWLINE/; s/ (-----END)/NEWLINE$1/'\n```\n\nWe then later swap `\"NEWLINE\"` strings to \"\\\\n\" (newline characters) in the JSON file in [entrypoint.sh](entrypoint.sh) just before the `npm start` happens at the start of the container.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraceypooh%2Fstaticman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraceypooh%2Fstaticman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraceypooh%2Fstaticman/lists"}