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
Discord Blogger Integration Using Blogger API

It's a very simple discord bot created in python using blogger api in order to search and send your website articles in your discord chat in form of an embedded message. It's pretty useful for people

Owen Singh 8 Oct 28, 2022
The wrapper you need for the osu!api v2

oppy (op.py) oppy is the wrapper for use on the osu! v2 API. Version 1.0.0 Installation To install please use pip to install oppy pip install op.py To

Wayde 2 May 01, 2022
A basic Ubisoft API wrapper created in python.

UbisoftAPI A basic Ubisoft API wrapper created in python. I will be updating this with more endpoints as time goes on. Please note that this is my fir

Ethan 2 Oct 31, 2021
Botto - A discord bot written in python that uses the hikari and lightbulb modules to make this bot

❓ About Botto Hi! This is botto, a discord bot written in python that uses the h

3 Sep 13, 2022
Linkvertise-Bypass - Bypass Linkvertise advertisement

Linkvertise-Bypass Bypass Linkvertise advertisement 📕 instructions Copy And Pas

Flex Tools 4 Jun 10, 2022
A simple Telegram bot which handles images in whole different way

zeroimagebot thezeroimagebot 🌟 I Can Edit Dimension Of An image which is required by @stickers 🌟 I Can Extract Text From An Image 🌟 !!! New Updates

RAVEEN KUMAR 4 Jul 01, 2021
A discord http interactions framework built on top of Sanic

snowfin An async discord http interactions framework built on top of Sanic Installing for now just install the package through pip via github # Unix b

kaj 13 Dec 15, 2022
A Discord bot that automatically saves SHSH blobs for all of your iOS devices.

AutoTSS AutoTSS is a Discord bot that automatically saves SHSH blobs for all of your iOS devices. Want a CLI automatic blob saver? Check out AutoTSS-c

adam 79 Dec 13, 2022
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.

Rodney 1 Oct 11, 2021
A fork of lavalink.py built for nextcord

nextcord-ext-lava is a wrapper for Lavalink which abstracts away most of the code necessary to use Lavalink, allowing for easier integration into your projects, while still promising full API coverag

nextcord-ext 4 Feb 27, 2022
Savecontentbot - Telegram Save Content Bot With Same more Features

Save Restricted Content Bot A simple telegram bot to save restricted content wit

Group Dc Bots 3 Jan 26, 2022
Self-adjusting, auto-compounding multi-pair DCA crypto trading bot using Python, AWS Lambda & 3Commas API

Self-adjusting, auto-compounding multi-pair DCA crypto trading bot using Python, AWS Lambda & 3Commas API The following code describes how we can leve

Jozef Jaroščiak 21 Dec 07, 2022
An example Music Bot written in Disnake and uses slash commands to operate.

Music Bot An example music bot that is written in Disnake [Maintained discord.py Fork] Disnake Disnake is a maintained and updated fork of discord.py.

6 Jan 08, 2022
Home Assistant Hilo Integration via HACS

BETA This is a beta release. There will be some bugs, issues, etc. Please bear with us and open issues in the repo. Hilo Hilo integration for Home Ass

66 Dec 23, 2022
A Script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag.

Channel Auto Message Post A script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag. C

16 Oct 21, 2022
An all-in-one financial analytics and smart portfolio creator as a Discord bot!

An all-in-one financial analytics bot to help you gain quantitative financial insights. Finn is a Discord Bot that lets you explore the stock market like you've never before!

6 Jan 12, 2022
Telegram bot to download tiktok video/audio

TikTokDL (Bot) Telegram RoBot to Download Tiktok video/audio. Features: 👉 Download TikTok Video without Watermark 👉 Download TikTok Video with Water

X-Noid 23 Nov 21, 2022
Python interface to the World Bank Indicators and Climate APIs

wbpy A Python interface to the World Bank Indicators and Climate APIs. Readthedocs Github source World Bank API docs The Indicators API lets you acces

Matt Duck 47 Oct 31, 2022
Pluggable Telethon - Telegram UserBot

A stable pluggable Telegram userbot, based on Telethon.

Team Ultroid 2.3k Dec 30, 2022
WallAlley.bot is an open source and free to use financial discord bot originaly build for WallAlley server's community

WallAlley.bot About WallAlley.bot is an open source and free to use financial discord bot originaly build for WallAlley server's community. All data a

Mohammad KHADDAN 1 Jan 22, 2022