You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
# niklasbaier.gitlab.io
1
+
# Dev Blog
2
2
3
3
Static personal website using [Hugo](https://gohugo.io/) and the [Blowfish](https://github.com/nunocoracao/blowfish) theme.
4
-
Deployed via GitLab pages to https://niklasbaier.gitlab.io/.
4
+
Deployed via GitHub pages to my custom domain https://niklastypes.xyz.
5
5
6
6
## Requirements
7
7
@@ -53,5 +53,5 @@ The respective `img/featured/*.svg` assets have been adapted as well:
53
53
54
54
## Comments
55
55
56
-
Article comments are powered by [Giscus](https://giscus.app/), which uses GitHub Discussions (of the [`dev-blog-comments repo`](https://github.com/niklasbaier/dev-blog-comments)) as the backend.
56
+
Article comments are powered by [Giscus](https://giscus.app/), which uses GitHub Discussions (of the [`dev-blog-comments repo`](https://github.com/niklastypes/dev-blog-comments)) as the backend.
57
57
Comments are enabled globally via `article.showComments` in `config/_default/params.toml`, and the Giscus widget is configured in `layouts/partials/comments.html`.
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
-`mdformat-frontmatter`: ignores any frontmatter; as the Markdown files get published to my [Hugo](https://gohugo.io/)-based [dev blog](https://niklasbaier.gitlab.io/), they require a certain *frontmatter*, e.g. to properly set the title, author, date and tags which would otherwise get formatted and hence become unusable; as there were some version conflicts amongst the different `mdformat` pre-commit hooks, I had to manually pin the version and exclude the hook altogether from `pre-commit-update`
55
+
-`mdformat-frontmatter`: ignores any frontmatter; as the Markdown files get published to my [Hugo](https://gohugo.io/)-based [dev blog](https://niklastypes.xyz/), they require a certain *frontmatter*, e.g. to properly set the title, author, date and tags which would otherwise get formatted and hence become unusable; as there were some version conflicts amongst the different `mdformat` pre-commit hooks, I had to manually pin the version and exclude the hook altogether from `pre-commit-update`
56
56
57
57
I have also specifically set the Python version to `3.13` for `mypy` and `ruff` to ensure consistent behavior with the overall project Python version.
58
58
@@ -79,7 +79,7 @@ That way, I will now only need to care about *which* changes I want to bundle in
79
79
80
80
## Custom `cz` & Verbose `CHANGELOG.md`
81
81
82
-
Speaking of the `CHANGELOG.md` - for this project, it plays an *exceptionally* important role. As you may have read in the [previous post](https://niklasbaier.gitlab.io/projects/momo/posts/v0.1.0-building-momo/#documentation--self-reflection), I am planning on **letting Momo write her own blog entries as some sort of reflection on her own development from her point of view**.
82
+
Speaking of the `CHANGELOG.md` - for this project, it plays an *exceptionally* important role. As you may have read in the [previous post](https://niklastypes.xyz/projects/momo/posts/v0.1.0-building-momo/#documentation--self-reflection), I am planning on **letting Momo write her own blog entries as some sort of reflection on her own development from her point of view**.
83
83
84
84
For this, obviously, Momo needs appropriate **context**. To start out, I hence want to provide Momo the `CHANGELOG.md` diff (or maybe even the full file for evolutionary context) as well as the actual code changes of the current increment.
85
85
@@ -101,7 +101,7 @@ Thus, when writing these developer diary entries, I can always refer to the actu
101
101
102
102
I could have been done here but I wanted to add just *one more thing*.
103
103
104
-
Reading a bit into how software releases are being done by bigger companies, I wanted to have a system in place where **one button** (the manual `bump-version` job trigger button in the GitLab UI) not only increments the project version signifying a step forward in the whole undertaking, but also takes care of doing a proper release as well as publish the "release notes" (aka my rambling) to [my dev blog](https://niklasbaier.gitlab.io/).
104
+
Reading a bit into how software releases are being done by bigger companies, I wanted to have a system in place where **one button** (the manual `bump-version` job trigger button in the GitLab UI) not only increments the project version signifying a step forward in the whole undertaking, but also takes care of doing a proper release as well as publish the "release notes" (aka my rambling) to [my dev blog](https://niklastypes.xyz/).
105
105
106
106
Hence, I added yet another `publish` stage to my CICD configuration with a `publish-dev-diary-entry` job that does the following:
Copy file name to clipboardExpand all lines: content/projects/momo/posts/v0.3.0-getting-chatty/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ authors:
8
8
- niklas
9
9
---
10
10
11
-
After all the setup work of the [previous post](https://niklasbaier.gitlab.io/projects/momo/posts/v0.2.0-project-setup/), it was finally time to get my hands dirty with the *actual* development - so let's jump right in!
11
+
After all the setup work of the [previous post](https://niklastypes.xyz/projects/momo/posts/v0.2.0-project-setup/), it was finally time to get my hands dirty with the *actual* development - so let's jump right in!
12
12
13
13
As **Momo will be utilizing a local LLM**, i.e. specifically *not* sending any API requests to model providers such as OpenAI, Google or Anthropic, I needed a way to easily download & invoke an open-source model. Luckily, [ollama](https://ollama.com/) provides a slim CLI client to do just that.
14
14
@@ -79,7 +79,7 @@ The big advantage of using a proper logger over Python's built-in printing capab
79
79
80
80
My logging framework of choice is [`structlog`](https://www.structlog.org/en/stable/) as it is using `dict`s as structured data formats to output information and comes with a set of sensible defaults out of the box. For now, all I'm logging, though, is the `MomoConfig` when starting a chat session.
81
81
82
-
As mentioned in [my first blog post on Momo](https://niklasbaier.gitlab.io/projects/momo/posts/v0.1.0-building-momo/#the-way-ahead), I'm having big plans on integrating various **graphical clients** to interact with Momo, such as Discord, and maybe even WhatsApp or a dedicated web app. However, **the CLI will always feel most natural to me** and "closest" to Momo.
82
+
As mentioned in [my first blog post on Momo](https://niklastypes.xyz/projects/momo/posts/v0.1.0-building-momo/#the-way-ahead), I'm having big plans on integrating various **graphical clients** to interact with Momo, such as Discord, and maybe even WhatsApp or a dedicated web app. However, **the CLI will always feel most natural to me** and "closest" to Momo.
83
83
84
84
Hence, I'm using [`typer`](https://typer.tiangolo.com/) as [the FastAPI of CLIs](https://typer.tiangolo.com/#fastapi-of-clis) to set up a **terminal-first entrypoint to interacting with Momo**. Wait, isn't Pydantic AI also [the FastAPI of GenAI app & agent development](https://ai.pydantic.dev/)? It's all connected!
0 commit comments