whatsapp

Rating: 
2.333335
Your rating: None Average: 2.3 (3 votes)

i created a whatsapp app based on whatsmeow, which is written in go. unfortunately it is only possible to register as second device, like the browser. i used claude "ai" to develop this app. sources are here: https://github.com/smatkovi/harbour-whatsapp i updated  whatsmeow and fixed the errors you reported. thanks for all your comments and  error reports.

Application versions: 
AttachmentSizeDate
File harbour-whatsapp-0.2.1-1.aarch64.rpm9.07 MB03/12/2025 - 11:43
File harbour-whatsapp-0.3.0-1.aarch64.rpm5.59 MB12/07/2026 - 11:39
File harbour-whatsapp-0.4.2-1.aarch64.rpm5.59 MB12/07/2026 - 12:01
File harbour-whatsapp-0.4.2-1.armv7hl.rpm5.73 MB12/07/2026 - 12:01
File harbour-whatsapp-0.4.3-1.aarch64.rpm5.6 MB12/07/2026 - 12:17
File harbour-whatsapp-0.4.3-1.armv7hl.rpm5.73 MB12/07/2026 - 12:17
File harbour-whatsapp-0.4.5-1.aarch64.rpm5.6 MB12/07/2026 - 13:03
File harbour-whatsapp-0.4.5-1.armv7hl.rpm5.73 MB12/07/2026 - 13:03
File harbour-whatsapp-0.4.6-1.aarch64.rpm5.6 MB12/07/2026 - 13:03
File harbour-whatsapp-0.4.6-1.armv7hl.rpm5.73 MB12/07/2026 - 13:03
File harbour-whatsapp-0.4.8-1.armv7hl.rpm5.73 MB12/07/2026 - 13:08
File harbour-whatsapp-0.4.8-1.aarch64.rpm5.6 MB12/07/2026 - 13:08
File harbour-whatsapp-0.4.9-1.armv7hl.rpm5.74 MB12/07/2026 - 17:23
File harbour-whatsapp-0.4.9-1.aarch64.rpm5.6 MB12/07/2026 - 17:23
Changelog: 

- Media in history-synced chats: images, videos, audio, documents and
stickers from conversations imported at pairing time now show up as
placeholders with size info and can be downloaded on demand by
tapping them (previously all media messages from history were
silently skipped, so freshly paired installs showed no pictures)
- Media keys are stored encrypted (rawmedia.enc) so downloads also
work after a restart; downloaded media opens in the system viewer
- Live messages whose automatic download fails keep their media key
and can be retried by tapping
- Clear error message when media has expired on WhatsApp servers

Comments

rob_k's picture

Very interesting development! I just installed it, pairing works, list looks good. This is a chance for me not to have Android active all the time. Thanks!PS I see we don't have pictures yet, still very promising

aviarus's picture

I tried to implement what i think you meant, but if you specify it i can add it.

aviarus's picture

Okay thanks. What do you mean exactly? You cannot open Pictures sent to you or something else?

Manisak's picture

I'd rather do a matrix bridge. This one is a construction site. But the will counts.

nkyst's picture

Perhaps a beginner's question, but what format should I use to 'pair' the account? I tried several ways to enter my phone numbet such as with or without + of country code etc. Or am I missing anything ?

aviarus's picture

with country code but without + and without 00

nkyst's picture

If thr numbe is 012345678 and country code is 99 99012345678 correct? 'pair' button seems not to react with the number thought. Also the link to github seems to end up 404

dwad's picture

99123 is correct, delete 0 .... and for me on C2 it is only working in Terminal or qCommand Launcher Icon ... sailfish-qml harbour-whatsapp ... and later on I have to delete messages.enc in /home/defaultuser/.local/share/harbour-whatsapp/ again and again because it does not update. Hopefully the App will get some updates.

nkyst's picture

It opens and linked to my account. I found a strange number pops up though. When I type any messages in that numbet it comes to my own account chat. Another thing I found so far is all the messages I sent to any chats are also visible in my own chat although official app does not show it in this way

MeeGo's picture

On a Xperia pairing works, on my daily driver I cannot pair, on the CLI I get: curl -m 5 http://localhost:8085/status
curl: (7) Failed to connect to localhost port 8085 after 0 ms: Could not connect to server.

What am I doing wrong on my daily driver? What can I do to successfully pair?
I am stuck at this localhost cannot connect

rdomschk's picture

Morning,

I have solved now the SilicaListViewproblem. Change or delete line 667+668 in the file usr/share/harbour-whatsapp/qml/harbour-whatsapp.qml and add a timer. So the last Chat bubble is every time visible and you need not to scroll.

The function "posiionViewAtEnd()" not work because the visibleView is not open in the moment fo Completed.

        Line 667       add this "//"  before or delete // onCountChanged: positionViewAtEnd()

        Line 668       add this "//"  before or delete // Component.onCompleted: positionViewAtEnd()

add Line 669               Timer {
add Line 670                    id: positionTimer
add Line 671                    interval: 200
add Line 672                    repeat: false
add Line 673                    onTriggered: msgList.positionViewAtIndex(view.count - 1, ListView.Beginning)
add Line 674                }
add Line 675                onCountChanged: {positionTimer.start()}

defactofactotum's picture

Thanks rdomschk

I just deleted lines 667 and 668 for the moment. The filepath you gave is not exactly right, should be: usr/share/harbour-whatsapp/qml/ harbour-whatsapp.qml
rdomschk's picture

Thy I corrected but I have the problem, that new messages not every time mutch in existing chats and add a new chatfolder... 

rdomschk's picture

It works without lost register if you change the line 11 in the file   /usr\share/harbour-whatsapp/start_backend.py

old  line 11    data_dir = os.path.expanduser("~/.local/share/harbour-whatsapp")

new line 11   data_dir = os.path.expanduser("~/.local/share/harbour/harbour-whatsapp")

defactofactotum's picture

Thanks, this works fine now for login. I still have some overlapping text, always in the same places... Maybe if we open a thread in the forum I can upload a picture.

ps typo in backend.py instructions above: backslash 

aviarus's picture

Oh, thank you very much

satoshi_nakamoto's picture

Вроде работает

aviarus's picture

otlichna

kempertom's picture

It saves no login data. Everything is gone with next start

defactofactotum's picture

Yes, the loss of login is a real pain. Another minor problem is it downloads all profile pictues to the gallery.

aviarus's picture

i noticed that sometimes it takes sometime until it loads into the chats page. it seems that one also has to be online for it so that it works.

kuba77's picture

Hi, please rpm for armv7hl.

aviarus's picture

I will try to make one

defactofactotum's picture

[defaultuser@Xperia10II ~]$ curl -m 5 http://localhost:8085/status
{"connected":false,"pairCode":"","phone":""}
[defaultuser@Xperia10II ~]$ curl -m 5 http://localhost:8085/status
{"connected":false,"pairCode":"","phone":""}

 

aviarus's picture

Did you enter your phone number in international format without +?

defactofactotum's picture

haha! No, I hadn't ...and I wondered what that 46363...was. So everything works fine now, some glitches with doubled-up text and maybe the colour scheme isn't ideal...maybe if I change ambience it will improve. Overall, works great, thanks a lot

defactofactotum's picture

Hi, I tried  0.2.1-1 on a 10ii and nothing happened when I pressed 'start pairing'

aviarus's picture

 look in the terminal, after you open the app what "curl -m 5 http://localhost:8085/status" says then tap  on start pairing and execute the command again

MeeGo's picture

I constantly get
curl -m 5 http://localhost:8085/statuscurl: (7) Failed to connect to localhost port 8085 after 0 ms: Could not connect to server
What amI doing wrong?
Start pairing does nothing...

MeeGo's picture

In my case this results in
curl: (7) Failed to connect to localhost port 8085 after 0 ms: Could not connect to server

Pages