awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sindresorhus avatar

sindresorhus/file-type

0
View on GitHub↗
4,297 نجوم·395 تفرعات·JavaScript·MIT·2 مشاهدات

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.

سجل النجوم

مخطط تاريخ النجوم لـ sindresorhus/file-typeمخطط تاريخ النجوم لـ sindresorhus/file-type

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ File Type

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع File Type.
  • ahupp/python-magicالصورة الرمزية لـ ahupp

    ahupp/python-magic

    2,886عرض على 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
    عرض على GitHub↗2,886
  • apache/tikaالصورة الرمزية لـ apache

    apache/tika

    3,572عرض على 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
    عرض على GitHub↗3,572
  • danog/madelineprotoالصورة الرمزية لـ danog

    danog/MadelineProto

    3,344عرض على 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
    عرض على GitHub↗3,344
  • kreuzberg-dev/kreuzbergالصورة الرمزية لـ kreuzberg-dev

    kreuzberg-dev/kreuzberg

    8,527عرض على 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
    عرض على GitHub↗8,527
عرض جميع البدائل الـ 30 لـ File Type→

الأسئلة الشائعة

ما هي وظيفة 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.

ما هي الميزات الرئيسية لـ sindresorhus/file-type؟

الميزات الرئيسية لـ sindresorhus/file-type هي: 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.

ما هي البدائل مفتوحة المصدر لـ sindresorhus/file-type؟

تشمل البدائل مفتوحة المصدر لـ sindresorhus/file-type: 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,…