Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.25 KB

File metadata and controls

33 lines (26 loc) · 1.25 KB

This is tutorial handler

Ever tried to collect snippets (screenshots) of a tutorial for future purposes (revision). This is simple offline solution for this problem.

STEPS

  1. clone repository
    $git clone https://github.com/anumaurya114/useless-tutorial-handler.git
    $cd useless-tutorial-handler

  2. Delete all files from assets/

  3. Steps while capturing snippets:
    Run watchman.py file
    $python3 watchman.py time
    $python3 watchman.py 1
    Update interval is set to 1 (sec). Whenever take a new screenshot. Move that file in assets/
    watchman.py will handle the naming.

  4. View the tutorial.
    Open tutorial.html in browser for view.
    Use next and prev button for next snippet and previous snippet respectively.

    When no further snippets will be available the page will show no img available
    **Note
    Only one file change is expected per time interval i.e. Update_interval (in watchman.py)
    Currently Update_interval is 1 (in sec).

More functionalities
You can delete any intermediate snippet( single file) watchman.py will re-number all the files.

TODO:
Add an video of working example.