https://github.com/glweems/gatsby-source-medium-posts
Gatsby plugin to fetch medium posts
https://github.com/glweems/gatsby-source-medium-posts
Last synced: 4 months ago
JSON representation
Gatsby plugin to fetch medium posts
- Host: GitHub
- URL: https://github.com/glweems/gatsby-source-medium-posts
- Owner: glweems
- Created: 2019-03-23T12:38:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T18:22:53.000Z (over 3 years ago)
- Last Synced: 2025-09-27T19:56:33.837Z (9 months ago)
- Language: JavaScript
- Size: 1.39 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gatsby Source Medium Posts
[](https://circleci.com/gh/glweems/gatsby-source-medium-posts)
### Setup
`npm install gatsby-source-medium-posts`
```javascript
// gatsby-node.js
module.exports = {
plugins: [
{
resolve: `gatsby-source-medium-posts`,
options: {
username: "glweems",
},
},
],
}
```
Content field returns html of your blog post.
```javascript
// Example Query
{
allMediumPost {
edges {
node {
id
title
pubDate
link
guid
author
thumbnail
content
categories
description
}
}
}
}
```