Skip to content

arsaha007/educative-viewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Educative Viewer

This project is made for easier readability of Educative.io courses downloaded using Educative.io_Scraper.

Refer Step 4 if you are using Releases.

Refer cloudflared tunneling docs to tunnel local servers via cloudflared generated urls or custom domains.

To Run/Build this project:

Step 1: Install the virtualenv package for python3 and create a virtual environment.

  pip3 install virtualenv 
  virtualenv env 

Step 2: Activate the environment.

> (For Windows)

  env\Scripts\activate

> (For MacOS/Linux)

  source env/bin/activate

Step 3: Install the required modules and start the educative-viewer using the following commands:

  pip3 install -r requirements.txt
  python3 educative-viewer.py

Step 4: Execute the python script or the application downloaded from releases and Enter the course folder path in terminal and server will automatically start.

> Enter local_server_ip:5000 in your desktop/mobile browser to open the viewer.

  {local_server_ip : Refers to the local ip in your ethernet/wifi adapter set by your router. eg: 192.168.1.111}

> Refer the image below to get the course folder path, eg: "/Users/anilabhadatta/Documents/temp-course"

image

Step 5 (Optional): To build the educative-viewer using pyinstaller:

Install the pyinstaller package and run the following commands

  pip3 install pyinstaller

> (For Windows)

  pyinstaller --clean --add-data templates;templates --add-data static;static --onefile -i"icon.ico" educative-viewer.py

> (For MacOS/Linux)

  pyinstaller --clean --add-data templates:templates --add-data static:static --onefile -i"icon.ico" educative-viewer.py

About

A python script to view educative.io-courses scraped using educative.io-scraper

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • HTML 49.1%
  • Python 43.4%
  • JavaScript 4.6%
  • CSS 2.9%