Code Monkey home page Code Monkey logo

ovpn-speed-connect's People

Contributors

n2itn avatar rtruxal avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rtruxal

ovpn-speed-connect's Issues

Create a UI Class

The program entry-point is the most important part of a cmdline application. It needs its own class to enforce rules accross the rest of the codebase & maintain a consistent experience for the user.

I'm going to bullet-point things a UI class should do. Feel free to add your own bullets!!!

(*- means should)
(!- means must)

  • Argument & input() validation and cleansing. (!)

  • sys.stdout() & print() validation and cleansing. (!)

  • Implement a logging scheme (!)

  • Perform all print() calls. (*)

  • Completely mediate interactions between __main__.py & the rest of the package. (*)

  • Keep a bank of stored procedures to prevent malformed user-input. (*)

Enhance the CLI

Can be quite simple. Maybe even a way to add credentials + save (y/n), eventually with options for other behavior examples: force refresh servers, run in background, etc

Python has 99% CPU utilization after 3 hours. Crashes linux.

I decided to try out Nord for a day while you were hiking to see how the package works.

It works. With a caveat:

How to shut it off (aka switch the ip config back to normal & turn off the python process) is unclear.
Also it appears to lose it's niceness as it continues, or something is triggering high-CPU utilization at some point.

We should discuss what's going on in the connect_vpn() function...and figure out what could be causing an endless loop.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.