Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 554 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 554 Bytes

uml hdxir

This small Elixir app is a port of HandsetDetection Python api kit and it detects device specs from UA and returns them as JSON.

To start the app:

  • Install dependencies with mix deps.get
  • Install Python and these libraries tornado, dogpile.cache, PyYAML
  • Install the device database hd.installArchive('hd.zip')
  • Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000/?ua=iPhone from your browser.