Efficient file deduplication with SHA-256 and Node.js
Build a local Node.js upload service with SHA-256 and SQLite, then test duplicate rejection, file cleanup, and persistence after a restart.
Tim Koschützki
Empower your development workflow with our curated collection of quick tips and practical tutorials. From file handling and image processing to API integration and open source tools, our dev tips cover a wide range of topics to enhance your coding skills and boost productivity. Whether you’re a beginner or an experienced developer, dive in to find efficient solutions for your projects.
Build a local Node.js upload service with SHA-256 and SQLite, then test duplicate rejection, file cleanup, and persistence after a restart.

Upload files to private DigitalOcean Spaces in C# with the AWS SDK for .NET, streamed transfers, byte verification, cancellation, and bounded retries.

Fix JPEG upload orientation in PHP with jpegtran. Handle all eight EXIF values, reject damaged files, and save a lossless copy without overwriting originals.

Classify browser uploads with Magika and Flask, enforce a PDF and image allowlist on the server, and keep feedback tied to the selected file.

Build a drag-and-drop HTML5 file uploader with a stable multi-file queue, per-file progress, failure results, and a runnable local Node.js receiver.
