DEV Community

Cover image for Create a Github stunning profile 💫 (by dynamically listing your recent blog posts)
Renan Franca
Renan Franca

Posted on • Updated on • Originally published at renanfranca.github.io

Create a Github stunning profile 💫 (by dynamically listing your recent blog posts)

I enjoy writing my blog posts, but it is getting better when you know that someone is reading them. The real magic happens when someone leaves a comment and I can start discussing the subject.

I learned that you have to expose your blog posts as much you can, without spamming or being annoying, to have a chance to someone read them.

Create a stunning Github profile

Let's create an attractive Github profile (by naveenkumarj ) to catch the reader's attention. A summary to creating a context for this blog post:

  1. Create a new repository with the same name as your github username
  2. Create a README.md file at the repository root
  3. Access this awesome open source project (by @rahuldkjain ) to help you to generate the README.md file content
  4. Copy and paste the generated content into your README.md and commit it

The result will be something like my Github profile:

Dynamically listing your recent blog posts

Now we are going to add the latest blog posts to my GitHub profile by using Github Actions (by @avdev4j ) with the help of this addon (by @gautamkrishnar )

The above code implements a workflow to update a github profile README.md with the 5 latest posts from my blog feed. This workflow was defined to start manually by using workflow_dispatch option. You can change my feed URL to use your dev. to account, for example, my dev.to feed is https://dev.to/feed/renanfranca .

I am going to show you how to make it works.

Let's change that workflow to execute automatically every hour. Replace this

on: 
    workflow_dispatch:
Enter fullscreen mode Exit fullscreen mode

for

on: 
    schedule:
        - cron: '0 * * * *'
Enter fullscreen mode Exit fullscreen mode

The final file will be like this

A special thanks to @rahuldkjain and @gautamkrishnar for building the awesome open source projects that I used on this post. Please, visit rahuldkjain's project repository and gautamkrishnar's project repository and give it a star 🤩

Top comments (17)

Collapse
 
renanfranca profile image
Renan Franca • Edited

Do you know an interesting open source project❓ Please, share it with us 😁

Thank you for reading this post. Send me some ❤️ & 🦄 to support me and enhanced this post's visibility 🤩
If you find the content interesting, follow me 👣

Collapse
 
marcomoscatelli profile image
Marco Moscatelli

Hi, I made this project: github.com/MoscatelliMarco/stripe-... it's an npm package that simplifies building APIs using Stripe and mongoose, the package does all the annoying things that every developer hate, I hope you will help me with the project, thank for your time!

Collapse
 
renanfranca profile image
Renan Franca

Thank you for sharing @moscatellimarco 🎉
I've already given a star to the project💪
It looks awesome, a very useful project for API developers!
I've never used MongoDB, so it's a good reason to start using it 🙌

Thread Thread
 
marcomoscatelli profile image
Marco Moscatelli

Thank you for the star I really appreciated that <3, I have an article on how mongo db works dev.to/moscatellimarco/how-mongodb... maybe you will find this helpful

Thread Thread
 
renanfranca profile image
Renan Franca

😮! Thank you very much, it's a great article 👏

Collapse
 
psypher1 profile image
James 'Dante' Midzi

I made this
github.com/Psypher1/the-language-hub

It's a language reference book,that aims to collect information from people who speak the languages and have it all on one place, rather than textbooks

Collapse
 
renanfranca profile image
Renan Franca

Hi @psypher1 👋
Thank you for sharing your open source project! 🤗
I enjoy the idea and I loved the cozy and easy to use interface!
I gave a star 🤩

Keep up the good work 👏

Collapse
 
psypher1 profile image
James 'Dante' Midzi

Thank you so much!

That was one of my goals - easy to use. I am glad I succeeded in that aspect. 😀

Absolutely! Right now I am searching for more people from all over who are willing to share what they know.

Thank you for the star 😃

Collapse
 
mrpaulishaili profile image
Paul C. Ishaili

Thanks for this @renanfranca. Currently implementing mine. However still having difficulty in running the workflows code.

Collapse
 
renanfranca profile image
Renan Franca

Hi @mrpaulishaili 😀
I'm glad that post is helping you 👏

Which part of the workflow do you have difficulty with?
Feel free to ask questions, shared print screens, or shared the code. I am here to help you 🤓

You can access my repository (github.com/renanfranca/renanfranca/) and see how I set it up.

Collapse
 
mrpaulishaili profile image
Paul C. Ishaili • Edited

😊 Thank you @renanfranca, now got it fixed.
Went through your repo (an interesting one, I must say) and crosschecked my .yml file with yours to realize an apostrophe error I made!
Here's mine now 👉 github.com/mrpaulishaili

😊 👋

Thread Thread
 
renanfranca profile image
Renan Franca

Those yaml files could quickly become a nightmare!😆

Nice job! You edited the welcome message! Stunning profile now! 🤓

Collapse
 
loveth_adex profile image
AmoleseEsther

Hello

If you are software developer, CTO or IT architect interested in topics:

  • data processing infrastructure
  • stream processing, video analysis, and data transformation.
  • serverless infrastructure in the cloud
  • IoT, AI

Kindly join this Awesome and Interesting Project:
discord.gg/pv43MJuW87

Collapse
 
codegino profile image
Carlo Gino Catapang

Thanks. Got a better profile now. github.com/codegino

Collapse
 
renanfranca profile image
Renan Franca

You are welcome 🤗
I loved the animated 👋, I will copy and paste it on my profile 🤓

Collapse
 
gautamkrishnar profile image
Gautam Krishna R

Thanks for sharing 😊

Collapse
 
renanfranca profile image
Renan Franca

My pleasure! Excellent project which is easy to set up 🤩
Feel free to share some other projects here 👏
I gave the star!