frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Sleep external displays connected to a MacBook after closing lid

https://github.com/KristijanKocev/lidwatch
2•justAnotherHero•2h ago
LidWatch listens to the lid state of your laptop and does not allow the default clamshell behaviour where external displays stay awake if connected to a power source.

My previous solution included yanking the display cable out every time I wanted to close the lid and then plugging it back in.

After looking for an easy solution, I tried https://github.com/pirj/noclamshell but I didn't like the approach it took where it basically polled every 2 seconds and reacted to the lid state at the time of the poll. This + using a stale state reading led to a bug where it activated sleep mode with the lid open. I also did not want to install an app as I see this as a lightweight utility your turn on and forget, not something taking up menu bar space.

The way it works is by listening to native macOS state for power, external displays and the lid position, resulting in a noop if no power of external display is connected or sending the external display to sleep if all conditions are met. The cable still continues to charge the battery even with the lid closed.

Show HN: Agent Draw: An agent draws while you talk, built on TLDraw

https://techstackups.com/articles/tldraw-agent-draw/
44•jameswhitford•6d ago•15 comments

Show HN: Let your coding agent iterate by seeing the browser

https://github.com/puffinsoft/peek-cli
5•G3819•14m ago•0 comments

Show HN: Zen Mode – a global focus mode for macOS

https://github.com/cabeen/zen-mode
16•cafebeen•3h ago•6 comments

Show HN: Shirei, cross-platform GUI framework in native Go

https://github.com/hasenj/go-shirei/
75•hsn915•7h ago•45 comments

Show HN: WA State Tolls tool that shows the best time to take it to save money

https://watolls.danielsada.tech/
2•dshacker•47m ago•0 comments

Show HN: Codebase Posters – turn any Git repo into generative poster art

https://github.com/unable12/codebase-posters
5•unable0•1h ago•0 comments

Show HN: Hologram, photo management and culling built with Tauri

https://github.com/ThatXliner/Hologram
2•thatxliner•1h ago•0 comments

Show HN: PitchTrail – Perfect Pitch for Kids

https://pitchtrail.app/
5•theckel•2h ago•1 comments

Show HN: Mindwalk – Replay coding-agent sessions on a 3D map of your codebase

https://github.com/cosmtrek/mindwalk
146•cosmtrek•18h ago•62 comments

Show HN: Cpulse – See why your Docker Compose stack is stuck

https://github.com/hyturing/compose-pulse
2•hyturing•1h ago•0 comments

Show HN: Free Community Radio Player (PWA)

https://radiodock.app/
4•bitmancer•3h ago•0 comments

Show HN: Capn-hook for coding agents – don't grep the same mystery twice

https://github.com/cyrusNuevoDia/capn-hook
6•knrz•3h ago•1 comments

Show HN: Agent-run – Run a coding agent in a sandboxed environment

https://github.com/sin-ack/agent-run
5•trashburger•3h ago•1 comments

Show HN: Collaborative context-sharing memory platform for agents and teams

https://xysq.ai/
3•ximihoque•1h ago•1 comments

Show HN: Bananarr – Peel Back the Tech Stack of Any Website

https://bananarr.com/
2•ernsheong•2h ago•0 comments

Show HN: Sleep external displays connected to a MacBook after closing lid

https://github.com/KristijanKocev/lidwatch
2•justAnotherHero•2h ago•0 comments

Show HN: Nectar, a Rust-like React that compiles to WebAssembly

https://buildnectar.com
28•blakeburnette•6d ago•11 comments

Show HN: Personal Biohacking Lab

https://selfassay.com
2•ainthusiast•2h ago•0 comments

Show HN: Kurvengefahr – browser CAD/CAM for pen plotters

https://kurvengefahr.org/
17•tibordp•10h ago•5 comments

Show HN: Almanac – A self-updating wiki from your files

https://usealmanac.com
2•reveriedev•2h ago•0 comments

Show HN: Tenclicker – a WebLLM clicker game about whatever you want

https://tenclicker.com
2•mattcheston•2h ago•0 comments

Show HN: Skillscript – A declarative, sandboxed language for tool orchestration

https://github.com/sshwarts/skillscript
14•sshwarts•10h ago•17 comments

Show HN: Adaptive Recall, persistent memory for AI assistants over MCP

https://www.adaptiverecall.com/
20•abratabia•3h ago•4 comments

Show HN: A subjective AI eval. Arcade games built by AI

https://ai-arcade.app
2•zapeterson16•3h ago•0 comments

Show HN: Summarize – local-first tool that turns videos into notes

https://martino.im/Summarize
3•martinopiaggi•3h ago•0 comments

Show HN: Openleetcode – LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode/releases/tag/v1.0.2
2•therepanic•3h ago•0 comments

Show HN: Crawlie Search – Rust powered 12x cheaper site search than Algolia

https://www.crawlie.co/products/search
2•seandotexe•3h ago•1 comments

Show HN: Present of Time – gift someone your undivided time,phone in an envelope

https://presentoftime.com/
2•growt•3h ago•1 comments

Show HN: Lazysusan – run commands on your machines from anywhere with just curl

https://github.com/belugashark/lazysusan
2•ishaanmishra•3h ago•0 comments

Show HN: Artificiety – Agentic society in a fantasy world

https://artificiety.world
2•Haldt•4h ago•0 comments