DEV Community

Cover image for generate programming quotes in README every day
Omar
Omar

Posted on

generate programming quotes in README every day

My Workflow

Hello, This is my participation for the actionshackathon.
The idea of this action is to run every new day.
with every run it will replace the quote with new one.
let's take a look at source code.

1
2

here I create an python script that basically will fetch API request from specified url , in my case I love programming quotes but you can provide any type of things like pictures but sure you need to edit the script little bit to accept print images.
The logic is 2 have 2 README one I called static and the other is the normal one that will be shown. The script will combine the static_readme with the new quote.

on the other hand is github workflow that will run at 0:0 UTC every day , and it's setup to use python3.8 , and in the end will push that changes.

Submission Category:

Wacky Wildcards

Links

GitHub logo khatibomar / programming-quotes-workflow

this workflow will update your README with a programming quote.

thanks to skolakoda for providing quotes API

GitHub logo mudroljub / programming-quotes-api

Programming Quotes API for open source projects.

Top comments (0)