Live data from Hacker News

Wacli – WhatsApp CLI

github.com

21–30 of 168 posts

Re: Wacli – WhatsApp CLI

#21
post #10

I wish it mentioned how safe this is. Some years ago I got banned for just logging in with a third-party client, without sending any messages. Given how critical WhatsApp is for some people, and how permanent the bans are, that's a big risk.

You should use a separate WhatsApp account for bot purposes. Recently, I used a separate WhatsApp account to interact with a group chat that I have with my friends. After about a week, they disabled the account, with no way to re-enable it.

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.

Re: Wacli – WhatsApp CLI

#22
post #18

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…

it's really unfortunate that telegram doesn't do e2ee, bc it's hands down the best messenger otherwise :(

It does, but only for chats between two specific devices. Multi-device support is one of its best features that you lose with E2E.

Key distribution is just too hard. I think we won't get a messenger for non-tech people that works well with multi-device and E2E basically ever.

Re: Wacli – WhatsApp CLI

#23
OT#1, but I don't endorse the editorial choice to put the name of the "original" author in the submission title.

OT#2: Is it typical to put a package.json in a go project as replacement for a {Make,Just}file?

Re: Wacli – WhatsApp CLI

#25
(Caveat I’m the founder of https://wassist.app - The WhatsApp Agent Platform)

Please be very careful using this tool to automate your WhatsApp - if you send too many messages, too quickly, you are going to get banned.

This is NOT an officially supported api by WhatsApp and the risk of ban is relatively high

Re: Wacli – WhatsApp CLI

#26
post #14

What is the best way to get a throwaway phone number to try this? Is it possible to get one online?

In most of the EU dictatorships, there's no legal way to obtain a phone number without registering with your real identity.

Re: Wacli – WhatsApp CLI

#27
post #22
post #18

Earlier quoted context omitted.

it's really unfortunate that telegram doesn't do e2ee, bc it's hands down the best messenger otherwise :(

It does, but only for chats between two specific devices. Multi-device support is one of its best features that you lose with E2E. Key distribution is just too hard. I think we won't get a messenger for non-tech people that works well with multi-device and E2E basically ever.

It's called iMessage. It's possible, Telegram just doesn't care. All their differentiating features (large groups, channels, device sync) is directly enabled by the lack of encryption.

Re: Wacli – WhatsApp CLI

#28
post #9

for some reason, I don't like this guy.

For some reason vibe coders with no development background consider him a god. But all he is is a charlitan at best

Peter is also the creator of PSPDFKit, and people have considered him an incredible engineer way before transformers were even invented.

Re: Wacli – WhatsApp CLI

#29
post #6

Earlier quoted context omitted.

Don't they ban people using custom clients when discovered? I feel like I've read something on that note.

They do - but the utility is so high vs the risk (for a new number) that it’s worth doing anyway for many users and even organizations. Just yesterday we spoke with a $50-100m ARR org org using baileys for internal messaging!

> a $50-100m ARR org org using baileys for internal messaging

Couldnt they just use post-it notes internally and still be a $50-100m ARR org?

Post reply on HN