MagikaEx 

MagikaEx is an Elixir wrapper for Magika, using Rustler.
This module is community-made and is NOT an official Google project.
Prerequisites
- Elixir 1.18+
- Erlang/OTP 26+
- Rust 1.92.0+
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"}
]
endUsage
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.