frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I think WebRTC is better than SSH-ing for connecting to Mac terminal from iPhone

https://macky.dev
38•Sayuj01•3h ago

Comments

Sayuj01•3h ago
I wanted a way to access my mac terminal from my iphone without setting up any vpn or weird router rules and then buying a separate ssh app in app store. So I built macky.dev as a fun side project.

When the mac app is running it makes an outbound connection to my signaling server and registers itself under the account. iPhone also connects to this same signaling server to request a connection to this mac. Once both the host and remote are verified it establishes a direct p2p webrtc connection.

drum55•2h ago
What portion of the security-critical code is written by a human? A shell is literally keys to the kingdom in every regard.
yoavm•1h ago
If you're using tmux, you can try my plugin https://github.com/bjesus/muxile . It sends your tmux session to your phone, with quick QR code scanning and WebSockets.
ronsor•1h ago
The pricing is extremely steep for a tech-savvy audience that could just set up Tailscale or MOSH.
RIMR•1h ago
Especially for a tool that only work on macOS and iPhone, and only serves one purpose.

Pretty much every developer out there has some kind of tooling that does this already, that also does more.

This is a cool little project, but I cannot imagine paying for it.

snowhale•50m ago
yeah Tailscale + mosh is the obvious answer for most people. but WebRTC has one specific win: corporate networks that block all VPN/UDP traffic. mosh needs UDP, Tailscale needs its relay port at minimum. WebRTC's TURN fallback is pure HTTPS port 443 -- you literally can't block it without breaking the web. so if your target user is 'I need to SSH into my Mac from a locked-down enterprise wifi', WebRTC is actually the right call.
frizlab•42m ago
In the company where my father works some HTTPS services are blocked too…
ronsor•40m ago
Honestly, at that point I'd just run SSH over WebSockets with websocat. WebRTC only adds extra complexity. Tailscale DERP relay servers also run over port 80/443 anyway.
jodrellblank•21m ago
> "pure HTTPS port 443 -- you literally can't block it without breaking the web."

Sure you can, you do Man In The Middle certificate inspection and then filter it aggressively like it was HTTP; that's the product companies like ZScaler offer, and basically any business/enterprise firewall device - internet filtering to protect your company and prevent or detect data exfiltration and malicious activity. Or perhaps you could say that does 'break the web' but companies do it anyway and pay a lot of money so they can do it. (ZScaler is a $23Bn market cap company).

artpar•50m ago
Here is an implementation you might like

https://github.com/artpar/terminal-tunnel

P2P with webrtc (pion ftw) with e2ee

client side is webui so you can use on any device

ps: the default Cloudflare Worker from my account is already maxed out so you will need your own exchange (self host on your account)

foxmoss•32m ago
Looking at their website it seems they're trying to target a slightly less tech savvy audience which are interested in checking on agents while away. Someone willing to blow cash on overpriced AI subscriptions, I could see justifying blowing money on this.
tty456•1h ago
How do you do data transfer with only blind signaling when either user is behind a NAT?
rubyn00bie•1h ago
I’m not sure I get why this is better. Something like Tailscale makes it trivial to connect to your own machines and is likely more secure than this will be. Tailscale even has a free plan these days. Combine that with something like this that was shared on HN a few days ago: https://replay.software/updates/introducing-echo

Then you’re all in for like $3. What about webRTC makes this better?

spzb•1h ago
What guarantee is there that the connection is not being MitM? Closed source app from an unknown developer versus OpenSSH is a no-brainer to me.
pelzatessa•1h ago
In no serious case have I ever considered connecting to my PC terminal using phone. Connecting from PC to phone makes sense, but when talking the opposite situation, phones simply are terrible at doing things from terminal. Keyboard takes roughly 40% of the screen, and displaying wide lines is awkward. Forget about TUI applications, Midnight Commander and such. Other than toying around and extreme emergencies, why?
xeornet•1h ago
Conveniently running Claude Code while sitting on the toilet?
frizlab•40m ago
Hello, hemorrhoids!
LoganDark•1h ago
It's better to have it and not need it than need it and not have it (emergencies come to mind, as you've noted).
lynndotpy•1h ago
Do you have an Android or an iPhone?

IMO terminals are still the fastest way to do a lot of things on a phone, but it's a much better experience on Androids with keyboards for the purpose.

And even on an iPhone, it's just fine. Python works really well as a shell for quick calculations, and you can use a script with the -i flag to make it more accessible.

QuantumNomad_•1h ago
I use ssh from my phone to my computer to run yt-dlp on YouTube videos that I want to save.

And I regularly ssh into my servers from my phone to run some small routine tasks.

Both these kinds of tasks involve extremely minimal amounts of typing, and little to no reading of output. So the small keyboard of the phone is not annoying, and neither is having a small screen.

devmor•1h ago
The keyboard is the biggest problem. I actually did a lot of terminal management from my old Blackberry, and later the Samsung Moment (early Android phone with a slide-out physical keyboard).
notRobot•1h ago
Shell In A Box has been a thing for like two decades now, and gives you a simple web-based interface ssh interface you can use from any device. https://github.com/shellinabox/shellinabox
gnabgib•1h ago
Title: Connect to Mac Terminal from iPhone
thisislife2•34m ago
Yeah. I wonder why HN has become lax about enforcing the original title rule? I can understand editing the title to meet the character limit or remove hyperbole or make it less click-baity. But some changes really don't make sense - a recent HN Post ( https://news.ycombinator.com/item?id=47111039 ) was titled "The AI apocalypse for enshitification has started", where as the original title is "Large US company came after me for releasing a free open source self-hostable alternative!" - I am sure the original title would have got it more attention here.
starkparker•1h ago
Previously:

https://news.ycombinator.com/item?id=47122939 (yesterday, 3 points, 4 comments)

https://news.ycombinator.com/item?id=47103613 (Sunday, 1 point, 0 comments)

badgersnake•1h ago
No, use wireguard or ssh or both.
messh•1h ago
Or... use something like https://shellbox.dev
imwillofficial•56m ago
Its a very handsome website.
rcarmo•48m ago
Why stop at just one terminal? (shameless plug for https://github.com/rcarmo/webterm, which works pretty well on mobile)
swongel•41m ago
Regardless of the poor security guarentees and or personal disinterest in such a service. I don't think services which offer continuous services should ever have a "lifetime" price. With a lifetime subscription the incentive of the company is to offer poor service, or to stop alltogether when revenue from growth is no longer outpacing operating costs. I'd much prefer it if the $29/lifetime would just be $29 / 4 years instead, it would make me much more secure in onboarding onto your proprietary service as I would feel more secure about it's future existence.
dijit•30m ago
sure, but I fucking hate subscriptions.

If you want to sell software, fine, but I want to buy it then.

Release a v2? Sure, I’ll probably buy again.

I have bought 4 versions of littlesnitch and 3 versions of prompt (5 if you count the macos versions too).

But if I see another subscription I’m just clicking off.

mrsssnake•28m ago
For connecting two devices I already pay for a service allowing that, it's called ISP (Internet Service Provider).

I'm helping my dog vibe code games

https://www.calebleak.com/posts/dog-game/
420•cleak•4h ago•124 comments

Hacking an old Kindle to display bus arrival times

https://www.mariannefeng.com/portfolio/kindle/
60•mengchengfeng•1h ago•13 comments

Nearby Glasses

https://github.com/yjeanrenaud/yj_nearbyglasses
126•zingerlio•3h ago•50 comments

HuggingFace Agent Skills

https://github.com/huggingface/skills
89•armcat•3h ago•29 comments

I pitched a roller coaster to Disneyland at age 10 in 1978

https://wordglyph.xyz/one-piece-at-a-time
348•wordglyph•8h ago•128 comments

Manjaro website off-line again due to lapsed certificate

https://distrowatch.com/dwres.php?resource=showheadline&story=20140
20•hexagonsuns•2h ago•3 comments

I think WebRTC is better than SSH-ing for connecting to Mac terminal from iPhone

https://macky.dev
39•Sayuj01•3h ago•34 comments

IRS Tactics Against Meta Open a New Front in the Corporate Tax Fight

https://www.nytimes.com/2026/02/24/business/irs-meta-corporate-taxes.html
159•mitchbob•8h ago•175 comments

Steel Bank Common Lisp

https://www.sbcl.org/
88•tosh•2h ago•23 comments

Show HN: Emdash – Open-source agentic development environment

https://github.com/generalaction/emdash
49•onecommit•3h ago•20 comments

Build Your Own Forth Interpreter

https://codingchallenges.fyi/challenges/challenge-forth/
16•AlexeyBrin•3d ago•1 comments

We installed a single turnstile to feel secure

https://idiallo.com/blog/installed-single-turnstile-for-security-theater
219•firefoxd•2d ago•93 comments

Diode – Build, program, and simulate hardware

https://www.withdiode.com/
413•rossant•3d ago•91 comments

Show HN: Chaos Monkey but for Audio Video Testing (WebRTC and UDP)

https://github.com/MdSadiqMd/AV-Chaos-Monkey
15•MdSadiqMd•1d ago•2 comments

Verge (YC S15) Is Hiring a Director of Computational Biology and AI Scientists/Eng

https://jobs.ashbyhq.com/verge-genomics
1•alicexzhang•4h ago

Extending C with Prolog (1994)

https://www.amzi.com/articles/irq_expert_system.htm
50•Antibabelic•2d ago•17 comments

Pentagon threatens to make Anthropic a pariah

https://www.cnn.com/2026/02/24/tech/hegseth-anthropic-ai-military-amodei
28•i4i•46m ago•8 comments

Open Letter to Google on Mandatory Developer Registration for App Distribution

https://keepandroidopen.org/open-letter/
285•kaplun•4h ago•219 comments

Osaka: Kansai Airport proud to have never lost single piece of luggage (2024)

https://japannews.yomiuri.co.jp/features/japan-focus/20241228-229891/
178•thunderbong•4h ago•67 comments

Samsung Upcycle Promise

https://www.xda-developers.com/samsung-promised-make-old-phones-useful-galaxy-upcycle/
155•1970-01-01•1d ago•89 comments

IDF killed Gaza aid workers at point blank range in 2025 massacre: Report

https://www.dropsitenews.com/p/israeli-soldiers-tel-sultan-gaza-red-crescent-civil-defense-massac...
723•Qem•9h ago•147 comments

λProlog: Logic programming in higher-order logic

https://www.lix.polytechnique.fr/Labo/Dale.Miller/lProlog/
125•ux266478•3d ago•34 comments

The Missing Semester of Your CS Education – Revised for 2026

https://missing.csail.mit.edu/
344•anishathalye•1d ago•99 comments

Why High FOV Sucks – Fixing It with Panini Projection

https://www.youtube.com/watch?v=LE9kxUQ-l14
12•Eduard•53m ago•1 comments

OpenAI, the US government and Persona built an identity surveillance machine

https://vmfunc.re/blog/persona/
329•rzk•2h ago•103 comments

Terence Tao, at 8 years old (1984) [pdf]

https://gwern.net/doc/iq/high/smpy/1984-clements.pdf
456•gurjeet•1d ago•279 comments

OpenAI resets spending expectations, from $1.4T to $600B

https://www.cnbc.com/2026/02/20/openai-resets-spend-expectations-targets-around-600-billion-by-20...
149•randycupertino•2h ago•126 comments

Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection in Firefox 148

https://hacks.mozilla.org/2026/02/goodbye-innerhtml-hello-sethtml-stronger-xss-protection-in-fire...
299•todsacerdoti•8h ago•135 comments

Denver dumps Flock, awards contract to Axon

https://www.9news.com/article/news/local/denver-removing-flock-cameras-new-axon-contract/73-640b5...
84•therobots927•4h ago•31 comments

A distributed queue in a single JSON file on object storage

https://turbopuffer.com/blog/object-storage-queue
151•Sirupsen•3d ago•48 comments