Hacker News new | past | comments | ask | show | jobs | submit login
Device-detector: Universal Device Detection library from User Agent (github.com/matomo-org)
57 points by josephscott 9 hours ago | hide | past | favorite | 9 comments





I've got a more limited and performant library I maintain. It frequently comes in first in speed comparisons.

It can only tell you things actually included in the UA string itself as it's just be a parser and not a "knowledge engine"

https://github.com/donatj/PhpUserAgent


I have a bot I wrote to help me with various web tasks that are too tedious manually. I just tested it against this and it says "isbot: false".

edit: looks like it only detects bots that overtly identify themselves as bots, e.g. Googlebot -- it's designed to identify clients, not as some sort of security device


If you're looking for a Ruby implementation based on the same underlying user-agent parsing data, here you go: https://github.com/podigee/device_detector


PHP made it to the front page!

Good tool. I wish Google had gone even further with Chrome in reducing the information in the user agent. It seems like user agent is primarily used as a browser fingerprinting signal.

Indeed - its been years since browsing anonymity was possible (without rigorous opsec and inconvenience).

Does something similar exist for python or node.js ?

If not I would like to contribute to that as an open source.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: