marcusziade / github-appleos

Native Apple OS GitHub app.
1 stars 0 forks source link

Implement README Image Retrieval in Backend #1

Open marcusziade opened 1 year ago

marcusziade commented 1 year ago

Description:

Develop a feature in the backend to fetch and parse the README file from a specified GitHub repository to extract image URLs. This should help to enhance the data representation and user experience in our application.

Tasks:

  1. API Integration:

    • Set up an endpoint in the backend to receive repository details (owner and repository name).
    • Integrate with the GitHub API to fetch the README file's raw content.
  2. Content Parsing:

    • Develop a function to parse the README content (likely in markdown format) and extract image URLs.
    • Consider using a reliable parsing library or regular expressions to extract image URLs from the markdown content.
  3. Error Handling:

    • Implement robust error handling to manage potential issues like invalid repository details or API failures.
  4. Testing:

    • Develop unit tests to verify the functionality of the new feature.
    • Conduct integration testing to ensure compatibility with the existing backend infrastructure.
  5. Documentation:

    • Update the API documentation to include details about the new endpoint.
    • Prepare a brief user guide or tutorial demonstrating how to use the new feature.

Acceptance Criteria:

Estimated Time: 3-4 days

marcusziade commented 1 year ago

https://chat.openai.com/share/70a1d5b3-b0e0-44bc-8cdc-88a7db18d173