{"id":24478902,"url":"https://github.com/holedaemon/static","last_synced_at":"2025-12-30T12:40:33.147Z","repository":{"id":272384919,"uuid":"915060885","full_name":"holedaemon/static","owner":"holedaemon","description":"A simple tool for scaffolding static sites","archived":false,"fork":false,"pushed_at":"2025-02-12T15:47:04.000Z","size":499,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-02-12T16:28:22.374Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/holedaemon.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}},"created_at":"2025-01-10T22:02:08.000Z","updated_at":"2025-02-12T15:47:09.000Z","dependencies_parsed_at":"2025-01-14T04:45:25.810Z","dependency_job_id":"dfe54c43-d1ab-4d9d-8ac4-2609ae579e17","html_url":"https://github.com/holedaemon/static","commit_stats":null,"previous_names":["holedaemon/static"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedaemon%2Fstatic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedaemon%2Fstatic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedaemon%2Fstatic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedaemon%2Fstatic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holedaemon","download_url":"https://codeload.github.com/holedaemon/static/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243615587,"owners_count":20319730,"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":"2025-01-21T10:13:57.332Z","updated_at":"2025-12-30T12:40:33.108Z","avatar_url":"https://github.com/holedaemon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# static\n\nA simple CLI tool used to quickly scaffold static sites.\n\n# Installation\n\n\u003e [!WARNING]\n\u003e `static` has only been used and tested on Linux\n\nWith the Go toolchain:\n\n```sh\n$ go install github.com/holedaemon/static\n```\n\n# Usage\n\nAssuming `static` is in your `$PATH`, run it once to generate a `static.json` file, which looks like:\n\n```json\n{\n    \"directory\": \".\",\n    \"title\": \"\",\n    \"description\": \"\",\n    \"author\": \"\",\n    \"address\": \"\",\n    \"use_sass\": true,\n    \"use_dprint\": true,\n    \"use_task\": true\n}\n```\n\nEdit to your liking and run `static` again to scaffold a project based on the given settings.\n\nOne can also configure `static` with environment variables by passing the `-e` flag. Loading variables from an adjacent file `.env` is also supported using the `-f` flag. Passing `-f` implicitly enables `-e`.\n\n```env\nSTATIC_DIRECTORY=.\nSTATIC_TITLE=\nSTATIC_DESCRIPTION=\nSTATIC_AUTHOR=\nSTATIC_ADDRESS=\nSTATIC_USE_SASS=true\nSTATIC_USE_DPRINT=true\nSTATIC_USE_TASK=true\n```\n\n# Structure\n\nSites generated with `static` are tailored specifically to how *I* write them, which is with [templated HTML](https://caddyserver.com/docs/caddyfile/directives/templates) and [Sass](https://sass-lang.com).\n\n```sh\nexample.com/\n├── Caddyfile\n├── dprint.json\n├── .gitignore\n├── include\n│   ├── head.html\n│   └── page.html\n├── index.html\n├── static\n│   └── font\n│       ├── ROBOTO_MONO.ttf\n│       └── ROBOTO.ttf\n├── style\n│   ├── abstract\n│   │   ├── _derived-variables.scss\n│   │   ├── _functions.scss\n│   │   ├── _initial-variables.scss\n│   │   ├── _mixins.scss\n│   │   └── _variables.scss\n│   ├── base\n│   │   ├── _base.scss\n│   │   ├── _fonts.scss\n│   │   └── _reset.scss\n│   └── main.scss\n└── Taskfile.yml\n```\n\n# License\n\n[LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholedaemon%2Fstatic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholedaemon%2Fstatic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholedaemon%2Fstatic/lists"}