Skip to content

kurt-liao/medium-story

Folders and files

NameName
Last commit message
Last commit date

Latest commit

574ed9c Β· Jul 1, 2022

History

37 Commits
Jun 28, 2022
Jul 1, 2022
Jul 1, 2022
Jun 27, 2022
Jun 27, 2022
Jun 29, 2022
Jul 1, 2022
Jun 28, 2022
Jun 27, 2022

Repository files navigation


Medium Story

Get recent medium stories on your README profile

Issue . Feature

Medium Story Card

Easy to use! πŸ…²πŸ†ƒπŸ†πŸ…»+πŸ…² & πŸ…²πŸ†ƒπŸ†πŸ…»+πŸ†… into your readme markdown.

Change the ?username= value to your Medium's username.

[![My Medium Stories](https://medium-story.vercel.app/api?username=@s09001&index=0)](https://medium-story.vercel.app/api?username=@s09001&index=0&is_link=true)

My Medium Stories

or

<a
  href="https://medium-story.vercel.app/api?username=@s09001&index=0&is_link=true"
>
  <img
    height="200"
    src="https://medium-story.vercel.app/api?username=@s09001&index=0"
  />
</a>

Note: This project use rss to get your newest 10 stories. The index param let you to choose which story you want to get, 0 means the latest story, etc.

You can see an example here as well.

Hide specific info

You can pass a &hide= parameter with comma-separated values.

&hide=date,img,desc,category

![My Medium Stories](https://medium-story.vercel.app/api?username=@s09001&index=0&hide=date,img)

My Medium Stories

Get story url

You can pass a &is_link=true. Instead of return a svg image, the request will return the link of story

https://medium-story.vercel.app/api?username=@s09001&index=0&is_link=true

Deploy your own πŸš€

Guide
  • Fork this repo

  • Sign up and log in into Vercel

  • Go to Vercel dashboard

  • Click New Project

  • Click Import Git Respository(Of course you need to authorize the repo first, then you can see the repo in the list)

    2022-06-30_10-28

  • Click delpoy, and done. Find out your domain and start to use it!

  • Add following command to prevent deploying on irrelevant changes. 2022-06-30_10-17

Deploy with Vercel


Contributions welcome! Also ⭐