- ๐ฑ Iโm currently learning .net for backend
mrmoein / warp-cloudflare-gui Goto Github PK
View Code? Open in Web Editor NEWA GUI application based on warp-cli for Linux
License: GNU General Public License v3.0
A GUI application based on warp-cli for Linux
License: GNU General Public License v3.0
I propose to rename this application to 1.1.1.1, just like the Windows version. I think the repository name is better left as it is, but the program interface and shortcut should be changed.
i used your command $ python ./main.py --hide
but it doesn't worked. So i used $ python3 ./main.py --hide
code to hide the application and there is and warning
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
and application ran in hidden mode. But after closing the terminal system tray icon is always hidden. What i have to do ?
Hi! I propose to add that the program checks if the same program is running at startup, and then just open it from the tray if it is already running.
The Program will not boot from Applicationselector or latte-dock after a fresh install and even a complete wipe and reinstall.
Upon snooping around in fileperms of all the scripts, out of all i found the .desktop that was created during install not to be marked as executable, changing that fixed the issue.
Cant tell if this is an issue specific to my system or with the scripts, but im mentioning it here if others encounter the same problem.
It would be great to give an option to select the tray icon color (colorful/minimal), to better match the system theme.
This feature is present in several apps.
warp-cloudflare-gui/install.py chucks an error for copying logo.png to /home/USER/.local/share/icons/warp_gui.png
Creating the file and moving it manually works and the entry to the menu displays the icon. :)
(BTW, the world needs this project!)
(still haven't made the scripts work yet. Another error is being thrown below, but I'm super tired and will look tomorrow)
Traceback (most recent call last):
File "/home/atomo/warp-cloudflare-gui/main.py", line 1, in
from warp_gui.mainwindow import GUI
File "/home/atomo/warp-cloudflare-gui/warp_gui/mainwindow.py", line 8, in
from qtwidgets import AnimatedToggle
ModuleNotFoundError: No module named 'qtwidgets'
WARP CLI is called with enable-always-on
.
But on GUI start it says
Connected
Your internet is not private
Disconnecting and connecting again (doesn't matter using GUI or CLI) fixes the issue.
I'm running a custom Linux desktop, I have a shortcut to close a focused app by sending SIGTERM signal.
Normally, any other tray apps would hide the open window. In warp-cloudflare-gui
however, it kills the entire process, resulting the taskbar to be also killed, which is not the intended behavior.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
Kernel: 4.19.0-19-amd64 x86_64 bits: 64 Desktop: Cinnamon 5.0.7 Distro: LMDE 4 Debbie
I disconnected but the icon is still the same and does not switch to disconnect mode and when I open the GUI, the switch does not turn on.
Hi it might be a dumb question but where can i use my key (if i can) ? I'm using warp on my windows PC and mobile phone with a key but i couldn't find how to set that key in my Linux machine
This is what I am looking for can you upload this in pip? so that we can install from pip?
Hello! I think it will be bery usefull, if I add this program to autostartup.
OS: Pop!_OS 22.04
Shell: Gnome 42.5
Windowing: X11
Installed and tried to launch the app, never loaded. Then tried the cli method which produced this message:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
It was fixed by adding the PtQT5 libraries.
sudo apt-get install python3-pyqt5
Perhaps the installer script should include this as dependency and/or have the error bubble up when the GUI fails to load.
Error: "Unable to connect to CloudflareWARP daemon. Maybe the daemon is not running?"
Os: Arch linux
Log:
โโ$ python3 install.py
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /home/kali/.local/lib/python3.11/site-packages (23.1.2)
Requirement already satisfied: wheel in /home/kali/.local/lib/python3.11/site-packages (0.40.0)
Requirement already satisfied: setuptools in /home/kali/.local/lib/python3.11/site-packages (67.7.2)
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: PyQt5 in /usr/lib/python3/dist-packages (from -r requirements/prod.txt (line 1)) (5.15.9)
Requirement already satisfied: qtwidgets in /home/kali/.local/lib/python3.11/site-packages (from -r requirements/prod.txt (line 2)) (1.1)
Requirement already satisfied: qtpy in /home/kali/.local/lib/python3.11/site-packages (from -r requirements/prod.txt (line 3)) (2.3.1)
Requirement already satisfied: PyQt5-sip<13,>=12.11 in /usr/lib/python3/dist-packages (from PyQt5->-r requirements/prod.txt (line 1)) (12.11.1)
Requirement already satisfied: markdown in /usr/lib/python3/dist-packages (from qtwidgets->-r requirements/prod.txt (line 2)) (3.4.1)
Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from qtpy->-r requirements/prod.txt (line 3)) (23.0)
cp: cannot create regular file '/home/kali/.local/share/icons/warp_gui.png': No such file or directory
Traceback (most recent call last):
File "/home/kali/Desktop/warp-cloudflare-gui/install.py", line 13, in
file = open(desktop_file, 'w+')
^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/kali/.local/share/applications/warp-gui.desktop'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.