CodeCraft Chronicles

Home

Bash: Unlocking the Xterm Color Palette
Nov 17, 2025

A Proposal for a Clearer Naming Convention Overview The Xterm 256-color palette contains several entries that map to the same X11 color name. These repetitions occur because multiple palette slots are mathematically close to the same X11 color value. To improve clarity and reduce ambiguity, this document proposes a simple, deterministic naming convention for repeated names. design

Bash: Automating Self-Hosting Git Repository Backups
Nov 10, 2025

Backing up your Git repositories is essential—not just for preserving your work, but for ensuring resilience in the face of hardware failures, accidental deletions, or other unexpected issues. Whether you’re managing personal projects or hosting code for a team, having a reliable backup strategy is non-negotiable. If you’re self-hosting Git using a platform like Gitea, this article introduces a robust and elegant Bash script that automates the entire backup process. code

Bash: Managing Bookmarks with Linkding and Podman
Nov 09, 2025

Managing personal bookmarks efficiently is essential for maintaining a clean and organized workflow, especially when working across multiple devices or projects. To achieve this, I use Linkding, a self-hosted bookmark manager, running inside a Podman container. This setup provides a lightweight, secure, and containerized way to manage and export my bookmarks. code

Js: Email Obsfrustration
Oct 25, 2025

Email harvesters and bots constantly scan the Internet for email addresses to add to spam lists. This increases the volume of unwanted emails. In this article, we’ll create a simple page using JavaScript to obfuscate email addresses while keeping them accessible to humans. Let’s go step by step. Background Cloudflare and other platforms obfuscate emails to prevent harvesting. code

CSS: Star Rating
Apr 10, 2023

Learn how to create a simple star rating look with only CSS and minimum HTML. We are going to use the data attribute and the before and after selectors. Check this step-by-step guide. Let´s Start. GOAL Create a rating system using minimum markup. HTML In orther to specify a rating we will use a span with a data attribute and a value from 1 to 5. design