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
tgEasy's Official Assistant Bot and Example Bot

tgEasy Assistant The assistant bot that helps people with tgEasy directly on Telegram. This repository contains the source code of @tgEasyRobot and th

Divide Projects™ 4 Dec 26, 2022
Remedy when Amazon ECR is not running basic scans for container CVEs.

Welcome to your CDK Python project! This is a blank project for Python development with CDK. The cdk.json file tells the CDK Toolkit how to execute yo

4n6ir 4 Nov 05, 2022
A.I and game for gomoku, working only on windows

Gomoku (A.I of gomoku) The goal of the project is to create an artificial intelligence of gomoku. Goals Beat the opponent. Requirements Python 3.7+ Wo

Luis Rosario 13 Jun 20, 2021
Open Source API and interchange format for editorial timeline information.

OpenTimelineIO is currently in Public Beta. That means that it may be missing some essential features and there are large changes planned. During this phase we actively encourage you to provide feedb

Pixar Animation Studios 1.2k Jan 01, 2023
Wats2PDF - Convert whatsapp exported chat(without media) into a readable pdf format

Wats2PDF convert whatsApp exported chat into a readable pdf format. convert with

5 Apr 26, 2022
"zpool iostats" for humans; find the slow parts of your ZFS pool

Getting the gist of zfs statistics vpool-demo.mp4 The ZFS command "zpool iostat" provides a histogram listing of how often it takes to do things in pa

Chad 57 Oct 24, 2022
News API consisting various sources from Tanzania

Tanzania News API News API consisting various sources from Tanzania. Fork the project Clone the project git clone https://github.com/username/news-a

Innocent Zenda 6 Oct 06, 2022
A powerful discord bot for forming team.

Discord_SquadBot A powerful discord bot for forming team. Pre-requirement Python 3.7 and latest Discord.py module is required. Installation guideline

Jacky Yu 2 Jan 29, 2022
OpenVisionAPI client

OpenVisionAPI Client 🚀 Getting Started Prerequisites Installing Install the dependencies $ make setup Usage $ source .venv/bin/activate $ ./ova_clie

Open Vision API 40 Nov 11, 2022
Kang Sticker bot

Kang Sticker Bot A simple Telegram bot which creates sticker packs from other stickers, images, documents and URLs. Based on kangbot Deploy Credits: s

Hafitz Setya 11 Jan 02, 2023
批量下载抖音无水印视频

版权说明 本项目fork自Johnserf-Seed TikTokDownload。目的是为了增加个性化的功能,若想体验更多完善的功能请支持原作者的项目。 免责声明 本代码仅用于学习,下载后请勿用于商业用途。 环境要求 请检查宿主机,是否安装了python环境,并且配置了环境变量 pytho

Zhiwu Mao 44 Dec 28, 2022
A Python AWS Lambda Webhook listener that generates a permanent URL when an asset is created in Contentstack.

Webhook Listener A Python Lambda Webhook Listener - Generates a permanent URL on created assets. See doc on Generating a Permanent URL: https://www.co

Contentstack Solutions 1 Nov 04, 2021
Zalo AI challenge 2021 5K-Compliance

Zalo AI challenge 2021 5K-Compliance Prepare data: Dữ liệu của ban tổ chức cung

Nguyễn nhật hoàng 32 Nov 21, 2022
RequestTrackerBot - Request Tracker Bot With Python

Request Tracker Bot This is a Request Tracker Bot repo, It is for those who uplo

Prince Jaiswal 1 Dec 30, 2021
This very basic script can be used to automate COVID-19 vaccination slot booking on India's Co-WIN Platform.

COVID-19 Vaccination Slot Booking Script This very basic CLI based script can be used to automate covid vaccination slot booking on Co-WIN Platform. I

605 Dec 14, 2022
PyDottie is a version of Dottie.js written in Python 3.

PyDottie is a version of Dottie.js written in Python 3.

Jose Noriega 2 Nov 21, 2021
Halcyon is a Matrix bot library created with the intention of being easy to install and use. Inspired by discord.py

Halcyon is a Matrix bot library with the goal of being easy to install and use. The library takes inspiration from discord.py and the Slack li

Wes Ring 19 Jan 06, 2023
Script to get a notification when a product, on Amazon Warehouse, is available within a target price

Amazon_Warehouse_Scraping This script aims to scrape Amazon Warehouse and send an email back if there are products whose price matches with the target

2 Oct 25, 2021
A program to convert YouTube channel registration information into Json files for ThirdTube.

ThirdTubeImporter A program to convert YouTube channel registration information into Json files for ThirdTube. Usage Japanese https://takeout.google.c

Hidegon 2 Dec 18, 2021
Send pm to Admin - Telegram

Send pm to Admin - Telegram

Ahoora 3 Nov 17, 2022