Building a blog with Git-crypt for private posts in a public repo
14 hours ago
- #blogging
- #simplicity
- #software-development
- The author discusses the allure of complexity in software development and how it often leads to over-engineering solutions.
- They share their experience building a personal blog with a focus on simplicity, avoiding unnecessary complexity like databases and web logins.
- Posts are stored as markdown files in a public GitHub repository, leveraging git-crypt for private/draft post encryption.
- Admin tooling is simplified with a CLI and API key authentication, avoiding the need for a full admin dashboard.
- The blog is built in Go, resulting in a lightweight, single binary deployment with server-side rendered HTML and plain CSS.
- The entire project is under 2000 lines of code, emphasizing minimalism and practicality.