RSS Amplifier

Blog

hackitude

Collection of various coding projects, mainly related to Linux, networking, security, C/C++, and Python development.

hackitu.deRSS feed ↗71 posts

Latest posts

Mini Docker sysinit

Minimal init daemon as container entrypoint. Manages multiple processes in parallel without needing Docker Compose or the often fragile shell script approach.

LLM Voice Assistant

Framework for running Ollama or GPT4All models with voice recognition and text-to-speech output. Designed to work completely offline and even on a Raspberry Pi.

NextCloud tasks API

Python library for managing todo lists on a NextCloud instance with the default Tasks app. Provides fully async access to the WebDAV API for managing iCal calendars.

NextCloud tasks TUI

Responsive console client for NextCloud todo lists, featuring convenient browsing and all common operations on lists and their tasks. Mouse support included.

ALSA MIDI Velocity Mapper

Adjust keystroke dynamics of MIDI NOTEON events from arbitrary input devices by mapping velocity values between ALSA sequencer i/o ports.

Mini SMTP forwarding relay

Simple python script that locally accepts any email and sends them to a remote server, unifying configuration and authentication without needing a real MTA.

Mini Git Docker Pipeline

Watch git repositories and trigger arbitrary pipelines such as docker build and run commands. Light on runtime resources and configuration overhead.

256 ANSI rainbow colors

The default 256 ANSI color palette is not well suited for picking colors or gradients. A simple transformation reveals the underlying rainbow spectrum.

MPD Dynamic Playlist Daemon

Watch the MPD playlist and automatically add similar songs before the queue runs out. Suggestions are based on LastFM or local heuristics such as genre tags.

Docker Container Status

Commandline utility to show container runtime information in a unified and readable way. Combines status, resource usage, process statistics, and docker logs.

Mini Ollama UI (Firefox Sidebar)

Flyweight chat UI with embedded web frontend, Ollama response streaming, conversation history, and Wikipedia API integration. Directly usable as Firefox chat panel, no dependencies needed.

KeePass Console Browser

Textual interface for the KeePass password manager databases. Provides convenient console access to KDBX files, as alternative to the lacking CLI support.

Syslog logsearch dashboard

Syslog server and built-in Web-GUI with a simple query language, statistics plotting, and alerts. Logs are maintained as JSON files, no databases are involved.

Maze Light-Tracer Game

Navigate the dungeons of a procedurally generated maze with real-time traced light effects. Noise textures and interactive light sources mark the way.

GeoIP database

Create MaxMind-compatible GeoIP databases for IP geolocation from scratch, using only freely available address registry information and Whois-based Geofeeds.

GeoIP Bulk Lookup

Free GeoIP country database available for download. Browser-local unlimited, private, and instant IP geolocation bulk lookups without API overhead.

Online subtitle syncer

Shift subtitles to be in sync with audio and video offset: Easily fix .srt files by adding or reducing the sub delay online. The first sentence can also start at a given point in time.

log2ban

Parse a log stream and track per-IP-address anomaly scores. An ipset is maintained for blocking subsequent access according to the configured ruleset and threshold.

Makefile Recipes

Collection of Makefile recipes, in especially for linting, testing, and documentation of projects with a Python or C/C++ pipeline.

Music library clustering

Clustering a music library into playlists while only using extracted audio features. Information retrieval methods such as PCA, Autoencoder, and k-Means are evaluated.

M3U Playlist Generator

Directly create playlists from arbitrary search queries on tag metadata in audio files. Crawl a music library directory, check expressions against tags, and output matches for M3U playlists.

Logfile merger

Merge multiple logfiles to a single log stream or file. The interleaved result will again be sorted by increasing timestamps. Input files can be decompressed on-the-fly.

DWD weather forecast parser

Parser for DWD open weather data into JSON. Detailed or simple worldwide hourly 10-day forecasts can be automatically generated without needing a special API.

Wäsche-Wetter

Germany-wide live weather forecasts for the potential of drying laundry ten days in advance. Helps to choose the day with the best conditions for hanging out the wash.

IMAP mailbox filter

Standalone IMAP mailbox filter tool that remotely sorts emails into folders according to centrally defined matching rules. Multiple accounts can be managed without additional software required.

HiFiBerry Interaction API

Extension to expose the HiFiBerryOS (Beocreate) message bus as Webhook-API for instrumentation of arbitrary frontend commands.

LLM PDF/ODT Translator

Proof-of-concept script for LLM-based offline document translation. Using a local Ollama chat API endpoint, context is given by chunking the past translation history.

OpenWrt-One VLAN Setup

How to set up basic VLAN network segmentation on the single OpenWrt-One LAN interface via LuCI.

Chromecast stream player

Small script for playing any stream URL on a Chromecast Audio, for example from MPD, VLC, or a web radio. Supports automatic discovery and direct connections.

MPD Dockerfile and Equalizer

Music Player Daemon via Docker including FFmpeg-based equalizer filter plugin without ALSA.

Configless Certbot Timer

Replace opaque LetsEncrypt certbot system configuration with a single timer commandline.

Instant Gitweb Daemon

Standalone wrapper for self-hosting a GitWeb frontend as simple and unified replacement for git-instaweb.

Dump Browser HAR Content

Extract response content from HAR files, which can be captured by browser developer tools.

Replace Firefox snap with apt

Ansible play to replace the controversial Firefox snap package on Ubuntu. The official Mozilla repository allows to use the .deb-based version via apt instead.

Xfce Greybird CSD theme

The default Xfce Greybird theme blends poorly with applications using Client-Side Decorations. A tweaked Xfwm theme provides better consistency and unified looks.

Moodbar Generator

Generate moodbars used by various music players to navigate audio tracks. RGB color bands are derived by using the Fourier transform as provided by Python’s librosa.

CGit GitHub-Theme

Modern GitHub-inspired theming for the CGit repository browser, featuring icons and dark mode. A dockerfile can bundle a full apache-based installation.

Matomo GeoIP Dockerfile

Build a Matomo image with GeoIP library and database support. Also stream from syslog for live on-premise analytics.

AWStats CSS Theme

Modernized AWStats theme stylesheet. More responsive towards high resolutions and with dark mode.

Cowsay UTF Borders

Nice borders for cowsay. Also features a small lolcat implementation.

Selfoss HTML Feed Plugin

Plugin for the self-hosted RSS reader Selfoss that extracts a feed from website content via XPath queries.

Pi-hole-like DNS Blocklist

Blocklists can also be directly used as hosts file for local resolvers, such as dnsmasq.

Local Volta Setup

The volta javascript tool manager installs user-wide per default by modifying shell settings. A confined per-project installation just requires a few variables.

Ranger themes and rgrep

Fully customizable colorscheme and recursive grep support for the Ranger console file manager.

Unix Domain Sockets with urllib

The standard Python HTTP client does not readily support Unix Domain Socket transport. However, urllib allows to override the underlying socket creation correspondingly.

MP3 tag rename

Bulk rename of media files according to tags. In addition to MP3, many other formats are supported.

WOFF webfont stripper

Optimize the size of WOFF webfonts by deleting glyphs for characters that will not be used. Also, the vertical alignment of icons can be fixed for proper textflow baseline placement.

OpenGL MD5 cracker

Entering the world of GPGPU by brute-forcing MD5 hashes using OpenGL compute shaders. The exhaustive search can be restricted to a certain character range.

HTTPS payload size profiler

Sniff HTTPS traffic using libpcap and estimate plaintext HTTP request and response sizes from ciphertext metadata. This information can then be used to guess or identify accessed resources.

IRC server

Lightweight and easily operable IRC daemon with SSL and systemd socket activation support. Allows for basic chat scenarios with essential IRC functionality.