Unofficial WebApp for WhatsApp Web created in PyQt6

Overview

ZapZap - Whatsapp Desktop para linux

Unofficial WebApp for WhatsApp Web created in PyQt6

- O PySide6 foi só dor de cabeça para empacotar em Flatpak 

Ainda não tive tempo nem paciência para fazer um Readme de responsa

Sua contribuição será muito bem vinda!!! =D

Se deseja executar em sua máquina

Instale os seguintes pacotes e execute o main.py ou python zapzap dentro da pasta raíz

  • pip install PyQt6
  • pip install PyQt6-WebEngine

Flatpak

- Install a runtime and the matching SDK
    - flatpak install flathub org.kde.Platform//6.2 org.kde.Sdk//6.2 io.qt.qtwebengine.BaseApp//6.2
- Building and install
    - flatpak-builder build com.rtosta.zapzap.yaml --force-clean --ccache --install --user
- Bem resumido, mas já dará para utilizá-lo
- Se tudo ocorreu bem, o app do ZapZap deverá aparecer na sua lista.

Obs.: Em caso de Fork não esqueça de alterar o link do seu github em com.rtosta.zapzap.yaml (espera-se que saiba o que está fazendo, caso contrário entre em contato. Toda ajuda será bem vinda! =D)

Contact

Maintainer: Rafael Tosta
E-Mail: [email protected]
Telegram: @RafaelTosta

Comments
  • Clicking on Notification in Gnome does not surface ZapZap window

    Clicking on Notification in Gnome does not surface ZapZap window

    Thanks for your great work on this project. I am using v2.2 from Flathub on Fedora 35, Gnome Version 41.3 in Wayland. The application correctly runs in the background and shows notifications for new messages.

    Clicking on the message does not surface the ZapZap window, and instead I have to click on the icon in the tray.

    opened by saiduc 39
  • Can't upload files

    Can't upload files

    I'm trying to upload files from the xdg-download folder which has allowed access from the default manifest, although I'm able to select on the FileChooser window it never goes thru whatsapp.

    My flatpak permissions are almost default, with the only difference of using wayland over X11.

    bug 
    opened by aleprovencio 25
  • Font rendering and link preview

    Font rendering and link preview

    Rafael,

    De uns tempos pra cá, a maioria dos clientes linux passaram a ter problema em gerar a pré-visualização do link no chat. No macOS, que também é um electron wrapper, funciona normalmente. Alguns devs parecem ter começado a corrigir nos seus clientes linux esse problema, mas sem dar muitas informações. Você poderia investigar isso?

    Na versão flatpak as fontes não parecem renderizar muito bem, como acontece no Fedora, por exemplo. Elas são finas e um pouco borradas. Existe alguma forma de usar as fontes do sistema ou aprimorar isso?

    opened by vivantart 23
  • ZapZap não abre no Flatpak do Deepin 20.6

    ZapZap não abre no Flatpak do Deepin 20.6

    Opa, buenas Rafael, tudo certo? Sempre é bom encontrar um brazuca e usar software desenvolvido por um brazuca também! Estou tentando executar o zapzap no Deepin 20.6 (baseado no Debian 10) e ao executar ele pelo Deepin Launcher ele simplesmente não abre. Ao executar ele pelo Flatpak, recebo a seguinte mensagem de erro:

    Eduardo@Eduardo-PC:~$ flatpak run com.rtosta.zapzap
    ['/app/bin/zapzap']
    QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0755 instead of 0700
    qt.webenginecontext: 
    
    GL Type: desktop
    Surface Type: OpenGL
    Surface Profile: NoProfile
    Surface Version: 3.1
    QSG RHI Backend: OpenGL
    Using Supported QSG Backend: yes
    Using Software Dynamic GL: no
    Using Multithreaded OpenGL: yes
    
    Init Parameters:
      *  application-name ZapZap 
      *  browser-subprocess-path /app/bin/QtWebEngineProcess 
      *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture 
      *  disable-setuid-sandbox  
      *  disable-speech-api  
      *  enable-features NetworkServiceInProcess,TracingServiceInProcess 
      *  enable-threaded-compositing  
      *  in-process-gpu  
      *  use-gl desktop 
    
    [3:11:0801/212131.316644:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/Flatpak: org.freedesktop.DBus.Error.InvalidArgs: Nenhuma propriedade “supports”
    Eduardo@Eduardo-PC:~$ [10:10:0100/000000.431688:ERROR:zygote_linux.cc(650)] write: Pipe quebrado (32)
    

    Notei que a dependência com.riverbankcomputing.PyQt.BaseApp não havia sido instalada mas mesmo instalando ela via Flatpak conforme o README o problema persiste.

    Se houver alguma informação que eu possa te fornecer para ajudar a diagnosticar ou resolver o problema, fico à disposição! Abraço e obrigado por desenvolver esse projeto!

    invalid isolated case 
    opened by eduardomozart 19
  • BUG: Mouse scroll up and scroll down not working

    BUG: Mouse scroll up and scroll down not working

    After the program is minimized and maximized a few times, the mouse wheel stops working properly... By the way, I test with another mouse and have noticed the same thing, so I try the trackpad scroll and it works!

    More details isolated case 
    opened by MatheusIam 9
  • Refresh button to avoid Chrome Upgrade needed issue

    Refresh button to avoid Chrome Upgrade needed issue

    Sometimes ZapZap will show "Chrome Version is too old" issue. WhatsAppQT worked around this by having a refresh toggle that usually fixed it.

    opened by AndrewCSQ 8
  • Language selection for spell checking

    Language selection for spell checking

    The app does spell checking, but only for English. It would be great to have an option to choose which language to spell check from, and preferentially, to choose more than one language to spell check from.

    enhancement 
    opened by reisaraujo-miguel 7
  • Can't open ZapZap

    Can't open ZapZap

    Hi Rafa,

    I have kubuntu 20.04 on my computer. I installed ZapZap via flatpak, and tryed later to run it, but it doesn't open.

    This is what I get on terminal when I try to run it:

    gonpi@gonpikubuntu:~$ flatpak run com.rtosta.zapzap QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0755 instead of 0700 qt.webenginecontext:

    GL Type: desktop Surface Type: OpenGL Surface Profile: NoProfile Surface Version: 3.1 QSG RHI Backend: OpenGL Using Supported QSG Backend: yes Using Software Dynamic GL: no Using Multithreaded OpenGL: yes

    Init Parameters:

    • application-name ZapZap
    • browser-subprocess-path /app/bin/QtWebEngineProcess
    • disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
    • disable-setuid-sandbox
    • disable-speech-api
    • enable-features NetworkServiceInProcess,TracingServiceInProcess
    • enable-threaded-compositing
    • in-process-gpu
    • use-gl desktop

    [2:10:0915/223827.742300:FATAL:flatpak_sandbox.cc(285)] Your Flatpak version is too old, please update it

    Maybe you can help me with this.

    Thanks a lot.

    Flatpak 
    opened by gonchez 6
  • Notificação não exibe ícone do ZapZap

    Notificação não exibe ícone do ZapZap

    Oi Rafa, Antes de abrir um bug na página da Distro, acho que pode não ser bug da Distro, mas talvez a ausência do ícone ou o caminho seja diferente quando o ícone é compilado manualmente ao invés de usar o Flatpak, mas quando recebo novas mensagens, o ícone do ZapZap não é exibido, é exibido o ícone padrão de notificações do Deepin ao invés do ZapZap. Capturar_select-area_20220802213222

    invalid isolated case 
    opened by eduardomozart 6
  • Seletor de arquivo para upload não reflete tema da distro

    Seletor de arquivo para upload não reflete tema da distro

    Boa noite, Rafael Apenas uma dúvida. Abri um Bug Report lá na página da Distro (https://github.com/linuxdeepin/developer-center/issues/3357), mas talvez você já tenha encontrado esse erro antes. Compilei o ZapZap através do código fonte, mas ao selecionar um arquivo para upload, o tema do seletor de arquivo não corresponde ao do sistema operacional. Uso o tema Dark e a janela de seleção de arquivo é White. Você já encontrou esse erro antes? Tem algo que possamos definir nos argumentos através do Flatseal para forçar o tema Dark? O próprio App tem o seletor de tema, selecionei o tema Dark, mas aparentemente ele não está aplicando no File Chooser do PyQt. Capturar_zapzap_20220802212805

    isolated case 
    opened by eduardomozart 6
  • versão 3.2.1 quebrou funcionamento com wayland

    versão 3.2.1 quebrou funcionamento com wayland

    Tudo certo?

    Acabei de fazer o upgrade e percebi que o zapzap parou de funcionar, a saída padrão mostra que ele tenta forçar o uso do plugin xcb ao invés de wayland ou wayland-egl para QT_QPA_PLATFORM.

    A solução momentânea foi fazer o downgrade pra versão anterior.

    opened by aleprovencio 6
  • Can't open on X11 when a custom xkb layout is being used

    Can't open on X11 when a custom xkb layout is being used

    Hello! I'm using Ubuntu 22.10 with GNOME 43.1 running on X11.

    When I try to open ZapZap, I get this error that's preventing it from opening:

    image

    This /usr/share/X11/xkb/symbols/psy file is my custom xkb keyboard layout, which does exist in that location. I have added its respective entry in /usr/share/X11/xkb/rules/evdev.xml, and it works flawlessly elsewhere (deb applications, Snaps, other flatpaks, login screen, recovery terminal, etc.).

    When I remove this layout from GNOME settings (leaving the files themselves intact), I no longer get the error and ZapZap works just fine. I can even re-add the layout while ZapZap is open, and then use it inside ZapZap with no problems (though, of course, once I fully close ZapZap and try to re-open it, I get the same error again).

    This issue does not occur on Wayland. ZapZap opens just fine with my layout when on Wayland.

    Let me know if there's anything I can do to help.

    opened by Psycake 1
  • Create .Spec for Fedora RPM

    Create .Spec for Fedora RPM

    I am not aware of how to create an RPM, so I need a help with the creation of the .Spec.

    I started the creation based on these two docs rpm-packaging-guide and vidcutter.spec.

    Note: The python-pyqt6-webengine package does not yet exist in the repositories of Fedora, but is on its way according to the packer.

    What I have so far: zapzap.spec

    help wanted 
    opened by rafatosta 0
  • Site com lista DDI em português

    Site com lista DDI em português

    Reparei que o site usado para listar os DDIs está em português; não é muito útil para os usuários de outros países. Tem um artigo na wikipedia com a lista completa.

    Ou esse link poderia fazer parte dos arquivos de linguagem.

    opened by RoinujNosde 5
  • Zoomed in mouse icons

    Zoomed in mouse icons

    I use ZapZap on Fedora (= GNOME) and I have noticed that since version ~ 4.0 the mouse pointer seems to be "zoomed in" when the application window is hovered over or when interacting with an item in the window (see screenshots below). I don't know if it is intentional, but it's not very pleasant as it makes the app feeling a bit "out of place" on some desktop environments...

    I don't know if it's very explicit in the screenshots 😅 but I really measured it and mouse icons are around 2 or 3 millimeters bigger in ZapZap, which is quite visible on small laptop screens

    Capture d’écran du 2022-09-05 15-50-55-obfuscated Here the mouse pointer in its "normal" size

    Capture d’écran du 2022-09-05 15-51-15-obfuscated Here the (bigger) mouse pointer when hovering over the app window

    Capture d’écran du 2022-09-05 15-52-03-obfuscated Here another icon of the mouse pointer (interacting with an item), which is also bigger than it's normal size

    Qt + Wayland 
    opened by rene-coty 2
Releases(v4.4.3)
Owner
Rafael Tosta Santos
Engenheiro da Computação 🎓
Rafael Tosta Santos
A python tool to Automate Whatsapp through Whatsapp web

This python tool is used to Automate Whatsapp through Whatsapp web. We can add number of contacts whom we want to send text messages on perticular time

null 5 Jul 21, 2022
Python On WhatsApp - Run your python codes on whatsapp along with talking to a chatbot

Python On WhatsApp Run your python codes on whatsapp along with talking to a chatbot This is a small python project to run python on whatsapp. and i c

Prajjwal Pathak 32 Dec 30, 2022
WhatsApp Api Python - This documentation aims to exemplify the use of Moorse Whatsapp API in Python

WhatsApp API Python ChatBot Este repositório contém uma aplicação que se utiliza

Moorse.io 3 Jan 8, 2022
Whatsapp-bot - Whatsapp chatbot build with python and twilio

Whatsapp-bot This is a Whatsapp Chatbot that responds with quotes, reply owners

arinzejustinng 1 Jan 14, 2022
Python wrapper for WhatsApp web-based on selenium

alright Python wrapper for WhatsApp web made with selenium inspired by PyWhatsApp Why alright ? I was looking for a way to control and automate WhatsA

Jordan Kalebu 193 Jan 6, 2023
Reverse engineering multi-device WhatsApp Web.

whatsapp-web-multi-device-reveng In this repository, the research for reverse engineering multi-device WhatsApp Web takes place, see here for a descri

null 84 Jan 1, 2023
WhatsApp Web API client with multi-device support

Tauros WhatsApp Web client for multi-device in python Free software: MIT Documentation: https://tauros.readthedocs.io Features TODO Credits This packa

Manjit Pardeshi 0 Jan 20, 2022
WBMS automates sending of message to multiple numbers via WhatsApp Web

WhatsApp Bulk Message Sender - WBMS WBMS automates sending of message to multiple numbers via WhatsApp Web. Report Bug · Request Feature Love the proj

Akshay Parakh 3 Jun 26, 2022
unofficial source of the discord bot, “haunting.” created by: vorqz, vert, & Veltz

hauntingSRC unofficial source of the discord bot, “haunting.” created by: vorqz, vert, & Veltz reasoning: creators skidded the most of this bot and do

Vast 11 Nov 4, 2022
The WhatsApp lib

yowsup WARNING It seems that recently yowsup gets detected during registration resulting in an instant ban for your number right after registering wit

Tarek 6.8k Jan 4, 2023
A simple Telegram bot that converts a phone number to a direct whatsapp chat link

Open in WhatsApp I was using a great app to open a whatsapp chat with a given number directly without saving that number in my contact list, but I fel

Pathfinder 19 Dec 24, 2022
Simple software that can send WhatsApp message to a single or multiple users (including unsaved number**)

wp-automation Info: this is a simple automation software that sends WhatsApp message to single or multiple users. Key feature: -Sends message to multi

null 3 Jan 31, 2022
Script que envia e-mails de denúncia para desativar número de WhatsApp.

SpamReport (Alpha) Este script foi feito apenas para uso educacional, não me responsabilizo por qualquer uso indevido. Version: 1.0 Alpha Ative essa o

Kiny-Kiny 83 Dec 20, 2022
Hack WhatsApp Account Easily(Android)

X-Whatsapp Hack WhatsApp Account Easily(Android) HOW TO RUN ?? (Termux) pkg update && pkg upgrade pkg install python pkg install git git clone https:/

KiLL3R_xRO 72 Dec 21, 2022
Automating whatsapp with python

whatsapp-automation Automating whatsapp with python used on this project pyautogui pywhatkit pyttsx3 SpeechRecognition colorama embedded in python tim

Miguel 60 Nov 21, 2022
This Telegram bot allows you to create direct links with pre-filled text to WhatsApp Chats

WhatsApp API Bot Telegram bot to create direct links with pre-filled text for WhatsApp Chats You can check our bot here. The bot is based on the API p

RobotTrick • רובוטריק 17 Aug 20, 2022
A WhatsApp Crashing Tool for Termux

CrashW A WhatsApp Crashing Tool For Termux Users Installing : apt update && apt upgrade -y pkg install python3 pkg install git git clone git://gith

Gokul Mahato 20 Dec 27, 2022
WhatsApp Status Tracker With Python

Warning!! This Repo is Purly educational purpose Don't use this to stalk on others, which is subjective to crime Pre-Req: Telegram bot of your own wit

Vignesh Karunagaran 10 Dec 9, 2022
WhatsApp Multi Device Client

WhatsApp Multi Device Client

null 23 Nov 18, 2022