awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sindresorhus avatar

sindresorhus/file-type

0
View on GitHub↗
4,297 stele·395 fork-uri·JavaScript·MIT·2 vizualizări

File Type

file-type is a binary file type detector that identifies file extensions and MIME types by analyzing magic numbers and signature bytes in binary data. It functions as a magic number parser and MIME type resolver, mapping binary signatures to standardized media type strings.

The project is an extensible file format identifier that allows for the addition of custom detector plugins to recognize uncommon or non-binary file formats.

The engine supports binary format identification across various data sources, including buffers and data streams. It utilizes a supported format registry and provides mechanisms for asynchronous operation cancellation.

Features

  • Magic Byte File Identification - Identifies file types by analyzing header magic bytes to determine the appropriate file extension and MIME type.
  • Header-Only Extraction - Reads only the initial bytes of a data stream to identify the file type without loading the entire file into memory.
  • MIME Type Detection - Translates binary signatures into standardized internet media types using an internal lookup dictionary.
  • MIME Type Detectors - Identifies file extensions and MIME types by analyzing magic numbers and signature bytes in binary data.
  • Binary Buffer Inspections - Analyzes raw memory buffers and blobs to detect file signatures across various data sources.
  • Binary Stream Analysis - Analyzes incoming binary streams or blobs to identify the file type without needing to save the file first.
  • Dynamic MIME Type Resolvers - Maps binary file signatures to their corresponding standardized media type strings.
  • Format Detector Plugins - Provides a system to add custom plugins for recognizing uncommon file types or non-binary formats.
  • File Format Plugin Support - Allows the addition of specialized plugins to recognize uncommon or proprietary file types.
  • Plugin-Based Extensibility - Supports adding new file type definitions through external modules that implement a specific detection interface.
  • General Utilities - Detects file types from buffers.

Istoric stele

Graficul istoricului de stele pentru sindresorhus/file-typeGraficul istoricului de stele pentru sindresorhus/file-type

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru File Type

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu File Type.
  • ahupp/python-magicAvatar ahupp

    ahupp/python-magic

    2,886Vezi pe GitHub↗

    python-magic is a C-binding wrapper that provides a Python interface for the libmagic system library. It functions as a file signature analyzer and MIME type detector, identifying file formats by comparing header bytes against a database of known binary signatures. The library enables the identification of file types from both file paths and raw data buffers. It supports custom file signature matching through the injection of user-provided magic databases, allowing for the detection of specialized or proprietary formats. The project covers binary data analysis and MIME type mapping to transl

    Python
    Vezi pe GitHub↗2,886
  • apache/tikaAvatar apache

    apache/tika

    3,572Vezi pe GitHub↗

    Tika is a content analysis toolkit and Java library designed for detecting and extracting metadata and text from thousands of different file types. It functions as a universal document text extractor and metadata extraction engine, converting complex files into plain text or XHTML. The system employs a specialized MIME type detector that identifies document formats using magic bytes and metadata to determine the correct parser. It serves as an OCR integration gateway, connecting to external text recognition tools to extract content from image files. The project covers a broad range of extrac

    Javacontentextractionjava
    Vezi pe GitHub↗3,572
  • danog/madelineprotoAvatar danog

    danog/MadelineProto

    3,344Vezi pe GitHub↗

    MadelineProto is an asynchronous PHP library that provides a programmatic interface for interacting with the Telegram API using the MTProto protocol, the same protocol used by official Telegram clients. It functions as both a Telegram bot SDK and a userbot automation library, enabling PHP applications to connect to Telegram as either a bot account or a regular user account, sending and receiving messages, media, and other data directly without relying on the Bot API intermediary. The library is built on an event-driven architecture with Amp v3 fiber-based concurrency, allowing for non-blockin

    PHPamphpasyncbot
    Vezi pe GitHub↗3,344
  • kreuzberg-dev/kreuzbergAvatar kreuzberg-dev

    kreuzberg-dev/kreuzberg

    8,527Vezi pe GitHub↗

    Kreuzberg is a document extraction engine that converts PDFs, Office files, images, and over 90 other formats into clean, structured text and metadata. It is built around a compiled Rust core that can be used as a native library, a command-line tool, a REST API server, or a WebAssembly module for browser-based processing. The system is designed to run entirely on self-hosted infrastructure, with no data leaving the user's environment. What distinguishes Kreuzberg is its breadth of integration surfaces and its pipeline architecture. It exposes extraction capabilities through native bindings fo

    Rustdocument-intelligenceelixirffi
    Vezi pe GitHub↗8,527
Vezi toate cele 30 alternative pentru File Type→

Întrebări frecvente

Ce face sindresorhus/file-type?

file-type is a binary file type detector that identifies file extensions and MIME types by analyzing magic numbers and signature bytes in binary data. It functions as a magic number parser and MIME type resolver, mapping binary signatures to standardized media type strings.

Care sunt principalele funcționalități ale sindresorhus/file-type?

Principalele funcționalități ale sindresorhus/file-type sunt: Magic Byte File Identification, Header-Only Extraction, MIME Type Detection, MIME Type Detectors, Binary Buffer Inspections, Binary Stream Analysis, Dynamic MIME Type Resolvers, Format Detector Plugins.

Care sunt câteva alternative open-source pentru sindresorhus/file-type?

Alternativele open-source pentru sindresorhus/file-type includ: ahupp/python-magic — python-magic is a C-binding wrapper that provides a Python interface for the libmagic system library. It functions as… apache/tika — Tika is a content analysis toolkit and Java library designed for detecting and extracting metadata and text from… danog/madelineproto — MadelineProto is an asynchronous PHP library that provides a programmatic interface for interacting with the Telegram… kreuzberg-dev/kreuzberg — Kreuzberg is a document extraction engine that converts PDFs, Office files, images, and over 90 other formats into… file/file — File is a command-line utility and C library designed to determine the precise file format and media type of unknown… phiresky/ripgrep-all — ripgrep-all is a command-line utility that extends ripgrep to perform regular expression searches across binary files,…