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

Posting on the Internet Frightens Me

https://adayinthelifeof.nl/2026/04/16/posting-on-the-internet.html
1•jaytaph•1m ago•0 comments

Dwarkesh Patel's Podcast with Nvidia CEO Jensen Huang

https://thezvi.substack.com/p/on-dwarkesh-patels-podcast-with-nvidia
1•7777777phil•1m ago•0 comments

Show HN: Xata, open-source Postgres platform with copy-on-write branches

https://github.com/xataio/xata
1•tudorg•2m ago•0 comments

Gemini can now create personalized AI images by digging around in Google Photos

https://arstechnica.com/ai/2026/04/gemini-can-now-create-personalized-ai-images-by-digging-around...
1•gpi•3m ago•0 comments

Claude Code injects hidden prompts into file reads to stop malware tweaks

https://twitter.com/adrian_cooney/status/2044827025379123597
3•adriancooney•4m ago•0 comments

Many-Step Sequences in Go

https://lesiw.dev/go/step/
1•zimpenfish•5m ago•0 comments

How to burn $30M on a JavaScript framework [video]

https://www.youtube.com/watch?v=ReAnFFqvCeA
1•PaulHoule•5m ago•0 comments

I Didn't Have the Markdown Editor I Wanted So I Vibecoded One in a Weekend

https://app.clarus.page/s/ead7fca03a9c40d2a4134cb8536f0332
3•jimjeffers•6m ago•1 comments

Nyquest – Open-source LLM token compression proxy in Rust (15–75% savings)

https://github.com/Nyquest-ai/nyquest-rust-fullstack-pub
1•256kmagic•7m ago•0 comments

What Are Skiplists Good For?

https://antithesis.com/blog/2026/skiptrees/
2•tanelpoder•8m ago•0 comments

Stop Using Toilet Paper

https://www.nytimes.com/2020/04/03/opinion/toilet-paper-hoarding-bidets.html
1•Anon84•8m ago•0 comments

Bypassing the kernel for 56ns cross-language IPC

https://github.com/riyaneel/Tachyon/tree/main/docs/adr
1•riyaneel•8m ago•0 comments

An Investor Dared Him to Quit School. Now He's Building a $1.5B AI Startup

https://www.wsj.com/tech/ai/an-investor-dared-him-to-quit-school-now-hes-building-a-1-5-billion-a...
3•kstrauser•8m ago•0 comments

Is Carbon Removal in Trouble?

https://www.technologyreview.com/2026/04/16/1135928/carbon-removal-microsoft/
1•Brajeshwar•8m ago•1 comments

Newton Diameters

https://www.johndcook.com/blog/2026/04/16/newton-diameters/
2•ibobev•9m ago•0 comments

Where the DOGE Operatives Are Now

https://www.wired.com/story/where-the-doge-operatives-are-now/
6•droidjj•9m ago•0 comments

Codex for Almost Everything

https://openai.com/index/codex-for-almost-everything/
32•mikeevans•10m ago•3 comments

Clojure on Fennel part two: immutable.fnl optimizations

https://andreyor.st/posts/2026-04-15-clojure-on-fennel-part-two-immutablefnl-optimizations/
2•ibobev•10m ago•0 comments

How to Automate Screenshot Naming on macOS Using AI

https://asleepace.com/blog/how-to-automate-screenshot-naming-macos/
2•asleepace•10m ago•1 comments

Pointer-Stable Dynamic Arrays

https://vectrx.substack.com/p/pointer-stable-dynamic-arrays
1•ibobev•10m ago•0 comments

Digital Tap AI: OSS agents to detect and stop idle cloud clusters

https://github.com/CruiseAI/digitaltap-oss
1•digitaltap•10m ago•0 comments

The People's Clock: A Timepiece Made of People

https://kottke.org/26/04/the-peoples-clock
2•evo_9•11m ago•0 comments

"Relative State" Formulation of Quantum Mechanics (1957)

https://web.archive.org/web/20111027191052/http://www.univer.omsk.su/omsk/Sci/Everett/paper1957.html
1•bookofjoe•11m ago•0 comments

AI that breaks, writes down why, and fixes itself by morning

https://duncangwood.substack.com/p/ai-that-breaks-writes-down-why-and
1•duncanwood•11m ago•0 comments

Agile Case Study: Designing Large-Scale Software for Reuse with an Auto Company

https://www.aptiv.com/en/insights/article/designing-large-scale-software-for-reuse-with-an-automo...
1•ohjeez•12m ago•0 comments

The iPhone Air was set up to fail, but it's still my favorite phone

https://starikov.co/iphone-air/
2•iusevim•14m ago•0 comments

Mastodon: Don't use "Mastodon" or "mstdn" in domain names

https://github.com/mastodon/mastodon/discussions/22785
3•kenniskrag•16m ago•2 comments

Making AI operational in constrained public sector environments

https://www.technologyreview.com/2026/04/16/1135216/making-ai-operational-in-constrained-public-s...
1•joozio•19m ago•0 comments

Show HN: Blades CSS – Framework-agnostic, class-light CSS⁺ kit inspired by Pico

https://github.com/anyblades/blades
1•anydigital•20m ago•0 comments

How GitHub uses eBPF to improve deployment safety

https://github.blog/engineering/infrastructure/how-github-uses-ebpf-to-improve-deployment-safety/
1•chmaynard•21m ago•0 comments