{"slug": "show-hn-i-wrote-a-program-that-hashes-files-into-poems", "title": "Show HN: I wrote a program that hashes files into poems", "summary": "A developer created a program called Rhymesum that generates five-line poems as file fingerprints by computing a BLAKE3 hash and using it to seed an LLM sampler. The toy project, which is not cryptographically secure, outputs poems instead of traditional checksums to represent file identity.", "body_md": "Note: This is a toy project and far from cryptographically safe, better don't use it in production.\n\nThis project lets you fingerprint your files using LLM-generated poems instead of hard-to-remember checksums. It computes a `BLAKE3`\n\nhash of the passed file, and based on that injects entropy in both the LLM sampler as well as the prompt itself. The output is a five-line poem representing a fingerprint of your file.\n\n```\nIn twilight's hush, a phantom sloped\nAcross the meadow's trembling rim\nA fleeting yodel echoed clear\nAs moonlight danced and stars drew near\nIn darkness's silence, all was grim\nIn a lovely abode I rest my head\nBehind an ancient obelisk I softly tread\nIn the still of night a player draws near\nShe shakes her tambourine and whispers sweet cheer\nThe stars above twinkle with gentle delight\n```\n\nBuild with `make`\n\n, then download `meta-llama-3.1-8b-instruct-q4_0.gguf`\n\nmodel using `bash download_model.sh`\n\n.\n\n```\nrhymesum <file>\n```\n\nThis project builds heavily on [llama.cpp](https://github.com/ggml-org/llama.cpp)", "url": "https://wpnews.pro/news/show-hn-i-wrote-a-program-that-hashes-files-into-poems", "canonical_source": "https://github.com/alebeck/rhymesum", "published_at": "2026-05-30 10:05:16+00:00", "updated_at": "2026-05-30 10:46:52.117636+00:00", "lang": "en", "topics": ["large-language-models", "generative-ai", "ai-tools"], "entities": ["BLAKE3", "meta-llama-3.1-8b-instruct-q4_0.gguf", "llama.cpp"], "alternates": {"html": "https://wpnews.pro/news/show-hn-i-wrote-a-program-that-hashes-files-into-poems", "markdown": "https://wpnews.pro/news/show-hn-i-wrote-a-program-that-hashes-files-into-poems.md", "text": "https://wpnews.pro/news/show-hn-i-wrote-a-program-that-hashes-files-into-poems.txt", "jsonld": "https://wpnews.pro/news/show-hn-i-wrote-a-program-that-hashes-files-into-poems.jsonld"}}