- This banner is dynamically generated
- It updates every hour
You can use this banner from the given link
https://api.codinasion.org/hacktoberfest/banner
or use directly in README.md
![Hacktoberfest Banner](https://api.codinasion.org/hacktoberfest/banner)
<img src="https://api.codinasion.org/hacktoberfest/banner" alt="Hacktoberfest Banner">
- Provide a static banner
- Calculate the number of days and hours left for Hacktoberfest
- Add the number of days and hours left to the static banner
- Save the generated banner
- Push to different branch (
optional
)- to avoid unnecessary commits
- Use the generated banner from the raw link or by an API (
optional
)
You can find the code for generating the banner in generate-banner.py
For generating the banner every hour and push to different branch, you can use banner.yml
workflow
flowchart TD;
A[Static image] -- Every Hour --> B{Generate Function};
B -- Get Remaining Days and Hours --> C[Add text on static image];
C --> D[Push to banner branch];
D -- Fetch dynamic image --> E[API];
E --> F[Client];
Learn more about creating this type of flow chart in this github blog