{"id":28994046,"url":"https://github.com/m8rmclaren/website","last_synced_at":"2025-09-10T07:36:13.952Z","repository":{"id":300057409,"uuid":"778101402","full_name":"m8rmclaren/website","owner":"m8rmclaren","description":"My personal website written with Templ + HTMx, served by Go (full SSR)","archived":false,"fork":false,"pushed_at":"2025-08-23T17:15:59.000Z","size":8711,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T23:46:10.983Z","etag":null,"topics":["go-echo","htmx","ssr","templ"],"latest_commit_sha":null,"homepage":"https://haydenroszell.com","language":"templ","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/m8rmclaren.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-03-27T04:33:40.000Z","updated_at":"2025-08-23T17:16:03.000Z","dependencies_parsed_at":"2025-08-23T20:09:50.095Z","dependency_job_id":"a48b45cc-2d94-42e3-9169-601aaa1d104a","html_url":"https://github.com/m8rmclaren/website","commit_stats":null,"previous_names":["m8rmclaren/website"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/m8rmclaren/website","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m8rmclaren%2Fwebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m8rmclaren%2Fwebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m8rmclaren%2Fwebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m8rmclaren%2Fwebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m8rmclaren","download_url":"https://codeload.github.com/m8rmclaren/website/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m8rmclaren%2Fwebsite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274426903,"owners_count":25283083,"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-09-10T02:00:12.551Z","response_time":83,"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-echo","htmx","ssr","templ"],"created_at":"2025-06-25T03:10:33.054Z","updated_at":"2025-09-10T07:36:13.943Z","avatar_url":"https://github.com/m8rmclaren.png","language":"templ","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" style=\"border-bottom: none\"\u003e\n    Welcome to my Personal Website\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003c!-- Badges --\u003e\n  \u003cimg alt=\"GitHub Actions Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/m8rmclaren/website/website-rc.yml?branch=main\u0026style=flat-square\u0026label=build\"\u003e\n  \u003cimg alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/m8rmclaren/website?include_prereleases\u0026style=flat-square\u0026label=version\u0026color=%234876A2\"\u003e\n  \u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/m8rmclaren/website?style=flat-square\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003c!-- TOC --\u003e\n  \u003ca href=\"https://haydenroszell.com\"\u003e\n    \u003cb\u003eView Live\u003c/b\u003e\n  \u003c/a\u003e\n  ·\n  \u003ca href=\"#building-locally\"\u003e\n    \u003cb\u003eBuilding Locally\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Building Locally\n\n[`libvips`](https://github.com/libvips/libvips) must be installed on the system running the website binary. This \nlibrary is used by the image optimizer to serve correctly sized images to the browser upon request. `libvips` is written in \nC and is dynamically linked to the website binary at compile time. The `libvips` API is consumed in Go using bindings \ngenerated by [vipsgen](https://github.com/cshum/vipsgen). The bindings are not committed to Git since the version of `libvips`\ncould vary by system.\n\n```shell\n# Install libvips \u0026 generate bindings\nbrew install vips pkg-config\ngo install github.com/cshum/vipsgen/cmd/vipsgen@latest\nvipsgen -out ./vips\n```\n\nThe website uses [`templ`](https://templ.guide/) to render HTML fragments \u0026 compose them into cohesive web pages.\nTempl is a code generator with a pipeline that renders `templ` files to `go` files. The generated Go files are not\ncommitted to Git \u0026 are generated before compiling. \n\n[`air`](https://github.com/air-verse/air) is a live-reload tool that watches for changes in files \u0026 automatically \nre-compiles the project for dev.\n\nThe website uses [Tailwind CSS](https://tailwindcss.com/docs/installation/tailwind-cli) as a utility-first CSS framework\nand must be installed before `air` can run.\n\n```shell\ngo install github.com/a-h/templ/cmd/templ@latest\ngo install github.com/air-verse/air@latest\n\nnpm ci\n```\n\nOnce dependencies are installed, run `init.sh`:\n\n```shell\n./init.sh\n\n# Prompts you to run 'source .env'\nsource .env\n```\n\nNow you can run `dev` from your command line as a convenient TUI tool to interact with the website for dev. Use\narrow keys and `return` to interact with the menu.\n```shell\n❯ dev\n╭────────────────────────────────────────────────────────────────────────────────────╮\n│ Select verb:                             ╭───────────────────────────────────────╮ │\n│   2/2 ────────────────────────────────── │ start_website_dev                     │ │\n│   Verbs                                  │                                       │ │\n│ ▌ start                                  │                                       │ │\n│   build                                  │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          │                                       │ │\n│                                          ╰───────────────────────────────────────╯ │\n╰────────────────────────────────────────────────────────────────────────────────────╯\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm8rmclaren%2Fwebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm8rmclaren%2Fwebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm8rmclaren%2Fwebsite/lists"}