Skip to content

Conversation

@danielshue
Copy link

Native Windows CLI Implementation

This PR adds a complete Windows CLI solution with PyInstaller build automation.

Features Added:

  • Standalone Windows executable (~47.5MB, no Python required)
  • Automated build system with PyInstaller
  • Professional CLI interface with enhanced help
  • Complete documentation with usage examples
  • User-friendly installation with PATH management

Files Added/Modified:

  • coursera_cli.py - User-friendly CLI entry point for Windows executable
  • build_windows_cli.py - Automated PyInstaller build script
  • README_CLI.md - Complete CLI documentation and usage guide
  • coursera_workflow.py - Renamed from workflow.py for clarity
  • coursera_dl.py - Added robust import handling
  • .gitignore - Exclude auto-generated build artifacts

Testing:

  • ✅ CLI functionality verified
  • ✅ Windows executable builds successfully
  • ✅ All imports and dependencies working
  • ✅ Documentation complete and accurate

Usage:

# Build the Windows executable
python build_windows_cli.py

# Run the executable
dist/coursera_downloader.exe --help

Features: Standalone Windows executable, automated build process, complete documentation
@Dattebayooooo
Copy link

Dattebayooooo commented Oct 11, 2025

Hey, does cli works for you using cookies & creds ?

Can you please add standalone app for Mac

Script for mac
pyinstaller --onefile --windowed --name "Coursera Downloader for Mac" --icon icon/icon.png maingui.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants