Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alifeee/blog

HTML blog
https://github.com/alifeee/blog

alpinejs anchorjs blog giscus google-fonts zero-md

Last synced: 23 days ago
JSON representation

HTML blog

Awesome Lists containing this project

README

        

# alifeee's blog

This 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)

## Markdown

Markdown parsing is done client side using [zero-md](https://github.com/zerodevx/zero-md). This is to avoid using a build step.

```html

...

...

...

...

```

## RSS Feed

An 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: .

## Similar posts

After 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.

![Screenshot of website section, "similar posts", showing a couple of example posts.](images/similar_posts.png)