frontpage.
newsnewestaskshowjobs

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!

Open-source Shopify Hydrogen theme with RTL, internationalization, seeding CLI

https://github.com/ozgursagiroglu/shopify-hydrogen-fashion-theme
1•ozgursagiroglu•42s ago•1 comments

Rubygem typosquat campaign deploys Windows stealer

https://opensourcemalware.com/blog/stubmaker-rubygems-windows-infostealer
1•6mile•5m ago•0 comments

A Tour of Magit's Status Interface

https://heiwiper.com/posts/magit-status-tour/
1•birdculture•8m ago•0 comments

BanProof – AI that scans TikTok Shop videos for violation points before you post

https://banproof.io/
1•Pratham3690•9m ago•0 comments

Credentio: Open-Source C++ Library for C2PA Content Credentials from Google

https://developers.googleblog.com/introducing-credentio-open-source-c-library-for-c2pa-content-cr...
1•vinayakborkar•9m ago•0 comments

Silver Lake in talks to buy Workday, sources say

https://www.reuters.com/world/silver-lake-talks-buy-workday-sources-say-2026-08-13/
1•healsdata•11m ago•1 comments

Jason Steffen's Home Page

https://www.physics.unlv.edu/~jsteffen/airplanes.html
1•thunderbong•12m ago•0 comments

Dividend Puzzle

https://en.wikipedia.org/wiki/Dividend_puzzle
1•rzk•23m ago•0 comments

A 23-year-old founder built Radiant World into a $12B-a-year trading giant

https://www.msn.com/en-us/money/general/a-23-year-old-founder-built-radiant-world-into-a-12-billi...
1•petethomas•23m ago•0 comments

Enabling the next iteration of the borrow checker on nightly

https://blog.rust-lang.org/2026/08/04/enabling-polonius-alpha-on-nightly/
1•weinzierl•27m ago•0 comments

Stripe will reportedly acquire AI gateway startup OpenRouter for $7B+

https://techcrunch.com/2026/08/16/stripe-will-reportedly-acquire-ai-gateway-startup-openrouter-fo...
9•sbulaev•31m ago•2 comments

What Early Internet Hackers Understood That We Forgot [video]

https://www.youtube.com/watch?v=XHeMsXDyw2A
1•pierrephpguru•32m ago•0 comments

Agents Aren't Software

https://runta.com/blog/agents-arent-software/
2•jinqueeny•32m ago•1 comments

Show HN: Slick – I built a search engine where you control the ranking

https://slicksearchhq.com/
1•nox21125•35m ago•0 comments

The billionaire threatening to upend Wall Street

https://www.ft.com/content/cf87b6cd-f940-4b09-b072-7da36faa183f
1•petethomas•38m ago•0 comments

Single-User Inference Card

https://markohaberl.substack.com/p/single-user-inference-card
1•mhaberl•44m ago•1 comments

SINR: Signal-to-interference-plus-noise ratio

https://en.wikipedia.org/wiki/Signal-to-interference-plus-noise_ratio
2•teleforce•45m ago•0 comments

AI Slop Is Real

https://aichatspot.online/what-is-ai-slop-and-does-it-really-ruin-youtube/
1•coinpress•45m ago•0 comments

Anthropic CEO says the way for AI to win over the public is to cure cancer

https://www.businessinsider.com/anthropic-ceo-dario-amodei-ai-public-opinion-cure-cancer-2026-8
9•wertyk•48m ago•11 comments

Show HN: Punyecs – A puny ECS library based on class attributes and querying

https://github.com/Modular-Game-Components/punyecs
1•thyrgle•48m ago•0 comments

Frontier models, transparency and trust; a new golden age in research for some?

https://scholarlyfutures.substack.com/p/frontier-models-transparency-and
2•JohnHammersley•53m ago•0 comments

Show HN: TKeeper – OSS machine identities without a single point of compromise

https://tkeeper.org
1•_qnt•59m ago•0 comments

Show HN: ChatGPT and Claude export viewer that runs locally in the browser

https://www.vinaa.ai/tools/ai-chat-history-browser/
1•sujee•1h ago•0 comments

Ukraine Finds Nvidia AI Chip in New Russian Missile, HUR Says

https://www.kyivpost.com/post/82225
7•osivertsson•1h ago•1 comments

Nobody Knows Anything

https://www.strangeloopcanon.com/p/nobody-knows-anything
2•gtirloni•1h ago•0 comments

Off-Sprey

https://offsprey.com/
1•voidmain0001•1h ago•1 comments

Apologia for the Old Ball

https://ponnekanti.net/oldball/
1•reasonableklout•1h ago•0 comments

Smarter – open-source, declarative AI authoring platform (Django, K8s-inspired)

https://github.com/smarter-sh/smarter
1•lpm0073•1h ago•0 comments

Sperm whales in 19th century shared ship attack information – Whales

https://www.theguardian.com/environment/2021/mar/17/sperm-whales-in-19th-century-shared-ship-atta...
4•bilsbie•1h ago•1 comments

Show HN: I Turned Apple Calendar into Tetris

https://github.com/EvanZhouDev/calendar-tetris
2•EvanZhouDev•1h ago•0 comments