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
Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).

FastAPI Cloud Auth fastapi-cloudauth standardizes and simplifies the integration between FastAPI and cloud authentication services (AWS Cognito, Auth0

tokusumi 255 Jan 07, 2023
This is a small Messnger with the cmd as an interface

Messenger This is a small messenger with the cmd as an interface. It started as a project to learn more about Python 3. If you want to run a version o

1 Feb 24, 2022
Pdisk Uploader Bot

pdisk-bot pdisk uploader telegram bot How To Use Configs TG_BOT_TOKEN - Get bot token from @BotFather API_ID - From my.telegram.org API_HASH - From my

lokaman chendekar 25 Oct 21, 2022
Discord bot to administer IITD Study Servers (unofficial)

IITD-Bot Discord bot to administer IITD'20 Acad Server Commands hello to check if bot is online ?help to display this message ?set kerberos to set y

Aditya Singh 47 Dec 19, 2022
Inline Телеграм бот для отправки GIF-изображений из ВКонтакте

VK GIFS Bot VKGIFSBot - удобный бот для отправки GIF-изображений из ВКонтакте в Телеграмe. Работает это очень просто: бот получает токен ВКонтакте API

Sergievsky Nikita 5 Dec 10, 2022
Telegram to TamTam stickers

Telegram to TamTam stickers @tg_stickers TamTam бот, который конвертирует Telegram стикеры в формат TamTam и помогает загрузить их в TamTam. Все делае

Ivan Buymov 22 Nov 01, 2022
Fast and small Discord-Toolset.

Mooncord 🌙 Discord server: https://discord.gg/frnpk2rg Fast and small Discord-Toolset. Enjoy? Star this repo ⭐ (Main file in Mooncord/Moon-1.0.1/vers

7ua 9 Dec 11, 2021
Simple Telegram webscrap bot

webscrap-bot Simple Telegram webscrap bot Configs TOKEN - Get bot token from @BotFather API_ID - From my.telegram.org API_HASH - From my.telegram.org

lokaman chendekar 10 Oct 21, 2022
Wrapper around the UPS API for creating shipping labels and fetching a package's tracking status.

ClassicUPS: A Useful UPS Library ClassicUPS is an Apache2 Licensed wrapper around the UPS API for creating shipping labels and fetching a package's tr

Jay Goel 55 Dec 12, 2022
A site devoted to celebrating to matching books with readers and readers with books. Inspired by the Readers' Advisory process in library science, Literati, and Stitch Fix.

Welcome to Readers' Advisory Greetings, fellow book enthusiasts! Visit Readers' Advisory! Menu Technologies Key Features Database Schema Front End Rou

jane martin 6 Dec 12, 2021
Azure Neural Speech Service TTS

Written in Python using the Azure Speech SDK. App.py provides an easy way to create an Text-To-Speech request to Azure Speech and download the wav file. Azure Neural Voices Text-To-Speech enables flu

Rodney 4 Dec 14, 2022
Optimus Prime - A modular Telegram group management and drive clone bot running on Python with sqlalchemy database

Optimus Prime Bot . 🤖 A modular Telegram group management and drive clone bot r

9 Jun 01, 2022
pyhakuna is a client to access the API of the time keeping service hakuna.ch.

pyhakuna pyhakuna is a client to access the API of the time keeping service hakuna.ch. The Hakuna API is – unfortunately – personal and currently does

Christian Mäder 1 Feb 15, 2022
Eva Maria Telegram Bot

Eva Maria Bot Features Auto Filter Manuel Filter IMDB Admin Commands Broadcast Index IMDB search Inline Search Random pics ids and User info Stats, Us

Eva Maria TG 477 Dec 31, 2022
This tool is created by Shahzain and is one of the best self bots out there!

Shahzain SelfBot This tool is created by Shahzain and is one of the best self bots out there! Features Token Destroyer! Server Nuker(50-100 Bans Per S

Shahzain 6 Apr 02, 2022
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

OpenAPI Generator Master (5.3.1): 5.4.x (5.4.x): 6.0.x (6.0.x): ⭐ ⭐ ⭐ If you would like to contribute, please refer to guidelines and a list of open t

OpenAPI Tools 14.8k Jan 04, 2023
🐍 The official Python client library for Google's discovery based APIs.

Google API Client This is the Python client library for Google's discovery based APIs. To get started, please see the docs folder. These client librar

Google APIs 6.2k Jan 08, 2023
Python Client for MLflow Tracking Server

Python Client for MLflow Python client for MLflow REST API. Features: Unlike MLflow Tracking client all REST API methods are exposed to user. All clas

MTS 35 Dec 23, 2022
A simple Spamming software made in python

Spam-qlk Warning!!! 'I' am not responsible for the 'damage or harm' caused by this 'Software'!!! Use at your own risk!!! Input the message. After you

Aditya kumar 1 Nov 30, 2021
Aio-binance-library - Async library for connecting to the Binance API on Python

aio-binance-library Async library for connecting to the Binance API on Python Th

GRinvest 10 Nov 21, 2022