DEV Community

Cover image for Create Your Github readme with automated news data

Create Your Github readme with automated news data

I am a coder interested in problem solving,data structure algorithms,web development,java script,python
・1 min read

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
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

(code snipit)
Alt Text

The auto updating README

Create with replacement tags

Alt Text

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.
Alt Text
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 πŸš€ from India, Freelancer, completed masters of computer application from HBTU-kanpur I have done some internship's onsite and remote. Beside's programming, I enjoy eating food, practicing yoga and watching anime.

mriduls LinkdeIN mriduls Leetcode mriduls facebook

Quote of the hour:

It's not so important what you work on, so long as you're not wasting your time.

~ Paul Graham (programmer)

Languages and Tools:

react android cplusplus html5 javascript typescript mongodb mysql postgresql nodejs nginx


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:;



Daily News

  • Future Fields is tackling cultured meat's biggest problem

    • One possible solution to cellular agriculture’s biggest problem β€” how…

Alt Text

Discussion (0)

Forem Open with the Forem app