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!

Artemis II astronauts take questions on their way toward the moon [video]

https://www.youtube.com/watch?v=f81dxqUauuk
1•majkinetor•48s ago•0 comments

Tldr: A local MCP gateway that cuts tool schema tokens by 86%

https://github.com/robinojw/tldr
1•robinojw_•1m ago•0 comments

Don't let Claude Code read your secrets: why you need to set up sandboxing today

https://ahmet.ee/your-claude-code-setup-is-probably-not-as-safe-as-you-think/
1•aozisik•1m ago•0 comments

Show HN: Nova v1.5.0 Gold Master – A pure C++17 assistant with zero dependencies

https://github.com/94BILLY/NOVA/releases
1•94BILLY•1m ago•0 comments

Boneyard: Generate pixel-perfect skeleton screens from your real DOM

https://github.com/0xGF/boneyard
1•steveharing1•2m ago•0 comments

Dance Your PhD

https://en.wikipedia.org/wiki/Dance_Your_Ph.D.
1•cainxinth•4m ago•0 comments

Meshoptimizer 1.1 released with meshlet compression and opacity micromaps

https://github.com/zeux/meshoptimizer/releases/tag/v1.1
1•mariuz•4m ago•0 comments

Audit Claude Platform Activity with the Compliance API

https://claude.com/blog/claude-platform-compliance-api
2•gmays•7m ago•0 comments

Show HN: I built a PHP-to-native compiler (written in Rust); now it runs DOOM

https://github.com/illegalstudio/elephc
1•nahime•8m ago•0 comments

Programming (with AI agents) as theory building

https://www.seangoedecke.com/programming-with-ai-agents-as-theory-building/
2•ingve•9m ago•0 comments

Kin-Code – Claude Code Reimplemented in Go (MIT, 12.5MB per Agent)

https://github.com/LocalKinAI/kin-code
1•localkin•10m ago•0 comments

Show HN: Locki – AI sandboxing for real-world projects

https://github.com/janpokorny/locki
1•PufPufPuf•11m ago•0 comments

Experts dispute US account of deadly Iran sports hall strike in Lamerd

https://www.bbc.co.uk/news/articles/c4gx8e1x5j3o
1•n1b0m•11m ago•0 comments

Anyone with a link can view your Granola notes by default

https://www.theverge.com/ai-artificial-intelligence/906253/granola-note-links-ai-training-psa
3•Brajeshwar•12m ago•0 comments

Half of planned US data center builds have been delayed or canceled

https://www.tomshardware.com/tech-industry/artificial-intelligence/half-of-planned-us-data-center...
3•speckx•12m ago•0 comments

UK's leading AI research institute told to make 'significant' changes

https://www.theguardian.com/technology/2026/apr/03/uk-alan-turing-institute-ai-research-underperf...
1•chrisjj•12m ago•0 comments

A pound of ground beef now costs more than the federal minimum wage

https://money.com/federal-minimum-wage-vs-ground-beef-cost/
2•darth_avocado•13m ago•1 comments

Netflix Void Model: Video Object and Interaction Deletion

https://github.com/Netflix/void-model
3•bobsoap•13m ago•0 comments

The More You Study Consciousness, the Weirder It Gets

https://www.nytimes.com/2026/03/31/opinion/eza-klein-podcast-michael-pollan.html
1•andsoitis•13m ago•0 comments

A 'wrench attack' crime ring chased crypto millions from S.F. to L.A

https://www.sfchronicle.com/crime/article/crypto-wrench-attack-home-invasion-22088091.php
1•mikhael•13m ago•0 comments

Building CodeWiki: Compiling Codebases into Living Wikis with LLMs

https://muhammadraza.me/2026/building-codewiki-compiling-codebases-into-living-wikis/
1•mr_o47•13m ago•0 comments

Smolerclaw – Another Personal Assistant

https://github.com/ktfth/smolerclaw
1•ktfth•13m ago•0 comments

Insider trading or random guy? It doesn't matter to Polymarket

https://www.theverge.com/business/905466/polymarket-kalshi-sponsored-content-insider-trading-x-in...
1•1vuio0pswjnm7•14m ago•0 comments

F-15 shot down over Iran, active search for crew

https://www.reuters.com/world/middle-east/us-fighter-jet-shot-down-over-iran-search-underway-crew...
7•throwawaybert•14m ago•0 comments

AI Agent Architecture Analysis

https://github.com/inceptionstack/agents-architecture/
1•royosherove•15m ago•0 comments

OpenAI's fall from grace as investors race to Anthropic

https://www.latimes.com/business/story/2026-04-01/openais-shocking-fall-from-grace-as-investors-r...
2•SilverElfin•15m ago•0 comments

Show HN: LoreSpec – Structured knowledge extraction from AI conversations

https://lorespec.org/
1•WasabiRichard•18m ago•0 comments

Micro – One endpoint. 30 tools. Any AI agent

https://micro.mu/developers.html
2•asim•21m ago•0 comments

Claude Code Writes Sensitive Data to Disk

https://rentierdigital.xyz/blog/claude-code-security-secrets-disk
1•dangtony98•22m ago•0 comments

More people requesting 'unvaccinated' blood for themselves or their children

https://www.cidrap.umn.edu/covid-19/more-people-requesting-unvaccinated-blood-themselves-or-their...
2•t-3•23m ago•0 comments