{"id":19142840,"url":"https://github.com/peterszarvas94/lytepage","last_synced_at":"2026-05-19T03:04:58.771Z","repository":{"id":251491809,"uuid":"837580904","full_name":"peterszarvas94/lytepage","owner":"peterszarvas94","description":"lytepage - generate static site with go, markdown and templ","archived":false,"fork":false,"pushed_at":"2025-05-29T14:20:43.000Z","size":28221,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T01:14:42.754Z","etag":null,"topics":["go","golang","mardown","templ"],"latest_commit_sha":null,"homepage":"https://lytepage.peterszarvas.hu","language":"CSS","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/peterszarvas94.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,"zenodo":null}},"created_at":"2024-08-03T11:52:20.000Z","updated_at":"2025-05-29T14:20:45.000Z","dependencies_parsed_at":"2024-09-06T16:38:51.692Z","dependency_job_id":"33922768-9cf3-471a-8a2c-824546ffb5ad","html_url":"https://github.com/peterszarvas94/lytepage","commit_stats":null,"previous_names":["peterszarvas94/go-templ-blog-template","peterszarvas94/gossg","peterszarvas94/lytepage"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/peterszarvas94/lytepage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterszarvas94%2Flytepage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterszarvas94%2Flytepage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterszarvas94%2Flytepage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterszarvas94%2Flytepage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterszarvas94","download_url":"https://codeload.github.com/peterszarvas94/lytepage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterszarvas94%2Flytepage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267162476,"owners_count":24045502,"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-07-26T02:00:08.937Z","response_time":62,"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":["go","golang","mardown","templ"],"created_at":"2024-11-09T07:28:49.844Z","updated_at":"2026-05-19T03:04:58.724Z","avatar_url":"https://github.com/peterszarvas94.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lytepage\n\n## 1. Install\n\n```shell\ngo install github.com/peterszarvas94/lytepage@latest\n```\n\n## 1. Initialize a new project\n\n```shell\nlytepage init my-app\n```\n\n## 2. Write content\n\n`content/hello/world.md`\n\n```txt\n---\ntitle: \"Amazing article\"\n---\n\n## Hello world\n\nHow awesome this site is!\n\nLearn:\n\n- go\n- templ\n```\n\n## 3. Write template\n\n```js\ntempl PostPage(post *fileutils.FileData) {\n  \u003ch1\u003e\n    { post.Matter.Title }\n  \u003c/h1\u003e\n  \u003cdiv class=\"markdown-body\"\u003e\n    @fileutils.HtmlString(post.Html)\n  \u003c/div\u003e\n}\n```\n\n## 4. Generate (for static hosting)\n\n```shell\nmake gen\n```\n\nThe generated `public/hello/world/index.html`:\n\n```html\n\u003ch1\u003eAmazing article\u003c/h1\u003e\n\u003cdiv class=\"markdown-body\"\u003e\n\t\u003ch2\u003eHello world!\u003c/h2\u003e\n\n\t\u003cp\u003eHow awesome this site is!\u003c/p\u003e\n\n\t\u003cp\u003eLearn:\u003c/p\u003e\n\n\t\u003cul\u003e\n\t\t\u003cli\u003ego\u003c/li\u003e\n\t\t\u003cli\u003etempl\u003c/li\u003e\n\t\u003c/ul\u003e\n\u003c/div\u003e\n```\n\n## 5. Run locally\n\nSSR mode:\n\n```shell\nmake ssr\n```\n\nStatic mode:\n\n```shell\nmake static\n```\n\nNow `localhost:8080/hello/world` is serving your content\n\nDev mode - soon!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterszarvas94%2Flytepage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterszarvas94%2Flytepage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterszarvas94%2Flytepage/lists"}