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:

    [email protected]:~$ 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”
    [email protected]:~$ [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:

    [email protected]:~$ 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
this synchronizes my appearances with my calendar

Josh's Schedule Synchronizer Here's the "problem:" I use a spreadsheet to maintain all my public appearances. I check the spreadsheet as often as poss

Josh Long 2 Oct 18, 2021
Automate UCheck COVID-19 self-assessment form submission

ucheck Automate UCheck COVID-19 self-assessment form submission. Disclaimer ucheck automatically completes the University of Tornto's UCheck COVID-19

Ira Horecka 15 Nov 30, 2022
Ethereum Gas Fee for the MacBook Pro touchbar (using BetterTouchTool)

Gasbar Ethereum Gas Fee for the MacBook Pro touchbar (using BetterTouchTool) Worried about Ethereum gas fees? Me too. I'd like to keep an eye on them

TSS 51 Nov 14, 2022
A Telegram bot that can stream Telegram files to users over HTTP

AK-FILE-TO-LINK-BOT A Telegram bot that can stream Telegram files to users over HTTP. Setup Install dependencies (see requirements.txt), configure env

3 Dec 29, 2021
A Simple Voice Music Player

📀 𝐕𝐂𝐔𝐬𝐞𝐫𝐁𝐨𝐭 √𝙏𝙚𝙖𝙢✘𝙊𝙘𝙩𝙖𝙫𝙚 NOTE JUST AN ENGLISH VERSION OF OUR PRIVATE SOURCE WAIT FOR LATEST UPDATES JOIN @𝐒𝐔𝐏𝐏𝐎𝐑𝐓 JOIN @𝐂?

TeamOctave 8 May 08, 2022
Configure your linux server and check for vulnerabilities with serverlla

serverlla Configure your linux server and check for vulnerabilities with serverlla. Serverlla has a menu with options and allows you to configure your

Dylan Meca 10 Feb 01, 2022
Python Bot that attends classes, answers polls, and then again waits for classes to start.

LPU_myclass_Bot LPU_myclass_Bot is a Python bot that waits for class to start, attends class, answers polls, and then again waits for another class to

Saurabh Kumar 6 Apr 07, 2022
A telegram bot that sends a meme a day, from reddit's top meme of the day

MemeBot A telegram bot that sends a meme a day, from reddit's top meme of the day You can use the bot either with an external scheduler (ex: pythonany

Michele Vitulli 1 Dec 13, 2021
Scanner and Checker for Binance Scam Contracts

Money Printer by Warranty Voider well this isnt exactly a printer, but it helps you find and check new token startups. In the end its a nice scam cont

12 Nov 24, 2022
Coin-based opinion monitoring system

介绍 本仓库提供了基于币安 (Binance) 的二级市场舆情系统,可以根据自己的需求修改代码,设定各类告警提示 代码结构 binance.py - 与币安API交互 data_loader.py - 数据相关的读写 monitor.py - 监控的核心方法实现 analyze.py - 基于历史数

luv_dusk 6 Jun 08, 2022
Buy early bsc gems with custom gas fee, slippage, amount. Auto approve token after buy

Buy early bsc gems with custom gas fee, slippage, amount. Auto approve token after buy. Sell buyed token with custom gas fee, slippage, amount. And more.

Jesus Crypto 206 May 01, 2022
Programa capaz de gerar QR Code a partir do link inserido.

QrCodePy Programa capaz de gerar QR Code, a partir do link inserido, em forma de imagem e salvar localmente. Exemplo de saída: Requisitos Pure Python

Jonas Carvalho 4 Sep 09, 2021
un outil pour bypasser les code d'états HTTP négatif coté client ( 4xx )

4xxBypasser un outil pour bypasser les code d'états HTTP négatif coté client ( 4xx ) Liscence : MIT license Creator Installation : git clone https://g

21 Dec 25, 2022
Autofill HZDR Zeitman entries

Zeitman_autofill Filling out Zeitman is boring. This script might make some of the pain go away. Requirements The selenium package and Chrome webdrive

Tim Callow 8 Mar 14, 2022
A Bot Upload file|video To Telegram using given Links.

A Bot Upload file|video To Telegram using given Links.

Hash Minner 19 Jan 02, 2023
A Next-Gen modular Python3 Telegram-Bot with Anime Theme to it.

Hsea Robot A modular Telegram Python bot running on python3 with a sqlalchemy database and an entirely themed persona to make Cutiepii suitable for An

Wahyusaputra 1 Dec 29, 2021
Quot-a-lecture - Lecture transcript question extraction

Setup virtualenv venv source venv/bin/activate pip install -r requirements.txt

Pratyaksh Sharma 5 Sep 12, 2022
Basic query to access Traindex API

traindex-api-query Basic query to access Traindex API Please make sure to provide your Traindex API key to the line 8 in the script file. There are tw

Foretheta 1 Nov 11, 2021
NiceHash Python Library and Command Line Rest API

NiceHash Python Library and Command Line Rest API Requirements / Modules pip install requests Required data and where to get it Following data is nee

Ashlin Darius Govindasamy 2 Jan 02, 2022
Easy to use phishing tool with 63 website templates. Author is not responsible for any misuse.

PyPhisher [+] Created By KasRoudra [+] Description : Ultimate phishing tool in python. Includes popular websites like facebook, twitter, instagram, gi

KasRoudra 1.1k Jan 01, 2023