GitHub added a new feature ,where you could have a README on your GitHub profile.It could be used as portfolio or just a fun project.
GitHub profile README
So what is that GitHub profile README thingy? Its a cool new feature by GitHub which allows you to have a README on your profile. Sounds cool? Surely it is. Time to get creative 😋.
How to include TeachCrunch news api data in readme
So to access the news API, you need to have an access key.
which you can get here https://newsapi.org/
So how do we get TeachCrunch news? Well, the answer is really easy. So we will do it in NodeJS. We will install some dependencies.
We installed 3 dependencies here, but express , dotenv and isomorphic-unfetch.
npm i isomorphic-unfetch
The auto updating README
Create README.template.md with replacement tags
Using Github Actions for AutoUpdate
Now we have created the scripts, we need to automate it to update the README every hour. For this, we will use GitHub's actions.
As a bonus, I also used the Programming Quotes API to get the quote of the hour.
what you get
github link:
Hi, I'm Mridul
A passionate developer from India
Hi, I'm Mridul Shukla, a Full Stack Developer
Quote of the hour:
I never in my wildest dreams would have predicted the evolution of the Internet. And I never would’ve predicted the degree to which corporate influence over the Internet has changed its character over time.
~ L. Peter Deutsch
Languages and Tools:
Talking about Personal Stuffs:
-
👨🏽💻 I’m currently working on Node.js,React.js,Angular,MySql,Rxjs
-
🌱 I am currently learning IPFS(peer2peer),docker,Flutter,Data Science. -
👯 I’m looking to collaborate on anything free and open source. -
🤔 I’m looking for help with Data Structures and Algorithms😭 ; -
💬 Ask me about react, Angular and nodejs -
📫 How to reach me: mridulshukla037@gmail.com;
Daily News
…
Top comments (0)