Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

xzmeng/meizi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meizi

Meizi provides two commands:

  • mz download for downloading nice albums.
  • mz serve for starting a simple web server to serve the albums.

Install

You need to have Python 3.8+.

$ pip install meizi

Usage

You can run mz download in one terminal, and run mz serve in another terminal.

Then open http://localhost:1310 in your browser.

Commands

$ mz download --help
Usage: mz download [OPTIONS]

  Download albums.

Options:
  --max-workers INTEGER  The number of threads for downloading.  [default: 2]
  --data-dir PATH        The directory to save albums.  [default:
                         /Users/xzmeng/.meizi]
  --help                 Show this message and exit.
$ mz serve --help
Usage: mz serve [OPTIONS]

  Run a local http server.

Options:
  --data-dir PATH  The directory to read albums.  [default:
                   /Users/xzmeng/.meizi]
  --port INTEGER   The port of the http server.  [default: 1310]
  --help           Show this message and exit.

About

Download and view nice albums.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published