{"id":23820999,"url":"https://github.com/truesparrowsystems/ghost-static-website-generator","last_synced_at":"2025-09-07T03:31:21.681Z","repository":{"id":65158302,"uuid":"526503575","full_name":"TrueSparrowSystems/ghost-static-website-generator","owner":"TrueSparrowSystems","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-03T10:04:53.000Z","size":21,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-13T21:33:38.599Z","etag":null,"topics":["aws","ghost","static-site"],"latest_commit_sha":null,"homepage":null,"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/TrueSparrowSystems.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}},"created_at":"2022-08-19T07:21:00.000Z","updated_at":"2025-01-06T19:58:52.000Z","dependencies_parsed_at":"2023-02-19T17:45:31.961Z","dependency_job_id":null,"html_url":"https://github.com/TrueSparrowSystems/ghost-static-website-generator","commit_stats":null,"previous_names":["plg-works/ghost-static-website-generator"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/TrueSparrowSystems/ghost-static-website-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueSparrowSystems%2Fghost-static-website-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueSparrowSystems%2Fghost-static-website-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueSparrowSystems%2Fghost-static-website-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueSparrowSystems%2Fghost-static-website-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrueSparrowSystems","download_url":"https://codeload.github.com/TrueSparrowSystems/ghost-static-website-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueSparrowSystems%2Fghost-static-website-generator/sbom","scorecard":{"id":143998,"data":{"date":"2025-08-11","repo":{"name":"github.com/TrueSparrowSystems/ghost-static-website-generator","commit":"773032afb0770ce3006a4c305cf3c15ee586095e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":6,"reason":"Found 8/13 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating bash:5.1.16-alpine3.15 to bash:5.1.16-alpine3.15@sha256:b5549dc3a8db0e39b16ec48057b0849ec5493102c99d1b9ac0627a4d6d5a1770","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T08:57:33.243Z","repository_id":65158302,"created_at":"2025-08-16T08:57:33.243Z","updated_at":"2025-08-16T08:57:33.243Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273992354,"owners_count":25203725,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"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":["aws","ghost","static-site"],"created_at":"2025-01-02T08:19:40.521Z","updated_at":"2025-09-07T03:31:21.362Z","avatar_url":"https://github.com/TrueSparrowSystems.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ghost Static Website Generator\n\nGenerate static HTML files for custom ghost hosting and publish them on AWS S3 as static website.\nTo host the static blog site under a path `/blog` (`https://yourdomain.com/blog`), the ghost needs to be hosted with the same path like `https://content.yourdomain.com/blog`.\n\nIf your blog is hosted under `https://content.yourdomain.com` and you want to host the static website under `https://yourdomain.com/blog`, this is not possible. Same applies for the other way around.\n\nYou can also replace certain text from the generated static files by passing the following arguments `custom_replace_keys` and `custom_replace_values`. For more details, refer Inputs and Example usage section. It doesn't support the multiline replacement as of now.\n\nOptionally, you can either host the static files on AWS S3 or on AWS Amplify.\n\nTo host Static Blog on AWS S3, provide the following input parameters:\n\n- `s3_bucket_name` (Make the bucket publicly accessible and enable static web hosting)\n\n- `aws_access_key_id`\n\n- `aws_secret_access_key`\n\n- `aws_region`\n\nTo host Static Blog on already existing AWS Amplify application, provide the following input parameters:\n\n- `aws_amplify_app_id`\n\n- `aws_amplify_branch_name`\n\n- `aws_access_key_id`\n\n- `aws_secret_access_key`\n\n- `aws_region`\n\n## Inputs\n\n## `ghost_hosted_url`\n\n**Required** Ghost hosted URL endpoint. (`ex: https://content.yourdomain.com/blog`)\n\n## `ghost_static_host_url`\n\n**Required** URL endpoint where static files needs to be hosted. (`ex: https://yourdomain.com/blog`)\n\n## `custom_replace_keys`\n\n**Optional** Comma separated list of items that needs to be replaced from the items in custom_replace_values at the same index.\n\n## `custom_replace_values`\n\n**Optional** Comma separated associated values for the item in custom_replace_keys.\n\n## `root_index_jsonld`\n\n**Optional** Replace ld+json data in the root index file.\n\n\n## `breadcrumb_root_index_jsonld`\n\n**Optional** Add Breadcrumb ld+json data in the root index file.\n\n## `s3_bucket_name`\n\n**Optional** S3 bucket name to upload static HTML files.\n\n## `aws_access_key_id`\n\n**Optional** AWS access key Id.\n\n## `aws_secret_access_key`\n\n**Optional** AWS secret access key.\n\n## `aws_region`\n\n**Optional** AWS region.\n\n## `aws_amplify_app_id`\n\n**Optional** Amplify App id.\n\n## `aws_amplify_branch_name`\n\n**Optional** Amplify branch name.\n\n## Example usage\n\n```yaml\nname: Generate Static HTML files\nuses: TrueSparrowSystems/ghost-static-website-generator@v4\nwith:\n  ghost_hosted_url: \"https://content.yourdomain.com/blog\"\n  ghost_static_host_url: \"https://yourdomain.com/blog\"\n  s3_bucket_name: \"your-s3-bucket-name\"\n  aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} # Accessing it from the gihub secrets\n  aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # Accessing it from the gihub secrets\n  aws_region: \"us-east-1\"\n  custom_replace_keys: \"key_1, key_2, key_n\"\n  custom_replace_values: \"value_1, value_2, value_n\"\n```\n\n### _Locally build and run with docker_\n\n```bash\ndocker build -t ghost-swg .\ndocker run -it --env-file .env.sample ghost-swg\n```\n\n\u003e Make appropriate changes to the `.env.sample` file.\n\u003e To Persist the generated HTML files in local (host system) directory, use bind mount option with `docker run` command, For example: `-v /path/to/local/dir:/src/content`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruesparrowsystems%2Fghost-static-website-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruesparrowsystems%2Fghost-static-website-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruesparrowsystems%2Fghost-static-website-generator/lists"}