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

[V2] Video + Library content #679

Open
wants to merge 6 commits into
base: v2
Choose a base branch
from

Conversation

MacFJA
Copy link
Collaborator

@MacFJA MacFJA commented Aug 30, 2024

  • Add simple metadata loading and cache.
  • Add content body
  • Add author card

  • Video (from Youtube) have a embed video, author is extracted
  • Package the last version, updated date, number of download of the preview week, authors is extracted from maintainer field, and if from package hosted on Github, a cover preview
Preview of video and library

image

Preview of content body

image

Preview of author card

image


  • Videos are cached for 30 days
  • Library are cached for 1 day

Cache handle fresh and stale state.
If a cache is expired, it's flag as stale and a new content is loaded in background.
The stale content is return until a new fresh content is available

Copy link

vercel bot commented Aug 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sveltesociety-dev ❌ Failed (Inspect) Sep 1, 2024 9:07pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant