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!

Show HN: PrettyMux, a Linux terminal for multitask workflows based on Ghostty

https://prettymux.com/
1•patrickaljord•1m ago•0 comments

How to Build a LLM from Scratch with Mary Shelley's "Frankenstein"

https://ordinaryintelligence.substack.com/p/how-to-build-a-llm-from-scratch
1•mldev_exe•2m ago•0 comments

Consciousness has a number. We derived it

https://medium.com/@maximus.veres/consciousness-has-a-number-we-derived-it-3c11d4facc61
2•old8man•3m ago•0 comments

Optimal Strategy for Connect 4

https://2swap.github.io/WeakC4/explanation/
1•marvinborner•8m ago•0 comments

Subvert – The Collectively Owned Music Marketplace

https://subvert.fm/
2•vectordust•9m ago•0 comments

Nuclear brinkmanship usually works. It's also dangerous

https://www.natesilver.net/p/nuclear-brinkmanship-usually-works
2•rurp•12m ago•0 comments

I built a deployment script shrine with Madoka Magica aesthetics

https://lets.deploy.re
1•DanielHall•13m ago•0 comments

How dangerous is Mythos, Anthropic's new AI model?

https://www.economist.com/business/2026/04/08/how-dangerous-is-mythos-anthropics-new-ai-model
2•jncraton•13m ago•0 comments

Israel kills 254 in Lebanon after US-Iran agree ceasefire

https://www.aljazeera.com/news/liveblog/2026/4/8/iran-war-live-trump-announces-truce-tehran-agree...
4•alexander2002•17m ago•0 comments

Linux gamers didn't do anything wrong, but they might pay for Windows piracy

https://www.xda-developers.com/linux-gamers-didnt-do-wrong-pay-windows-piracy/
1•speckx•17m ago•0 comments

For People with Autism, Can Restaurant Kitchens Be a Haven?

https://www.nytimes.com/2026/04/05/dining/autism-chefs-restaurants.html
1•bookofjoe•17m ago•1 comments

HappyHorse-1.0 hits #1 on Artificial Analysis video leaderboard

https://artificialanalysis.ai/video/leaderboard/text-to-video
1•informal007•17m ago•0 comments

Agent Self-Signup

https://inkbox.ai/blog/agent-self-signup
2•rayruizhiliao•18m ago•0 comments

Show HN: MiroTalk SFU

https://github.com/miroslavpejic85/mirotalksfu
1•ngup•20m ago•0 comments

USB for Software Developers: An introduction to writing userspace USB drivers

https://werwolv.net/posts/usb_for_sw_devs/
13•WerWolv•23m ago•0 comments

Core Flight System

https://etd.gsfc.nasa.gov/capabilities/core-flight-system/
1•jonbaer•24m ago•0 comments

Expanding Swift's IDE Support

https://swift.org/blog/expanding-swift-ide-support/
3•frizlab•24m ago•0 comments

Calling a Rust library from Go with CGO_ENABLED=0

https://stoolap.io/blog/2026/04/08/calling-a-rust-library-from-go-with-cgo-disabled/
1•murat3ok•34m ago•0 comments

Show HN: Safari MCP – Native macOS browser automation (80 tools)

https://github.com/achiya-automation/safari-mcp
2•Achiyacohen•34m ago•0 comments

I run three AdGuard Home instances (two local, one on a VPS)

https://the.unknown-universe.co.uk/privacy-security/the-dns-safety-net/
2•TheIPW•37m ago•1 comments

Show HN: An open-source Go CLI to generate local AWS cost reports

https://awsdoctor.compacompila.com/docs/reporting/
2•elC0mpa•38m ago•1 comments

I build a MCP-Tool to Give ChatGPT and Claude real access to your Linux servers

https://github.com/farukalpay/mcp-nexus
5•vivileo•44m ago•0 comments

Show HN: PostgreSQL running in a browser tab, persisting to S3

https://www.zerofs.net/postgresql-in-the-browser
1•Eikon•46m ago•0 comments

Record-Breaking Octopus Fossil Isn't an Octopus After All

https://nautil.us/this-record-breaking-octopus-fossil-isnt-an-octopus-after-all-1279608
2•Brajeshwar•47m ago•0 comments

Mac Plus Emulator on ESP32-S3

https://github.com/epatel/esp32_mac
2•epatel99•47m ago•1 comments

Aspect oriented data quality for dataflows

https://docs.tabsdata.com/latest/guide/data_quality/main.html
1•immortan_dag•50m ago•0 comments

RShow HN: Runiq – a composable diagram DSL with clean SVG output

https://docs.runiq.org/
1•jgreywolf•53m ago•1 comments

How to play Chopin piano pieces in just one year

https://docs.google.com/document/d/1G9MBPFnRx0pElZVMMPjOrEdZZptabEYYqhq7d-aDQvM/edit?usp=drivesdk
1•ronakmystery•54m ago•1 comments

The blue light from your phone isn't ruining your sleep

https://www.bbc.com/future/article/20260407-the-blue-light-from-your-phone-isnt-ruining-your-sleep
12•devonnull•56m ago•7 comments

With Orion still flying, NASA is nearing key decisions about Artemis III

https://arstechnica.com/space/2026/04/with-orion-still-flying-nasa-is-nearing-key-decisions-about...
9•LorenDB•58m ago•1 comments