{"id":37153933,"url":"https://github.com/stone/zs","last_synced_at":"2026-01-14T18:04:23.515Z","repository":{"id":27526587,"uuid":"31007633","full_name":"stone/zs","owner":"stone","description":"Absolutely minimal static site generator in Go (powers http://zserge.com)","archived":false,"fork":true,"pushed_at":"2014-12-05T21:59:55.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T12:07:07.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"zserge/zs","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stone.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":"2015-02-19T09:00:15.000Z","updated_at":"2015-02-19T09:00:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stone/zs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stone/zs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone%2Fzs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone%2Fzs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone%2Fzs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone%2Fzs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stone","download_url":"https://codeload.github.com/stone/zs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone%2Fzs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28429453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-14T18:04:22.898Z","updated_at":"2026-01-14T18:04:23.507Z","avatar_url":"https://github.com/stone.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"zs\n==\n\nzs is an extremely minimal static site generator written in Go.\n\nIt's inspired by `zas` generator, but is even more minimal.\n\nThe name stands for 'zen static' as well as it's my initials.\n\n## Features\n\n* Zero configuration (no configuration file needed)\n* Cross-platform\n* Highly extensible\n* Easy to learn\n* Fast\n\n## Installation\n\nDownload the binaries from Github or build it manually:\n\n\t$ go get github.com/zserge/zs\n\n## Ideology\n\nKeep your texts in markdown format in the root directory of your blog/site.\n\nKeep all service files (extensions, layout pages, deployment scripts etc)\nin the `.zs` subdirectory.\n\nDefine variables in the header of the markdown files:\n\n\ttitle: My web site\n\tkeywords: best website, hello, world\n\n\tMarkdown text goes after a *newline*\n\nUse placeholders for variables and plugins in your markdown or html\nfiles, e.g. `{{ title }}`.\n\nWrite extensions in any language you like and put them into the `.zs`\nsubdiretory.\n\nEverything the extensions prints to stdout becomes the value of the\nplaceholder.\n\nExtensions can use special environment variables, like:\n\n* `$ZS` - a path to the `zs` executable\n* `$ZS_OUTDIR` - a path to the directory with generated files\n* `$ZS_FILE` - a path to the currently processed markdown file\n* `$ZS_URL` - a URL for the currently generated page\n\nYou can also pass command line arguments, e.g: `{{ my-plugin arg1 arg2 }}`\n\n## Example of RSS generation\n\n## Hooks\n\nThere are two special plugin names that are executed every time the build\nhappens - `pre` and `post`. You can define some global action here like compile\nyour LESS to CSS etc:\n\n\t# .zs/post\n\n\t#!/bin/sh\n\tlessc \u003c $ZS_OUTDIR/styles.less \u003e $ZS_OUTDIR/styles.css\n\trm -f $ZS_OUTDIR/styles.css\n\n## Command line usage\n\n`zs build` re-builds your site.\n\n`zs watch` rebuilds your site every time you modify any file.\n\n`zs var \u003cfilename\u003e [var1 var2...]` prints a list of variables defined in the\nheader of a given markdown file, or the values of certain variables (even if\nit's an empty string).\n\n## License\n\nThe software is distributed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstone%2Fzs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstone%2Fzs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstone%2Fzs/lists"}