# MIME (Elixir)

> Read-only MIME type database for Elixir

Source: https://talira.ai/catalog/mime-elixir-3a048yz3
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / file type detection](https://talira.ai/categories/libraries/file-type-detection), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [elixir-plug](https://talira.ai/orgs/elixir-plug.md)

MIME is a read-only, immutable MIME type module for Elixir. It embeds a minimal database of MIME types to map types to file extensions and back, is built read-only for speed, and lets an app add its own types through compile-time configuration. [Plug](https://talira.ai/catalog/plug-em53kn6h.md) and Phoenix use it.

## Links

- GitHub: https://github.com/elixir-plug/mime
- Docs: https://hexdocs.pm/mime/

## Problems it solves

- get the MIME type for a file extension in Elixir
- find the file extension for a content type in an Elixir app
- register a custom MIME type in a Phoenix app

## Features

- map MIME types to file extensions and back
- embedded, read-only MIME database
- add custom types with compile-time configuration

## Trust

Overall: 0.36 out of 1.
Signals: maintenance 0.45, adoption 0.40, momentum 0.07, community 0.65, backing 0.30, extensibility 0.00.

- last commit 3 months ago
- 101 GitHub stars
- 41 contributors
- backed by elixir-plug

## Sources

[^1]: https://github.com/elixir-plug/mime/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/elixir-plug/mime/blob/master/LICENSE (checked 28 Nov 2026)
