Topic: "magic-numbers"
sindresorhus/file-type
Detect the file type of a file, stream, or data
Language: JavaScript - Size: 87 MB - Last synced at: about 12 hours ago - Pushed at: about 12 hours ago - Stars: 3,951 - Forks: 380

h2non/filetype
Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature
Language: Go - Size: 9.12 MB - Last synced at: 5 days ago - Pushed at: about 1 month ago - Stars: 2,182 - Forks: 184

gabriel-vasile/mimetype
A fast Golang library for media type and file extension detection, based on magic numbers
Language: Go - Size: 23.4 MB - Last synced at: 5 days ago - Pushed at: 9 days ago - Stars: 1,782 - Forks: 167

bryanjclark/SwiftTweaks
Tweak your iOS app without recompiling!
Language: Swift - Size: 9.04 MB - Last synced at: 19 days ago - Pushed at: over 1 year ago - Stars: 1,437 - Forks: 144

danielstjules/buddy.js
Magic number detection for JavaScript
Language: JavaScript - Size: 96.7 KB - Last synced at: 19 days ago - Pushed at: over 5 years ago - Stars: 879 - Forks: 24

h2non/filetype.py
Small, dependency-free, fast Python package to infer binary file types checking the magic numbers signature
Language: Python - Size: 3.73 MB - Last synced at: 17 days ago - Pushed at: 8 months ago - Stars: 690 - Forks: 114

povils/phpmnd
PHP Magic Number Detector
Language: PHP - Size: 409 KB - Last synced at: 11 months ago - Pushed at: 11 months ago - Stars: 545 - Forks: 46

ua-nick/fleep-py
File format determination library for Python
Language: Python - Size: 119 KB - Last synced at: 3 days ago - Pushed at: 11 months ago - Stars: 262 - Forks: 39

JuliaIO/FileIO.jl
Main Package for IO, loading all different kind of files
Language: Julia - Size: 2.31 MB - Last synced at: 5 days ago - Pushed at: about 2 months ago - Stars: 221 - Forks: 81

tommy-muehle/go-mnd
Magic number detector for Go.
Language: Go - Size: 1.45 MB - Last synced at: 19 days ago - Pushed at: over 1 year ago - Stars: 196 - Forks: 21

zRedShift/mimemagic
Powerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, XML document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database.
Language: Go - Size: 14.8 MB - Last synced at: 20 days ago - Pushed at: over 1 year ago - Stars: 100 - Forks: 11

file-validator/file-validator
The first Python validation package uses type, mime, extension, magic numbers, and size to validate files. ✅
Language: Python - Size: 11.9 MB - Last synced at: 18 days ago - Pushed at: about 2 months ago - Stars: 68 - Forks: 3

liamg/magic
:tophat::rabbit2: Toolkit for detecting and verifying file type using magic bytes in pure Golang
Language: Go - Size: 125 KB - Last synced at: 27 days ago - Pushed at: over 1 year ago - Stars: 25 - Forks: 8

SoftCreatR/php-mime-detector
Detect a file's mime type using magic numbers.
Language: PHP - Size: 98.6 KB - Last synced at: 18 days ago - Pushed at: 8 months ago - Stars: 24 - Forks: 4

JuliaIO/FileTypes.jl
Small and dependency-free Julia package to infer file and MIME type checking the magic numbers signature.
Language: Julia - Size: 3.64 MB - Last synced at: 8 days ago - Pushed at: over 1 year ago - Stars: 18 - Forks: 2

DavidBuchanan314/magic-numbers
magically import magic number constants
Language: Python - Size: 17.6 KB - Last synced at: 4 days ago - Pushed at: 4 months ago - Stars: 16 - Forks: 2

rzashakeri/django-audio-validator
Django audio validator that verifies the mime and extension of audio files.
Language: Python - Size: 20.2 MB - Last synced at: 13 days ago - Pushed at: over 2 years ago - Stars: 15 - Forks: 4

0xbrock/FileTypeChecker Fork of mjolka/filetypes
File Type Checker is a .Net file identification library allowing developers to verify the file's magic numbers/identifying bytes against a whitelist.
Language: C# - Size: 4.76 MB - Last synced at: 12 months ago - Pushed at: almost 6 years ago - Stars: 14 - Forks: 7

jiro4989/filetype
Small and dependency free Nim package to infer file and MIME type checking the magic numbers signature.
Language: Nim - Size: 1.45 MB - Last synced at: 27 days ago - Pushed at: over 1 year ago - Stars: 11 - Forks: 1

maitag/whatformat
little haxe library that detects various formats by parsing header or filename
Language: Haxe - Size: 16.6 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 10 - Forks: 3

enlnt/kdb-magic
UNIX "file" command's magic patterns for kdb+ files.
Language: Shell - Size: 19.5 KB - Last synced at: about 2 years ago - Pushed at: almost 8 years ago - Stars: 8 - Forks: 0

ArcanaFramework/fileformats
a Python package for the specification, validation and manipulation of file formats and types
Language: Python - Size: 2.61 MB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 6 - Forks: 0

liqueurdetoile/blob-compare
Small library to quickly compare two blobs based on blob attributes and fallback to binary string conversion
Language: JavaScript - Size: 4.9 MB - Last synced at: 3 days ago - Pushed at: about 2 years ago - Stars: 6 - Forks: 0

pH-7/PHP-type-names
👉 "PHP type names" contains the list of constants for all PHP data types, to avoid hardcoding them 👌
Language: PHP - Size: 35.2 KB - Last synced at: 18 days ago - Pushed at: over 2 years ago - Stars: 6 - Forks: 1

skyandrd/magic-numbers
Lets check some magic numbers!
Language: JavaScript - Size: 77.1 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 5 - Forks: 0

dingusdev/vgdatainspect
A simple file inspector for video games
Language: Python - Size: 334 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 5 - Forks: 4

SoranRad/MimetypeDetective
A simple library to find mimetype of a file, stream or buffer array via magic numbers in the header content. It contains over 480 samples that as hardcoded in the library. Detect mimetype of an extension string or mimetype string like “rar”, “exe”,” image/gif” …. It is possible to add more mimetypes in the library to detect files related to them. In fact, this library finds the mimetype via magic numbers.(https://20devs.com/find-mimetype/)
Language: C# - Size: 106 KB - Last synced at: almost 2 years ago - Pushed at: almost 2 years ago - Stars: 5 - Forks: 5

isfett/php-analyzer
:mag: PHP-Analyzer
Language: PHP - Size: 2.67 MB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 5 - Forks: 3

nathan-watson-uk/FiSiPy
FiSiPy is a tool used to analyse and check a file type using file signatures (magic numbers).
Language: Python - Size: 37.1 KB - Last synced at: about 1 year ago - Pushed at: about 3 years ago - Stars: 5 - Forks: 1

ffdev-info/signature-development-utility
PRONOM, DROID Signature Development Utility source code.
Language: PHP - Size: 407 KB - Last synced at: 4 months ago - Pushed at: over 4 years ago - Stars: 5 - Forks: 1

ppai-plivo/go-mime-lib-compare
Comparison of Go MIME type detection libraries
Language: Go - Size: 15.6 MB - Last synced at: almost 2 years ago - Pushed at: over 5 years ago - Stars: 5 - Forks: 0

geofmureithi-zz/filetypes
Filetypes is a Javascript library that helps you validate or guess the file and mine types of files using magic numbers
Language: JavaScript - Size: 7.81 KB - Last synced at: 9 days ago - Pushed at: over 7 years ago - Stars: 4 - Forks: 5

vicajilau/file_magic_number
A Flutter package to detect file types based on their magic number instead of MIME types. Supports Flutter on mobile, desktop, and web without native code.
Language: Dart - Size: 774 KB - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 3 - Forks: 1

gaurav-gogia/v-valid
A simple library for validating & checking file types. Written in V
Language: V - Size: 1.85 MB - Last synced at: about 1 year ago - Pushed at: over 5 years ago - Stars: 3 - Forks: 1

shinnn/is-cwebp-readable
Check if a Buffer/Uint8Array is available for cwebp image source
Language: JavaScript - Size: 87.9 KB - Last synced at: 17 days ago - Pushed at: over 6 years ago - Stars: 3 - Forks: 1

t1st3/is-mkv
Check if a Buffer/Uint8Array is a MKV video
Language: JavaScript - Size: 1.05 MB - Last synced at: 20 days ago - Pushed at: almost 5 years ago - Stars: 2 - Forks: 0

t1st3/is-7z
Check if a Buffer/Uint8Array is a 7Z archive
Language: JavaScript - Size: 74.2 KB - Last synced at: 20 days ago - Pushed at: almost 5 years ago - Stars: 2 - Forks: 0

Aptivi/Magico
Magic tricks for C# libraries
Language: C# - Size: 13.3 MB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 1 - Forks: 0

Oldes/Rebol-Identify
Rebol3 identify function which identifies file types using their magic numbers.
Language: Rebol - Size: 2.51 MB - Last synced at: 7 days ago - Pushed at: 26 days ago - Stars: 1 - Forks: 0

duck123acb/magic-numbers
My code to generate magic numbers for magic bitbaords
Language: Rust - Size: 805 KB - Last synced at: 8 months ago - Pushed at: 8 months ago - Stars: 1 - Forks: 0

dgelessus/magic_additions
A set of custom "magic files" for the Unix file command
Language: Makefile - Size: 38.1 KB - Last synced at: about 2 months ago - Pushed at: about 2 years ago - Stars: 1 - Forks: 0

KillovSky/Telegraph
Repositorio do módulo de upload de imagens no Telegraph.
Language: JavaScript - Size: 13.7 KB - Last synced at: 7 days ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 0

canaryGrapher/checkFiler
A python script to find the file extension and details of an unknown file by comparing the magic numbers of the unknown file to the existing database
Language: Python - Size: 323 KB - Last synced at: 17 days ago - Pushed at: about 3 years ago - Stars: 1 - Forks: 1

t1st3/is-rpm
Check if a Buffer/Uint8Array is a RPM file
Language: JavaScript - Size: 67.4 KB - Last synced at: 8 days ago - Pushed at: almost 5 years ago - Stars: 1 - Forks: 0

stefanov-sm/base64-image-viewer
base64 image viewer
Language: PHP - Size: 231 KB - Last synced at: 15 days ago - Pushed at: over 5 years ago - Stars: 1 - Forks: 0

gaurabb/ipvl-csharp
Input Validation Library - C#
Language: C# - Size: 60.5 KB - Last synced at: over 1 year ago - Pushed at: almost 8 years ago - Stars: 1 - Forks: 0

surenpoghosian/code-diagnose
A tool to analyze project files for software antipatterns.
Language: TypeScript - Size: 89.8 KB - Last synced at: 5 days ago - Pushed at: 8 months ago - Stars: 0 - Forks: 0

prestonyford/http-cache-parser
Inspect the HTTP cache of browsers or online game clients and preview image or audio assets of different formats using their file signatures.
Language: JavaScript - Size: 857 KB - Last synced at: 9 months ago - Pushed at: 9 months ago - Stars: 0 - Forks: 0

kurotom/filesignaturecollectors
Information collectors on 'magic numbers'.
Language: Python - Size: 37.1 KB - Last synced at: about 1 month ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

someodd/filesig
Discern a file's type by its file signature/magic number using pure Haskell.
Language: Haskell - Size: 45.9 KB - Last synced at: over 1 year ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 2

hikarii-flow/FileSignatureAnalyzerJS
Find the MIME type of files in a directory via Node.js command-line and generate a .csv that lists all files and their filetypes.
Language: JavaScript - Size: 9.77 KB - Last synced at: 9 months ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

ChrisV26/Wizard-Card-Game-Counter
Track-Pad App for the Wizard Card Game
Language: Java - Size: 2.9 MB - Last synced at: about 1 year ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

gaurav-gogia/filestructures
A list of all filetypes with their header and footer values
Size: 8.79 KB - Last synced at: about 1 year ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 1

devv3899/Artificial-Malloc
Implementation of our own version of the system's malloc and free that provides the same basic functionality as of malloc() and free() and it also detects common programming and usage errors.
Language: C - Size: 80.1 KB - Last synced at: over 1 year ago - Pushed at: about 6 years ago - Stars: 0 - Forks: 0

Alhadis/GuessSig
Display matching byte sequences in file headers.
Language: JavaScript - Size: 9.77 KB - Last synced at: about 1 month ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 1

mikeauclair/aoc2017
Zero-refactor rough stabs at 2017 AOC problems
Language: Go - Size: 109 KB - Last synced at: about 2 years ago - Pushed at: over 7 years ago - Stars: 0 - Forks: 0

albttx/MagicNumber
Find the magic number
Language: Ruby - Size: 1.95 KB - Last synced at: about 1 year ago - Pushed at: about 9 years ago - Stars: 0 - Forks: 0
