# pgdl a terminal user interface program that downloads a video (or a file) from webpage and xdg-open it immediately. (Linux: xdg-open "video.mp4", MACOSX: open "video.mp4") Client: Only for Linux and MACOSX. Server: Only for nginx's file download page. The program will sort files and folders by date while files in nginx's download page just sort by name. ## Installing ```shell cabal update cabal install pgdl ``` If there is an error occured when installing vty-ui, you may need ```shell cabal install vty-ui -f no-tests ``` to skip build of testing executable. ## Shortcut keys q - quit s - list files that similar with the highlighted file Key Right - show the detailed information of the highlighted file Key Left - go back to the previous page Enter - xdg-open the file / - open a input box to enter a keyword to search n - sort the current list by name v - show the filess already in the disk u - show the filess not in the disk h - shortcut keys' help page