Comments (8)
Currently that is not possible, since in order to start the program from command line you need to connect at least once by using the gui.
This is necessary both to store your credentials and preferences.
After this first time yes, you can control it from command line.
from nordpy.
Can you consider implementing asking for those credentials and preferences on the installation process?
from nordpy.
Yes, I'll leave this issue open and see if someone else is interested and/or may want to contribute
from nordpy.
Implementing command line supports means:
- ask and store credentials from command line
- ask and store preferences to be used in next command line runs
Optionally also
- provide arguments to eventually choose preferences (when stored ones needs to be overwritten)
from nordpy.
I'd like to contribute! However, I think I need some time to get into that. Moreover, I haven't contributed to any other repository on GitHub yet, so I'm not familiar with that system.
from nordpy.
I'd like to contribute! However, I think I need some time to get into that. Moreover, I haven't contributed to any other repository on GitHub yet, so I'm not familiar with that system.
I you decide to do so, you can easily find some resources for the web (regarding git and github, which are very simple for what you need) as well as for python (if you need, I suggest the official docs).
Strictly regarding this project, if you need hints about what you need to do don't exitate writing here
from nordpy.
I looked into the code in the last few days. I saw that tkinter is used very widely to control the application.
What do you think about restructuring the whole project, so that the base functionality is served via CLI and Python tools (for example fetching the ovpn.zip via the requests-module) and that the GIU is based upon those CLI?
Also, I would welcome supporting macOS as well.
from nordpy.
I don't think you need to restructure the whole project. Yes, tkinter is very important in the application but some part of it are already tkinter-agnostic, like everything related to connection handling and settings too; on the other hand some other parts like credentials are coupled with gui. You can only to focus on that part, I don't think the rest of the code needs to be changed.
Regarding ovpn.zip as you probably saw the initial population is done via install.sh, which simplifies some things wrt to python since they are mostly operations on the filesystem and dependency installation. (note: python handles ovpn.zip update via requests module, but that function is called in very rare occasions).
I cannot test on macOS so I am not clearly not able to garantee full support for it. Also it wouldn't surprise me it this would not work since it relies on some things which may be different on macOS (I actually don't know, I never used it) like system DNS and iptables.
from nordpy.
Related Issues (20)
- Whitelist SSH on LAN HOT 5
- Inconvenient centering with multiple displays HOT 6
- Can't add nordpy to 'Favorites' in Gnome Dash HOT 2
- Xorg screen dpi changes font size HOT 7
- Failure in name resolution as regular user HOT 4
- Reconnection failure when using unstable network connection HOT 1
- *Feature Request* Bypass VPN DNS HOT 2
- Improve Wireguard compatibility
- Debian packaging (.deb)
- Provide uninstall script
- Indagate on openvpn warning message
- Path with space is not escaped HOT 25
- Lost connection HOT 3
- nordpy on device with two interfaces/default GWs (VLANs) HOT 2
- FileNotFoundError: [Errno 2] No such file or directory: 'iptables-legacy': HOT 4
- Unnecessary calling of `sudo ipsec status` and `sudo ipsec --version` on Arch... HOT 3
- nordpy kills network connection in Ubuntu 22.04 HOT 5
- `ipsec`: command not found HOT 2
- Update AUR package installation directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nordpy.