Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nishantwrp/gatsby-source-hashnode-devblog
Gatsby plugin to retrieve blog posts from your devblog on hashnode.
https://github.com/nishantwrp/gatsby-source-hashnode-devblog
devblog gatsby gatsby-plugin hashnode
Last synced: 2 months ago
JSON representation
Gatsby plugin to retrieve blog posts from your devblog on hashnode.
- Host: GitHub
- URL: https://github.com/nishantwrp/gatsby-source-hashnode-devblog
- Owner: nishantwrp
- License: mit
- Created: 2020-05-29T21:01:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T18:14:37.000Z (almost 4 years ago)
- Last Synced: 2024-10-17T16:17:44.728Z (3 months ago)
- Topics: devblog, gatsby, gatsby-plugin, hashnode
- Language: JavaScript
- Homepage: https://yarnpkg.com/package/gatsby-source-hashnode-devblog
- Size: 8.79 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gatsby-source-hashnode-devblog
Gatsby plugin to retrieve blog posts from your devblog on hashnode.
## Installation
```
# For npm
$ npm install gatsby-source-hashnode-devblog
# For yarn
$ yarn add gatsby-source-hashnode-devblog
```## Usage
Add `gatsby-source-hashnode-devblog` to plugin array with following configurable options to `gatsby-config.js`
```js
module.exports = {
plugins: [
{
resolve: 'gatsby-source-hashnode-devblog',
options: {
username: '', // Your username on hashnode without `@`.
}
}
]
}
```## Example Query
```graphql
query MyQuery {
allDevblogPost {
edges {
node {
brief
contentMarkdown
coverImage
cuid
dateAdded
dateUpdated
slug
title
type
tags {
name
}
id
}
}
}
}
```## License (MIT)
Open [LICENSE](./LICENSE) file for more info