This is a command-line tool designed to streamline the process of managing your stories on Medium. With just a few simple commands, you can easily list and unlist your Medium stories, helping you to organize and control your content effortlessly.
-
Clone this repository to your local machine
git clone https://github.com/mhsiungw/medium-apis-utiliser.git
-
Navigate to the directory
-
Create
.env
file withCOOKIE
andX_XSRF_TOKEN
set. you can find your Cookie and X-Xsrf-Token in your request headers on Medium.COOKIE=YOUR_COOKIE X_XSRF_TOKEN=YOUR_TOKEN
-
Copy and paste the urls you want to list or unlist in
urls.json
-
Run command
node index.js list node index.js unlist
Contributions are welcome! If you'd like to contribute to this repo, please fork the repository, make your changes, and submit a pull request.