MIME-type detector
MimeDetect is an experiment on writing a Node-module with Rust (using neon-bindings) and wrapping everything up into an Electron application.
Usage is pretty straightforward: you drop a file — you get its MIME-type. You can also drop multiple files or even a folder.
MimeDetect under the hood uses the infer module to check file’s MIME-type by one's byte signature. If the infer
fails, the module falls back to checking MIME-type by file’s extension against mime-db.
To set everything up, follow Neon’s official guide.
After that:
-
Run:
npm install && npm run package
This command will produce a ready-to-use application.
Distributed under the GPL-3.0 license. See LICENSE
for more information.