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•9mo 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!

I (mostly AI) made a Supabase pentesting tool

https://github.com/BobTheShoplifter/supabase-pwn
1•BobTShoplifter•48s ago•0 comments

Show HN: Free, open-source native macOS client for di.fm

https://github.com/drmikexo2/DIBar-macOS
2•thucydides•2m ago•0 comments

Phoropter

https://github.com/lightward/phoropter
2•isaacbowen•2m ago•0 comments

Electric semi trucks can save fleets nearly $160,000 per truck

https://electrek.co/2026/02/28/real-world-test-electric-semi-trucks-can-save-fleets-nearly-160000...
1•breve•2m ago•0 comments

Minimal now supports 22 hardened container images

https://github.com/rtvkiz/minimal/blob/main/README.md
1•theoo21•4m ago•0 comments

The Windows 95 User Interface: A Case Study in Usability Engineering

https://dl.acm.org/doi/fullHtml/10.1145/238386.238611
2•ksec•4m ago•0 comments

The Great Transition

https://danielmiessler.com/blog/the-great-transition
1•jgrodziski•4m ago•0 comments

Iran's Ayatollah Ali Khamenei is killed in Israeli strike, ending 36-year rule

https://www.npr.org/2026/02/28/1123499337/iran-israel-ayatollah-ali-khamenei-killed
7•andsoitis•7m ago•0 comments

The Bitter Lesson is coming for AI products, not just AI research

https://wonderwhy-er.medium.com/niche-focus-saved-saas-startups-im-betting-my-ai-startup-on-the-o...
2•wonderwhyer•12m ago•1 comments

Building a Minimal Transformer for 10-digit Addition

https://alexlitzenberger.com/blog/post.html?post=/building_a_minimal_transformer_for_10_digit_add...
7•kelseyfrog•13m ago•0 comments

Ask HN: Builder.ai ($1B Microsoft-backed AI company) who's lookin at the assets?

2•gamelock•13m ago•0 comments

Runaway

https://domofutu.substack.com/p/runaway
3•wjb3•17m ago•0 comments

Ali Khamenei Is Dead

https://www.ynetnews.com/article/skie4tef11x
1•surume•17m ago•0 comments

Ask HN: Dora metrics exist for eng. Equivalent for AI in ops, finance, CS?

1•Poolyberat•18m ago•0 comments

Hypeman – Run Containerized Workloads in VMs, Powered by Cloud Hypervisor / QEMU

https://github.com/kernel/hypeman
2•crbelaus•19m ago•0 comments

Show HN: InstallerStudio – Create MSI Installers Without WiX or InstallShield

https://www.ionline.com/
2•pkailas•21m ago•0 comments

Show HN: Sampler Step Explorer – for understanding diffusion sampler updates

https://www.bryanthornbury.com/interactives/sampler-step-explorer/
1•bthornbury•21m ago•0 comments

Show HN: Pure Python web framework using free-threaded Python

https://github.com/grandimam/barq
1•grandimam•22m ago•0 comments

The Next Four Years, an experimental novel

https://thenextfouryears.ai
1•garof•23m ago•1 comments

Show HN: O-O – HTML/bash polyglot files that rewrite themselves (update)

1•jahala•23m ago•0 comments

Ask HN: How would you start a small private math circle for talented kids?

5•andrewstetsenko•25m ago•0 comments

Show HN: OpenGem – Free, self-healing load-balanced proxy for Google Gemini API

https://github.com/arifozgun/OpenGem
1•ariozgun•26m ago•0 comments

Ask HN: My YC company is hiring one engineer/day but there's not enough work

11•ta_jobstartup•27m ago•2 comments

Trump Says Iran's Supreme Leader Ayatollah Ali Khamenei Is Dead

https://www.bbc.com/news/live/cn5ge95q6y7t
5•tlogan•29m ago•0 comments

Intermittent fasting no better than typical weight loss diets

https://www.theguardian.com/science/2026/feb/16/intermittent-fasting-no-better-than-typical-weigh...
4•paulpauper•30m ago•1 comments

A World Where All Is Free? That's Elon Musk's Theory of Abundance

https://www.nytimes.com/2026/02/27/business/a-world-where-all-is-free-thats-elon-musks-theory-of-...
2•paulpauper•30m ago•2 comments

Amiga Alien Breed HD

https://old.reddit.com/r/amiga/comments/1rh7743/alien_breed_hd/
3•doener•31m ago•0 comments

My 24 Rules for Reading

https://www.honest-broker.com/p/my-24-rules-for-reading
2•paulpauper•31m ago•0 comments

Khamenei dead, say US and Israel

https://www.reuters.com/world/iran-crisis-live-explosions-tehran-israel-announces-strike-2026-02-28/
4•andrepd•32m ago•0 comments

What are GPS jammers and how do you combat them?

https://www.geotab.com/blog/combating-gps-jammers/
2•RyanShook•32m ago•0 comments