Skip to content

Conversation

@LoveDoLove
Copy link
Owner

This pull request introduces several updates across the workflow configuration, dependencies, and project data handling. The most significant changes include improving permissions for the GitHub workflow, updating dependencies to support dynamic fetch usage, and removing the sample project data file.

Workflow and Dependency Updates:

  • Added contents: write permission to the fetch-repo-metadata.yml workflow to enable write operations during scheduled runs.
  • Added node-fetch as a dependency in package.json to support server-side HTTP requests.
  • Updated the fetch logic in scripts/fetchRepoMetadata.js to use the global fetch function if available, falling back to dynamic import of node-fetch for compatibility.

Project Data Changes:

  • Removed the sample project data from public/data/projects.json, likely to prepare for dynamic population or restructuring of project metadata.

Versioning:

  • Updated the project version in package.json from 1.0.2-1 to 1.0.2, standardizing the version format.

LoveDoLove and others added 19 commits August 28, 2025 12:45
Added .gitattributes for text normalization, .github funding and issue templates, and a LICENSE file with the MIT license. Updated .gitignore to exclude additional files and directories.
Introduces a new projects.json data file and updates index.html to display a dynamic open source projects showcase. The page now fetches project data, renders project cards with links, and includes improved styling and error handling.
Replaced the example project with multiple real project entries, each including name, description, GitHub URL, and hostname where applicable. This update provides a more comprehensive and accurate showcase of available projects.
Update the project version from 0.0.0 to 1.0.0 to indicate a major release or stable version.
Added PNG and WEBP versions of the icon to the images directory and a WEBP favicon to the public/images directory for use in the application.
Added a comprehensive README.md with project details and usage instructions. Replaced .webp favicon and icon images with .ico and .png formats, updated the favicon link in index.html, and removed unused .webp files for better browser compatibility.
Replaced the placeholder logo image URL with a local image (images/icon.png) in the README for improved branding and offline accessibility.
Incremented the package version from 1.0.0 to 1.0.1 to reflect recent changes.
Added a GitHub Actions workflow and a Node.js script to fetch repository metadata from the GitHub API and update public/data/projects.json. Refactored projects.json structure to group projects by provider and account, and updated frontend code to handle the new format.
Update package version for new release or patch.
Added node-fetch to package.json and updated package-lock.json to include node-fetch and its related packages. This enables HTTP request functionality in the project.
Refactored fetch initialization to use global.fetch if available, falling back to dynamic import of node-fetch. This improves compatibility with environments that provide a global fetch implementation.
Added 'contents: write' permissions to the fetch-repo-metadata GitHub Actions workflow to enable actions that require write access to repository contents.
Deleted the public/data/projects.json file, which contained metadata and project listings for various repositories. This change may be part of a data cleanup or a shift to a new data source.
Updated the project version from 1.0.2-1 to 1.0.2 in package.json and package-lock.json for consistency.
@LoveDoLove LoveDoLove self-assigned this Sep 9, 2025
@LoveDoLove LoveDoLove merged commit 002bd27 into main Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants