Live data from Hacker News

Wacli – WhatsApp CLI

github.com

61–70 of 168 posts

Re: Wacli – WhatsApp CLI

#61

Earlier quoted context omitted.

Since WhatsApp accounts are bound to phone numbers, getting a new phone number is a significant hurdle in many legislations. An easier solution is to just not use WhatsApp at all and look for the alternatives for bot purposes. Telegram explicitly encourages bot usage with no risk of bans.

> in many legislations Do you mean “jurisdictions”?

I said "legislations" because the word describes the existence of laws, while "jurisdictions" describes the law enforcement.

There are still some European non-EU countries where you can get an anonymous phone number because laws are not fully enforced.

Re: Wacli – WhatsApp CLI

#62

Earlier quoted context omitted.

...until Meta decides they want to offer this kind of thing themselves and ban everyone else. Building your SaaS on top of someone else's SaaS is always a gamble, especially if said product is directly sold to users already and not a pure b2b intermediate.

Meta already has a whatsapp api product

For spammers.

They don't have one for regular people who want to do regular end-user computation.

Re: Wacli – WhatsApp CLI

#63
post #60
post #52

Earlier quoted context omitted.

whatsapp, facebook messenger, imessage all support multi-device and it's pretty convenient, in fairness to telegram they launched a bit before double ratched was invented, but still, they've had over a decade to switch to it...

WhatsApp doesn't support multi-device. You can't have it installed on two phones at once.

you can (https://faq.whatsapp.com/1046791737425017/?cms_platform=andr...)

they even have it on fb messenger and instagram (though they recently removed e2ee completely from instagram lol)

Re: Wacli – WhatsApp CLI

#64

Earlier quoted context omitted.

> in many legislations Do you mean “jurisdictions”?

I said "legislations" because the word describes the existence of laws, while "jurisdictions" describes the law enforcement. There are still some European non-EU countries where you can get an anonymous phone number because laws are not fully enforced.

Well, your usage is nonsensical in legal terms. Also, that is not the definition of “jurisdiction”.

Nobody who knows law would use “legislation” in that sense, nor would they recognize it in that context, Humpty Dumpty.

Re: Wacli – WhatsApp CLI

#65
post #63
post #60

Earlier quoted context omitted.

WhatsApp doesn't support multi-device. You can't have it installed on two phones at once.

you can ( https://faq.whatsapp.com/1046791737425017/?cms_platform=andr... ) they even have it on fb messenger and instagram (though they recently removed e2ee completely from instagram lol)

That's still one device. If you turn the primary phone off, the secondary device stops working. WhatsApp just proxies everything through the primary device, it's like WhatsApp Web.

Re: Wacli – WhatsApp CLI

#66
Cool.

I spun up a self hosted matrix server a few days ago using codex, docker compose, and ansible. Stupidly easy to do now. I'm running it in Hetzner on a 3.99 euro/month vm. It backs up every few hours to a bucket and I have a few integrity scripts to monitor the backups actually happen. I did that because I was getting a bit frustrated with the flaky integration with Whatsapp and Slack in openclaw. I had it up and running in half an hour with only minimal prompting.

Whatsapp kind of works but you end up chatting with yourself and then open claw posts messages as you. Not ideal. You can't easily create new users (or bot users) in Whatsapp. It probably has some kind of bot api of course but I did not explore that much.

I never quite managed to get Slack working with open claw. I tried for a few hours. I think the Slack team is asleep at the wheel snoozing through this whole AI thing. If somebody there is still paying attention to things like this, maybe make some noise internally. Anyway, they made it stupidly hard to do anything productive via their APIs. The UI for managing permissions is a disgraceful hell of complexity. Add permission. UI freezes for fifteen seconds. Reloads automatically. Unfreezes. Add the next. And whatever you do, there's always one more permission you forgot. *end rant*

Relative to Whatsapp and Slack, Matrix is stupidly easy to integrate with open claw, codex, or whatever. We're retiring Slack now as I see uses for agent driven chat bots everywhere now and I want to get rid of any kind of friction around bot related plumbing. I have no use for platforms that intentionally cripple that or treat as a toll booth.

With Matrix, you just create a bot user manually or via an API. Set a password, get an access token and do whatever. No API limits. No faff with QR codes. No permission hell (Slack). It just works. Well documented API. End to end encryption. Etc. Create as many bot users as you need. Nobody is bean counting API calls, numbers of users, etc. Refreshingly easy.

Other OSS messaging platforms are available of course. I do not have a strong opinion as to which is better yet. But now I want a Matrix cli that can do admin, message sending, and all the rest. Probably already exists. But if it doesn't I might end up generating one. Macli might be a good name.

Re: Wacli – WhatsApp CLI

#67
post #36

I don't know why in 2026 I'm still surprised CLIs are taking off. But here's the difference today. It's for real world end user platforms like WhatsApp and Claude. That's the difference. Previously it was only Dev and infrastructure focused. Today we're saying you know what, I need programmatic access to this real world thing. It's fascinating because I rarely open my laptop now or try not to. Who are these people us…

Devs are often also users. cli is nice because

- automation - sometimes avoid enshittified, privacy-invading services - fast, responsive, keyboard-friendly, debloated but non-minimized, stabler interface

Re: Wacli – WhatsApp CLI

#68

I just use telegram. Just yesterday I setup a bot which is easy via botfather And also, setup an app (claude built it but I had to fiddle with it, it works like pagerduty) but uses cloudflate worker to push downtime/errors (via fcm) in production (from graphana) via webhooks to "full screen, by pass dnd, alerts, with loud music, this one: https://www.youtube.com/watch?v=H0IQBWWabuU ) I named the app "Siren". It's not…

I personally don't use whatsapp because I like it, but because all my contacts in my country are over there. It is officially more used than SMS here. It is not optional in my case :/

SMS is unsafe anyway.

Re: Wacli – WhatsApp CLI

#69
post #65
post #63

Earlier quoted context omitted.

you can ( https://faq.whatsapp.com/1046791737425017/?cms_platform=andr... ) they even have it on fb messenger and instagram (though they recently removed e2ee completely from instagram lol)

That's still one device. If you turn the primary phone off, the secondary device stops working. WhatsApp just proxies everything through the primary device, it's like WhatsApp Web.

oh, i see, is it the same for facebook messenger and instagram, imessage, etc?

Re: Wacli – WhatsApp CLI

#70
post #36

I don't know why in 2026 I'm still surprised CLIs are taking off. But here's the difference today. It's for real world end user platforms like WhatsApp and Claude. That's the difference. Previously it was only Dev and infrastructure focused. Today we're saying you know what, I need programmatic access to this real world thing. It's fascinating because I rarely open my laptop now or try not to. Who are these people us…

These CLIs are for AI agents. If I have a CLI to WhatsApp, then I can direct an agent (such as OpenClaw) to manage my messages for me.
Post reply on HN