aapatre / Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE

Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!
GNU General Public License v3.0
3.13k stars 541 forks source link

[FEATURE REQUEST] Add support for GUI #404

Open yolobnb opened 1 year ago

yolobnb commented 1 year ago

This is something that would reduce the dependence on Visual Studio and provide a much better usability experience (like an .exe file).

Linking in a GUI course grabber: https://github.com/techtanic/Discounted-Udemy-Course-Enroller

Hope that this will be taken into consideration.

cullzie commented 1 year ago

Hey @yolobnb, Thanks for the suggestion. You do not require Visual Studio to install and run this library. You can install directly from pypi and run via the CLI: https://pypi.org/project/udemy-enroller/

Adding a UI would require extra maintenance so even though it is a nice feature, I wouldn't say its a priority right now. @fakeid30 @aapatre Any input on this one?

fakeid30 commented 1 year ago

@cullzie I have done the GUI locally using https://github.com/chriskiehl/Gooey

It seems to have worked without any extra overhead. Check it out if/when free.

cullzie commented 1 year ago

@fakeid30 Sorry I missed responding here for so long. That library looks good. I will try and have a look at what other UI frameworks are available

baseplate-admin commented 1 year ago

@fakeid30 Sorry I missed responding here for so long. That library looks good. I will try and have a look at what other UI frameworks are available

Hey there,

Why not look into pywebview ?

cullzie commented 1 year ago

@baseplate-admin Thanks. That looks like a good option and would give a lot more control over styling but I'm not sure if it's designed to run commands on the OS since it is running in a browser. Seems it is more aimed at using a webserver to process requests. I guess we could have a local instance of flask (for example) run which just executes the commands but that is another level of abstraction and complexity

baseplate-admin commented 1 year ago

I guess we could have a local instance of flask (for example) run which just executes the commands but that is another level of abstraction and complexity

Pywebview uses bottle.py under the hood to achieve this.

it's designed to run commands on the OS

It can execute commands on the OS. Without any kind of internet connection.

That looks like a good option and would give a lot more control over styling

Thats my main reasoning behind using pywebview as python doesnt have that good of a GUI framework ( that Doesn't require tons of work )

yolobnb commented 1 year ago

I was under the impression that this 'issue' might go unnoticed in the long run. Thanks for coming back to it, @cullzie. I just noticed the issue number (I assume that might be why you missed it so long ;).

@fakeid30, thanks for the initial suggestion, and @baseplate-admin, thanks for pouring in some efficient solutions. If I can help you, I would be glad to do that.