From 9176d59cb846ff9b1d1c51aac8c06ad1378d5f14 Mon Sep 17 00:00:00 2001 From: Prasanna <126444421+prasannasahaj@users.noreply.github.com> Date: Mon, 3 Feb 2025 09:12:52 +0530 Subject: [PATCH] Save commit --- .github/workflows/update-home-page.yaml | 16 +++++++++++++--- projects/_template.md | 10 ++++------ projects/wealthwave | 19 ------------------- projects/wealthwave.md | 16 ++++++++++++++++ 4 files changed, 33 insertions(+), 28 deletions(-) delete mode 100644 projects/wealthwave create mode 100644 projects/wealthwave.md diff --git a/.github/workflows/update-home-page.yaml b/.github/workflows/update-home-page.yaml index 3c52e69..f9559f4 100644 --- a/.github/workflows/update-home-page.yaml +++ b/.github/workflows/update-home-page.yaml @@ -11,17 +11,27 @@ jobs: uses: actions/checkout@v3 - name: Generate Homepage run: | - echo "# Skunkwork Projects Showcase" > index.md + echo "# Hobby Projects Showcase" > index.md echo "## Projects" >> index.md for file in projects/*.md; do title=$(grep -m 1 '^title:' $file | cut -d '"' -f 2) + description=$(grep -m 1 '^description:' $file | cut -d '"' -f 2) status=$(grep -m 1 '^status:' $file | cut -d '"' -f 2) - echo "- [$title]($file) - **Status: $status**" >> index.md + contributors=$(grep '^ - ' $file | cut -d '"' -f 2 | paste -sd ', ' -) + thumbnail=$(grep -m 1 '^thumbnail:' $file | cut -d '"' -f 2) + echo "### [$title]($file)" >> index.md + echo "![Thumbnail]($thumbnail)" >> index.md + echo "**Status:** $status" >> index.md + echo "**Description:** $description" >> index.md + echo "**Contributors:** $contributors" >> index.md + echo "" >> index.md + echo "---" >> index.md done + echo "[Add a New Project](https://github.com/[your-username]/hobby-projects/new/main/projects)" >> index.md - name: Commit changes run: | git config --global user.name "GitHub Actions" git config --global user.email "actions@github.com" git add index.md - git commit -m "Automatically update homepage" + git commit -m "Automatically update homepage with project details" git push \ No newline at end of file diff --git a/projects/_template.md b/projects/_template.md index 4c62be7..5ee3511 100644 --- a/projects/_template.md +++ b/projects/_template.md @@ -1,19 +1,17 @@ --- title: "Project Name" +description: "A brief description of the project." status: "Ongoing" # Ongoing, Completed, Abandoned contributors: - - "Contributor 1" + - "Contributor 1 @githubuser" - "Contributor 2" -video: "https://youtube.com/embed/your-video-id" +thumbnail: "https://via.placeholder.com/150" # Link to a thumbnail image --- -## Description -A brief description of the project. - ## Progress Updates - 2023-10-01: Started the project. - 2023-10-15: Added basic functionality. ## How to Contribute - Contact: [Your Email](mailto:example@example.com) -- Skills Needed: Python, HTML, CSS \ No newline at end of file +- Tech: Python, HTML, CSS \ No newline at end of file diff --git a/projects/wealthwave b/projects/wealthwave deleted file mode 100644 index cdf21d8..0000000 --- a/projects/wealthwave +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: "Wealth Wave" -status: "Completed" # Ongoing, Completed, Abandoned -contributors: - - "Prasanna Anbazhagan" - - "" -video: "https://youtube.com/embed/your-video-id" ---- - -## Description -A brief description of the project. - -## Progress Updates -- 2023-10-01: Started the project. -- 2023-10-15: Added basic functionality. - -## How to Contribute -- Contact: [Your Email](mailto:example@example.com) -- Technologies: Flutter, AWS \ No newline at end of file diff --git a/projects/wealthwave.md b/projects/wealthwave.md new file mode 100644 index 0000000..0fb494b --- /dev/null +++ b/projects/wealthwave.md @@ -0,0 +1,16 @@ +--- +title: "Wealth Wave" +description: "A tool to maintain and track investments." +status: "Completed" # Ongoing, Completed, Abandoned +contributors: + - "Prasanna Anbazhagan @prasannasahaj" +thumbnail: "https://via.placeholder.com/150" # Link to a thumbnail image +--- + +## Progress Updates +- 2024-10-01: Added expense tracker. +- 2024-08-01: Added way to sync the funds value from API. + +## How to Contribute +- Contact: [Your Email](mailto:prasanna@sahaj.ai.com) +- Tech: Flutter, AWS, TS \ No newline at end of file