Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OG scraper for list of URLs #115

Open
1 of 5 tasks
ViorelMocanu opened this issue Oct 22, 2023 · 0 comments · May be fixed by #119
Open
1 of 5 tasks

OG scraper for list of URLs #115

ViorelMocanu opened this issue Oct 22, 2023 · 0 comments · May be fixed by #119
Assignees
Milestone

Comments

@ViorelMocanu
Copy link
Owner

ViorelMocanu commented Oct 22, 2023

In order for us to be able to add the content from all the 1600+ links in the document, we require an Open Graph and metadata scraper to:

  1. parse through all 1600+ remote URL resources
  2. fetch the meta information (minimum: title, description, og:image) for each URL
  3. export a Markdown file for each link inside ./src/content/resources/, following the schema in ./src/content/config.ts, and name the .md file based on the meta title, in a safe way (alphanumeric + _ or -) to avoid duplicates for resources with identical titles
  4. download the OG image, name it identical to the Markdown file and place it in the same folder as the Markdown
  5. (optional) use OpenAI ChatGPT API to optimize description and try to write some extensive descriptive content
  6. (optional) use MidJourney API to generate a unique OG image based on the original (if one exists) or on the first fold of the remote URL

Potential APIs and packages

@ViorelMocanu ViorelMocanu converted this from a draft issue Oct 22, 2023
@ViorelMocanu ViorelMocanu added this to the v0.5 milestone Oct 22, 2023
@ViorelMocanu ViorelMocanu moved this to 📋 Backlog in Resurse.dev Oct 22, 2023
@ViorelMocanu ViorelMocanu linked a pull request Oct 22, 2023 that will close this issue
19 tasks
@ViorelMocanu ViorelMocanu self-assigned this Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

1 participant