frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Golang UniFi Network and Protect API CLI and Client

https://github.com/ClifHouck/unified
4•cliffy•1y ago
Ubiquiti recently added HTTPS REST APIs to their Network and Protect applications. While exploring what was available, I came across a pair of interesting endpoints that promised to stream Protect events like detections, motions, doorbell rings, etc. over a Websocket connection.

My UniFi doorbell works great, but I frequently miss the sound of the doorbell because the main chime is far from my workstation, plus I prefer to mostly silence my phone while I'm working. Physical UniFi Chimes are available, but are usually out of stock, and their price seems to keep going up! So my initial motivation was to write enough of a client to enable a doorbell application which would play a sound whenever a "ring" event was emitted by Protect's API.

A few dozen commits later, I found I had built a half decent client and CLI command utility for talking to the Network and Protect APIs. So I'm pleased to announce the initial v0.1.0 release of `unified`:

`unified` is a command line utility (and Golang client) for talking to UniFi Network and Protect APIs.

You can check out the code at: https://github.com/ClifHouck/unified

v0.1.0 supports the following:

UniFi Network API V1 is fully supported as of Network application version "9.1.120".

UniFi Protect API V1 is only partially supported, with the following endpoints supported:

- `/v1/meta/info`

- `/v1/subscribe/devices`: only partial type support.

- `/v1/subscribe/events`

- `/v1/cameras/`

- `/v1/cameras/{id}`

But I'm committed to working towards full Protect API V1 support.

I think there's a lot of potential for interesting uses of these APIs. Hopefully someone besides me finds this useful.

Disclaimer: This client is not in any way affiliated with Ubiquiti. I do not take any responsibility for any harm that may come to your device(s) by utilizing this client. Use at your own risk!

Show HN: Try Tryke – the Rust-powered Python test framework – in the browser

https://playground.tryke.dev/
1•jchap•58s ago•0 comments

XSS Is Deadly for Passkeys: The Hidden Risk of Attestation None

https://scotthelme.co.uk/xss-is-deadly-for-passkeys-the-hidden-risk-of-attestation-none/
1•moebrowne•1m ago•0 comments

Discovering Dennis Ritchie's Lost Dissertation (2020)

https://computerhistory.org/blog/discovering-dennis-ritchies-lost-dissertation/
1•theanonymousone•4m ago•0 comments

OpenBSD 7.9 Released

https://www.openbsd.org/79.html
4•bradley_taunt•4m ago•0 comments

LLMs: Code is just untrusted text until you validate it

https://hack8s.com/archives/244
1•justorius•4m ago•0 comments

Show HN: I built a linter for undocumented linter warnings. AI hates me now

https://github.com/BKDDFS/shamefile
1•BKDDFS•4m ago•0 comments

Make-No-Mistakes

https://github.com/thesysdev/make-no-mistakes
1•shantnutiwari•5m ago•0 comments

How Ukraine is driving doctrinal change in modern warfare

https://carnegieendowment.org/research/2026/04/ukraine-russia-war-changing-warfare-practice-milit...
1•mooreds•5m ago•0 comments

Show HN: BeaverCheck – Multi-region website audit with shareable result URLs

https://beavercheck.com/
1•apancyborg•6m ago•0 comments

The Chronicles of Prydain is the greatest fantasy series ever written (2017)

https://www.vox.com/2015/8/18/9166631/chronicles-prydain-alexander
1•mooreds•6m ago•1 comments

Trump started to decouple America from China

https://www.noahpinion.blog/p/trump-actually-started-to-decouple
1•mooreds•6m ago•0 comments

Ontario police using spyware that lets them remotely take over your smartphone

https://www.thestar.com/news/ontario/ontario-police-are-using-spyware-that-lets-them-remotely-tak...
2•marvinpinto•8m ago•0 comments

NYCHHC says hackers stole medical data and fingerprints during breach

https://techcrunch.com/2026/05/18/nyc-health-and-hospitals-says-hackers-stole-medical-data-and-fi...
2•bushwart•8m ago•1 comments

What Matters in Production RAG

https://arpitbhayani.me/blogs/rag-production/
1•ksasi•8m ago•0 comments

MagnoApi - i built a Memory Context API that gives memory to llms

https://magno-memory-api-production.up.railway.app/
1•MagnoApi•9m ago•0 comments

I built a searchable clipboard history with pins, labels, macros, and sync

https://boardclip.app/
1•tobq•10m ago•0 comments

Don Zagier's approximation of Markov's diophantine equation

https://www.johndcook.com/blog/2026/05/19/zagiers-equation/
1•ibobev•10m ago•0 comments

Bending, Yanking, and Cartesian Squares in Double Categories

https://bartoszmilewski.com/2026/05/18/bending-yanking-and-cartesian-squares-in-double-categories/
1•ibobev•11m ago•0 comments

Lambda Diagrams

https://buttondown.com/jaffray/archive/lambda-diagrams/
2•ibobev•11m ago•0 comments

Show HN: CANviz – open-source CAN analyzer, J1939/CANopen, pip install

https://github.com/Chanchaldhiman/CANviz
1•chanchaldhiman•11m ago•0 comments

AI coding made us faster. Why did incidents increase?

https://leaddev.com/ai/ai-coding-made-us-faster-why-did-incidents-increase
3•theanonymousone•11m ago•0 comments

Don't Outsource the Learning

https://twitter.com/i/status/2056078124346228860
2•redbell•12m ago•0 comments

Microsoft launches Surface Pro 12 and Surface Laptop 8 with Intel chips

https://www.theverge.com/news/933269/microsoft-surface-pro-12-surface-laptop-8-specs-pricing-rele...
2•el_duderino•13m ago•0 comments

What Do Gödel's Incompleteness Theorems Mean?

https://www.quantamagazine.org/what-do-godels-incompleteness-theorems-truly-mean-20260518/
1•Brajeshwar•13m ago•0 comments

IDF struggles to curb endless feed of soldiers posting misdeeds on social media

https://www.timesofisrael.com/idf-struggles-to-throttle-endless-feed-of-soldiers-posting-misdeeds...
26•hebelehubele•16m ago•8 comments

Comic Books seen in RoboCop (1987)

https://www.tumblr.com/bronzeaged/145292085969/comic-books-seen-in-robocop-1987-column-a
1•speckx•17m ago•0 comments

Raven Software Released Jedi Academy Source Code in 2013 Amid Dev Crunch Rage

https://github.com/grayj/Jedi-Academy
1•birdculture•20m ago•0 comments

Who Killed Nokia? Nokia Did

https://knowledge.insead.edu/strategy/who-killed-nokia-nokia-did
2•redbell•21m ago•2 comments

More Than Skills, Frameworks

https://github.com/mattpocock/skills
1•vdelpuerto•21m ago•0 comments

I tried every AI memory tool. Here's why I built another one

https://runmemento.com/blogs/i-tried-every-ai-memory-tool/
2•psraghuveer•21m ago•0 comments