Hi there đź‘‹

Welcome to Code Genos Computers, Programming and Development Blog
yt-dlp-console interactive terminal screenshot

yt-dlp-console: An Interactive CLI So You Never Memorize Flags Again

Every time I needed to download a video with yt-dlp, I’d end up Googling the same flags. So I built yt-dlp-console — an interactive terminal wrapper that guides you through the whole process without memorizing a single flag.

May 17, 2026 Â· 7 min Â· 1441 words Â· CodeGenos
React Error Boundaries: Handling Rendering Errors Gracefully

React Error Boundaries: Handling Rendering Errors Gracefully

Your React app showed a blank white screen — here is how to prevent it. Walk through rendering vs. runtime errors, class-based Error Boundary implementation, and the react-error-boundary library with practical code examples.

February 25, 2026 Â· 11 min Â· 2211 words Â· CodeGenos
How to Install a Private Docker Registry on Raspberry Pi with Portainer (Home Network)

How to Install a Private Docker Registry on Raspberry Pi with Portainer (Home Network)

Run your own private Docker image registry on a Raspberry Pi using Portainer. This guide uses HTTP only (no TLS) with basic auth enabled. You will deploy the registry and a web UI via a Portainer Stack, configure clients to allow an insecure registry, and verify everything works on your home network. Note: A registry is the server (e.g., registry:2). Repositories are image collections inside the registry. TL;DR Image: registry:2 Runs on LAN over HTTP: :5000 (no TLS) UI: joxit/docker-registry-ui:latest on :5001 Auth: htpasswd basic auth Persist storage: bind mount /var/lib/registry Clients: add 192.168.1.100:5000 to Docker insecure-registries Prerequisites Raspberry Pi 4/5 (ARM64 preferred) Raspberry Pi OS 64‑bit or another 64‑bit Linux Docker and Portainer CE installed on Raspberry Pi A stable hostname or IP (e.g., 192.168.1.100) Check architecture: ...

August 24, 2025 Â· 5 min Â· 980 words Â· CodeGenos
How to Self-Host n8n on Raspberry Pi 4 (ARM64) with Docker Compose

How to Self-Host n8n on Raspberry Pi 4 (ARM64) with Docker Compose

This guide shows a clean, reliable way to run n8n on a Raspberry Pi 4 using Docker Compose. 📝 Note: I want to use this setup primarily for AI workflows (transcription, summarization, RAG, content drafting). What is n8n? n8n is an open‑source, self‑hostable workflow automation tool. You build automations by connecting nodes in a visual editor: Triggers like webhooks, schedules/cron, IMAP, polling start a workflow; you transform data, branch logic, handle errors, and call services/APIs or databases. ...

August 16, 2025 Â· 5 min Â· 993 words Â· CodeGenos
Pass Docker Env Variables to Vite Containerized Vue.js on Docker Run

Pass Docker Env Variables to Vite Containerized Vue.js on Docker Run

Environment variables can only be used in Vue.js applications at build time and the variables are hardcoded in javascript files during build. When you build docker image for the Vue.js application, you use the same image for test and production environments. But the Vue.js application config values can be different in test and production environments. For example: api url configuration value. Since the variables are different in those environments you must pass the configuration values for test and production environments at docker run: ...

September 13, 2023 Â· 4 min Â· 768 words Â· CodeGenos