{"id":16808233,"url":"https://github.com/chasefleming/elem-ssg","last_synced_at":"2025-03-17T08:43:54.738Z","repository":{"id":211337603,"uuid":"728861913","full_name":"chasefleming/elem-ssg","owner":"chasefleming","description":"Go Static Site Generator Template","archived":false,"fork":false,"pushed_at":"2024-02-03T14:49:29.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-23T18:19:48.005Z","etag":null,"topics":["go","golang","ssg","static-site-generator"],"latest_commit_sha":null,"homepage":"","language":"Go","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/chasefleming.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-12-07T21:25:36.000Z","updated_at":"2024-03-06T23:33:30.000Z","dependencies_parsed_at":"2024-02-03T15:46:48.385Z","dependency_job_id":null,"html_url":"https://github.com/chasefleming/elem-ssg","commit_stats":null,"previous_names":["chasefleming/elem-ssg"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasefleming%2Felem-ssg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasefleming%2Felem-ssg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasefleming%2Felem-ssg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chasefleming%2Felem-ssg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chasefleming","download_url":"https://codeload.github.com/chasefleming/elem-ssg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244005177,"owners_count":20382434,"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":["go","golang","ssg","static-site-generator"],"created_at":"2024-10-13T09:56:07.066Z","updated_at":"2025-03-17T08:43:54.706Z","avatar_url":"https://github.com/chasefleming.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `elem-ssg` Template\n\nThis template is designed for building a static site generator using Go, featuring `elem-go` for HTML templating and `goldmark` for Markdown processing.\n\nTo learn more about these two libraries, check out the following links:\n\n- [elem-go](https://github.com/chasefleming/elem-go)\n- [goldmark](https://github.com/yuin/goldmark)\n\nFor a deeper walkthrough of how to use this template, check out the [elem-ssg tutorial](https://dev.to/chasefleming/building-a-go-static-site-generator-using-elem-go-3fhh).\n\n## Usage\n\nTo use this template, click the green \"Use this template\" button at the top of the page. This will create a new repository in your account with the contents of this template.\n\n### Prerequisites\n\nTo use this template, you will need to have Go installed on your machine. You can download Go from the [official Go website](https://golang.org/dl/).\n\n### Project Structure\n\n```\nyour-project/\n│\n├── main.go             # Main Go file for the generator\n├── posts/              # Directory for your Markdown posts\n├── public/             # Directory for generated HTML files\n└── go.mod              # Go module file\n```\n\n## Adding Content\n\nTo add content to your site, simply add Markdown files to the `posts/` directory. The generator will automatically convert these Markdown files to HTML files and place them in the `public/` directory.\n\nTo run the generator, use the following command:\n\n```bash\ngo run main.go\n```\n\n## Viewing Your Site\n\nTo view your site, open the `public/index.html` file in your browser.\n\n### Mac/Linux\n\n```bash\nopen public/index.html\n```\n\n### Windows\n\n```bash\nstart public/index.html\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchasefleming%2Felem-ssg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchasefleming%2Felem-ssg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchasefleming%2Felem-ssg/lists"}