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•10mo 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: Applemail – Cursor skill for full macOS Mail.app control

https://github.com/Don-Yin/apple-mail
1•DonYin•28s ago•0 comments

A drop-in binary replacement to migrate from MinIO to RustFS

https://github.com/rustfs/rustfs/issues/2212
1•KevinatRustFS•47s ago•1 comments

Belgium launches secure messaging app for government staff

https://www.belganewsagency.eu/belgium-launches-secure-messaging-app-for-government-staff
1•whynotmaybe•1m ago•0 comments

Show HN: Elisym – Open protocol for AI agents to discover and pay each other

1•igor-peregudov•2m ago•0 comments

Switch on "Tap to Click"

https://practicalbetterments.com/switch-on-tap-to-click/
1•surprisetalk•2m ago•0 comments

Boolean Types (2024)

https://blog.xoria.org/boolean-types/
1•surprisetalk•2m ago•0 comments

Side-Effectful Expressions in C (2023)

https://blog.xoria.org/expr-stmt-c/
1•surprisetalk•3m ago•0 comments

LLMs Predict My Coffee

https://dynomight.net/coffee/
1•surprisetalk•3m ago•0 comments

The Anatomy of a Large-Scale Hypertextual Web Search Engine (1998) [pdf]

http://infolab.stanford.edu/pub/papers/google.pdf
1•droidjj•3m ago•0 comments

Show HN: Vestigo – A local Git forensics tool to find technical debt

https://www.3squaredcircles.com/GetStarted/
1•brokerandy25•4m ago•1 comments

Next.js vs. Wasp: Use 42% fewer tokens for the same app

https://twitter.com/hot_town/status/2034225417603764430
1•matijash•4m ago•0 comments

The Rise of the Self-Serve Blood Test

https://www.nytimes.com/2026/01/08/well/function-health-blood-tests.html
1•bookofjoe•5m ago•1 comments

Do you understand this billboard? If not, that's the whole point

https://www.npr.org/2026/03/18/nx-s1-5746115/billboards-san-francisco-tech-ai-advertising-marketing
1•ecliptik•6m ago•0 comments

TinyOp – Typed entity store with spatial queries, beats LokiJS by 36%

https://github.com/Baloperson/TinyOp
1•Displayusername•6m ago•1 comments

AI is making software development lonelier

https://www.lemm.dev/blog/en/dev/26-03-17-ailone/
1•314rate•6m ago•0 comments

Ignoring the Supply Curve: The Logic Behind Housing Supply Skepticism

https://shonczinner.substack.com/p/ignoring-the-supply-curve-the-logic
1•kjshsh123•7m ago•0 comments

Show HN: Hipocampus – Persistent memory harness for AI agents

https://github.com/kevin-hs-sohn/hipocampus
1•kevin-hs-sohn•7m ago•1 comments

Citing Conservation, Tanzania Pushes Ahead on Evictions of Indigenous Maasai

https://e360.yale.edu/digest/tanzania-maasai-evictions
1•YaleE360•8m ago•0 comments

Useful Values

https://lowercaseopinions.com/post/useful-values
1•benoitg•10m ago•0 comments

Machine Payments

https://docs.stripe.com/payments/machine
1•bpierre•10m ago•0 comments

Microwave quantum network shows resilience against heat-related disturbances

https://phys.org/news/2026-03-microwave-quantum-network-resilience-disturbances.html
1•Brajeshwar•11m ago•0 comments

The security risk of open source software

https://manafov.co/posts/the-security-risk-of-open-source-software
1•airbridgeflyer•11m ago•0 comments

Show HN: FileBit AES-256 file vault for macOS, zero network requests

1•aarush-prakash•12m ago•0 comments

Show HN: Faramesh – open-source runtime enforcement for AI agents

https://faramesh.dev/
1•brian_r_hall•12m ago•0 comments

OpenAI's First-Mover Disadvantage

https://www.theatlantic.com/ideas/2026/03/openai-economy-competition-anthropic/686420/
2•ecliptik•14m ago•0 comments

Terraform's unit of work is too large

https://stategraph.com/blog/terraform-unit-of-work
1•lawnchair•15m ago•0 comments

Twitter shareholder lawsuit against Musk goes to jury: 'Knew what he was doing'

https://nypost.com/2026/03/17/business/twitter-shareholder-lawsuit-accusing-elon-musk-of-driving-...
2•1vuio0pswjnm7•17m ago•0 comments

Secure Programming How to (2015)

https://dwheeler.com/secure-programs/
1•rramadass•19m ago•1 comments

`new Date()` Considered Harmful

https://futuresearch.ai/blog/javascript-thinks-everythings-a-date/
3•rgambee•20m ago•0 comments

Show HN: Site got cited by Claude and ChatGPT in under a week

https://www.superchargebrowser.com/
1•superchargeext•21m ago•0 comments