{"id":17928482,"url":"https://github.com/alifeee/blog","last_synced_at":"2026-02-06T04:03:44.931Z","repository":{"id":154634856,"uuid":"631938605","full_name":"alifeee/blog","owner":"alifeee","description":"HTML blog","archived":false,"fork":false,"pushed_at":"2025-12-13T17:24:58.000Z","size":263308,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-23T20:38:39.845Z","etag":null,"topics":["alpinejs","anchorjs","blog","giscus","google-fonts","zero-md"],"latest_commit_sha":null,"homepage":"https://blog.alifeee.co.uk/","language":"Jupyter Notebook","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/alifeee.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-24T11:31:54.000Z","updated_at":"2025-12-13T17:25:02.000Z","dependencies_parsed_at":"2023-10-11T00:29:24.824Z","dependency_job_id":"64da4d78-7791-4881-a612-3d417b34371b","html_url":"https://github.com/alifeee/blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alifeee/blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifeee%2Fblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifeee%2Fblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifeee%2Fblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifeee%2Fblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alifeee","download_url":"https://codeload.github.com/alifeee/blog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alifeee%2Fblog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29149611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"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":["alpinejs","anchorjs","blog","giscus","google-fonts","zero-md"],"created_at":"2024-10-28T21:03:23.746Z","updated_at":"2026-02-06T04:03:44.908Z","avatar_url":"https://github.com/alifeee.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alifeee's blog\n\nThis repo contains blog stuff that I write, as well as any code used to generate it. It can be found on [`blog.alifeee.co.uk`](https://blog.alifeee.co.uk)\n\n## Markdown\n\nMarkdown parsing is done using [`markedjs`](https://marked.js.org/). Install and use it using:\n\n```bash\n# install\nnpm install -g marked\n# use\nmarked file.md\n```\n\n...then I put the generated HTML into the file manually or use [a script](./2024/09/sellotape-dispenser/build.sh).\n\nTo add anchor link IDs, add the [`marked-gfm-heading-id`](https://github.com/markedjs/marked-gfm-heading-id) extension using:\n\n```bash\nnpm install -g marked-gfm-heading-id\n# add heading ID extension\n#   import { gfmHeadingId } from \"marked-gfm-heading-id\";\n#   marked.use(gfmHeadingId());\n# to add to CLI:\nsed -i '/import { marked } from /a import { gfmHeadingId } from \"marked-gfm-heading-id\";\\nmarked.use(gfmHeadingId());' /usr/alifeee/.nvm/versions/node/v20.18.0/lib/node_modules/marked/bin/main.js\n```\n\n## RSS Feed\n\nAn RSS feed is generated using [Python](./utilities.py/rss_feed.py) via [workflow](./.github/workflows/rss.yml). You can find (and subscribe to it) here: \u003chttps://blog.alifeee.co.uk/feed.xml\u003e.\n\n## Similar posts\n\nAfter every blog post there are a few \"similar posts\". The HTML for this section is automatically generated by the [similar_posts.yml workflow](./.github/workflows/similar_posts.yml) using the [embeddings.py](./utilities.py/embeddings.py) Python script. The way this is done is inspired by [Tom Hazledine's](https://tomhazledine.com) post: [TomBot2000: automatically generating related posts using LLMs](https://tomhazledine.com/llm-related-posts/). It uses OpenAI to generate a text embedding for each post and ranks them by similarity. The recommendations should update as new blog posts are posted.\n\n![Screenshot of website section, \"similar posts\", showing a couple of example posts.](images/similar_posts.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falifeee%2Fblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falifeee%2Fblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falifeee%2Fblog/lists"}