Hashnode client is a community-driven Open Source Project that provides APIs to interact with the Headless Hashnode
from any ReactJS
based applications. It means you can use the APIs from ReactJS, Next.js, Gatsby, and many more libraries and frameworks to build your blog front end.
The main goal of this project is to provide you with a public NPM package called hashcode-client
, which will contain a bunch of useful APIs for interacting with the Headless Hashnode
. Along with it, you can also play with the application called Hashnode Diaries
, which uses the APIs from the hashcode-client
NPM package.
Read everything about the hashnode-client
package from here.
Read about the hashnode-diaries
application from here.
Liked it? You can show your support with a STAR(⭐).
Headless Hashnode empowers you to build a blog from the ground up using Hashnode's innovative GraphQL APIs. It is a powerful headless CMS optimized for building and running blogs.
This project has two primary objectives:
- Create an NPM package to connect and interact with the Headless Hashnode APIs.
- Use the NPM package in an application to demonstrate the possibilities.
Hence, you will find two primary project directories here:
- package: Contains the source code to build and test the NPM package.
- hashnode-diaries: A Next.js application uses the NPM package where you can provide any Hashnode blog URL to fetch the posts from them.
Please check the package and hashnode-diaries projects to learn how to run them locally.
Developers should blog. At the same time, they need to customize and personaize their blog front-end user interfaces. In that case, locking the blog with a specific vendor may not be a good idea. The Headless Hashnode
is a great innovation where we get all our blog data through GraphQL APIs along with getting the opportunity to use the Hashnode infrastructure under the hood.
It means we can create a blog front end of our choice using GraphQL APIs. Considering most web developers today are ReactJS-focused (with all due respect to every other technology on the earth!), we have created this NPM package to make things easy for React developers. They can just use this package to import a few hooks(utilities) they need and get the job done!
Advantages are:
- No need to know GraphQL.
- Lesser code.
- Building it as an Open Source project to get it improved by the community.
- It is(and will be) FREE forever.
To contribute to the hashnode-client project, please ensure the following:
- You have read the Contributing Guide completely.
- You have read and abide by the Code of Conduct.
- Feel free to add a feature by creating a feature request.
- Feel free to fix a bug by creating a bug-fixing issue.
Note that it is not just about coding contribution. You can also contribute to the following areas:
- Test out the changes.
- Write Tests.
- Improve documentation.
- Write content(blog/video) about the library.
- Help us to socialize hashnode-client.
- Anything else that impacts this project positively.
- Open Source is all about collaboration and proper communication. Let's go.
Thanks goes to these wonderful people (emoji key):
Tapas Adhikary 🚇 |
Chaitanya Agarwal |
Mohammad anas khan |
This project follows the all-contributors specification. Contributions of any kind welcome!