MagikaEx Hex.pm VersionHex.pm Docs

MagikaEx is an Elixir wrapper for Magika, using Rustler.

This module is community-made and is NOT an official Google project.

Prerequisites

Installation

The package can be installed by adding magika_ex to your list of dependencies in mix.exs:

def deps do
  [
    {:magika_ex, "~> 0.1.0"}
  ]
end

Usage

iex> {:ok, result} = MagikaEx.identify_path("path/to/file")
...> IO.puts("Detected type: #{result.label}")

Support and Contribution

This module is experimental. I do not offer active support, so please use it at your own risk.

At this time, I am not accepting external contributions such as PRs or feature requests.

License

This project is licensed under the Apache License, Version 2.0.

Authors