{"id":15044747,"url":"https://github.com/nikku/hugo-cli","last_synced_at":"2025-04-07T06:07:39.321Z","repository":{"id":36293448,"uuid":"40597984","full_name":"nikku/hugo-cli","owner":"nikku","description":"Run hugo (the static site generator) painlessly from Node","archived":false,"fork":false,"pushed_at":"2024-10-23T17:11:47.000Z","size":281,"stargazers_count":25,"open_issues_count":0,"forks_count":14,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-29T23:04:35.869Z","etag":null,"topics":["cli","hugo","nodejs","static-site-generator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikku.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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},"funding":{"github":["nikku"]}},"created_at":"2015-08-12T11:52:24.000Z","updated_at":"2024-10-23T17:11:49.000Z","dependencies_parsed_at":"2024-06-18T16:56:19.707Z","dependency_job_id":"6b70830a-3700-41bf-aa22-d23750f62052","html_url":"https://github.com/nikku/hugo-cli","commit_stats":{"total_commits":139,"total_committers":15,"mean_commits":9.266666666666667,"dds":"0.17985611510791366","last_synced_commit":"ff45bfdfed5621ad5f0d35b791d3415e222f473f"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fhugo-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fhugo-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fhugo-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fhugo-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikku","download_url":"https://codeload.github.com/nikku/hugo-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601448,"owners_count":20964864,"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":["cli","hugo","nodejs","static-site-generator"],"created_at":"2024-09-24T20:50:59.057Z","updated_at":"2025-04-07T06:07:39.298Z","avatar_url":"https://github.com/nikku.png","language":"JavaScript","funding_links":["https://github.com/sponsors/nikku"],"categories":[],"sub_categories":[],"readme":"# hugo-cli\n\n[![CI](https://github.com/nikku/hugo-cli/actions/workflows/CI.yml/badge.svg)](https://github.com/nikku/hugo-cli/actions/workflows/CI.yml)\n\nA simple Node wrapper around [hugo, the static site generator](http://gohugo.io). It fetches the right hugo executable before piping all provided command line arguments to it.\n\n\n## Usage\n\n```bash\n$ npx hugo-cli -h\nINFO hugo not found. Attempting to fetch it...\nINFO fetched hugo v0.104.3\nINFO extracting archive...\nINFO hugo available, let's go!\n\nhugo is the main command, used to build your Hugo site.\n\nHugo is a Fast and Flexible Static Site Generator\nbuilt with love by spf13 and friends in Go.\n\nComplete documentation is available at http://gohugo.io/.\n\nUsage:\n  hugo [flags]\n  hugo [command]\n\n...\n```\n\n### Download specific hugo version\n\nIf you want to download a specific hugo version, you can set `HUGO_VERSION` env before you run the command.\n\n```bash\n$ HUGO_VERSION=0.64.0 npx hugo-cli version\n$ HUGO_VERSION=0.64.0/extended npx hugo-cli version\n```\n\n\n## Integrations\n\nAdd to your build scripts in `package.json` to build you site from NodeJS:\n\n```json\n  ...\n  \"scripts\": {\n    \"build\": \"hugo\"\n  },\n  \"dependencies\": {\n    \"hugo-cli\": \"*\"\n  },\n  ...\n```\n\nExecute directly via [`npx`](https://www.npmjs.com/package/npx):\n\n```bash\nnpx hugo-cli server\n```\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikku%2Fhugo-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikku%2Fhugo-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikku%2Fhugo-cli/lists"}