Detecting content type of uploaded files

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • filetype

    Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature

  • https://github.com/h2non/filetype if you want cross-platform, but magic is the best (https://github.com/rakyll/magicmime)

  • magicmime

    Go bindings for libmagic to detect MIME types

  • https://github.com/h2non/filetype if you want cross-platform, but magic is the best (https://github.com/rakyll/magicmime)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • mimetype

    A fast Golang library for media type and file extension detection, based on magic numbers

  • Good suggestions. What do you think of this. https://github.com/gabriel-vasile/mimetype

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts