Skip to main content
Martin Hähnel

WhileDo: Mini-Cleanup Session

I had like 20 minutes so I thought I just do a little cleanup. The situation in the blog repo is absolutely mental: Since I moved from cloudflare to a docker-compose based setup and then just yesterday to a single Dockerfile based setup, there is lots of lose ends. Here's (part of) the situation in all its gory detail:

Screenshot of a monorepo in VS Code showing the folder structure. The root contains directories such as .github, .husky, .vscode, .wrangler, apps (with blog, blog-api, and cloudflare-blog-api inside), docker, docs, node_modules, scripts, and todos. Various configuration files like docker-compose.yml, Dockerfiles, Caddyfile, package.json, pnpm files, and README.md are also visible.

First things first: I'll get rid of the cloudflare-blog-api folder, as this is not used anymore. And also the .wrangler folder can go. I'll make sure that I don't accidentally delete anything important, but I never actually got around to backfill tests for it, otherwise there's nothing of importance here. Delete! The .github folder can go, too as I build my stuff on Coolify.

So that was the easy part. Next I'll look at the docs dir. These have been WIP-Documents mostly to remember where I was with the whole move thing. What I want to keep is the CHANGELOG.md which follows the format spec.

At the moment the first few lines read like this:

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### Removed

- removed .wrangler, .github and cloudflare-blog-api folders

## [2.0.0] - 2025-11-26 - Single-Image Coolify Deployment
[…]

Most of these files are obsolete, as most of the stuff is already done and documented in the changelog (or as blog posts) so I delete most of them. The only file kind of important is NEW_SETUP.md as it includes info on how to run the new Single-Image-Approach (described here). That we'll keep and move its contents in some form to the README.md.

Alright Time's up! Not that much done, but hey: It wasn't nothing either.