feat: add static wallpaper gallery site for GitHub Pages (/docs) - #16
Open
rootagi wants to merge 19 commits into
Open
feat: add static wallpaper gallery site for GitHub Pages (/docs)#16rootagi wants to merge 19 commits into
rootagi wants to merge 19 commits into
Conversation
Added a section for 'Walls' with a link to the live web gallery.
Added error handling for video loading failures, including a fallback to a raw GitHub URL and a user-friendly error message with a download option.
Added styles for video error fallback component.
Enhanced getCDNUrl function to handle file size.
|
This is a solid add. Not sure the maintainer saw the PR, but definitely a +1 on this if they're willing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds a static, buildless GitHub Pages web gallery in
/docsto browse, search, and download all wallpapers across the repository's 52 categories./docsis only ~660 KB. 0 MB of images/videos are stored in/docs— media streams dynamically via jsDelivr CDN with raw GitHub fallbacks.Key Features
IntersectionObserverlazy-loading and reservedaspect-ratioto eliminate masonry layout shifts.images.weserv.nlproxy for fast load times and minimal bandwidth; Lightbox modal loads ~1600px previews.#category/,#search/,#wallpaper/).localStoragepersistence, and zero-FOUC inline detection.Tab,Enter,Space,Esc,←,→), and static marquee fallbacks forprefers-reduced-motion.scripts/generate-manifest.mjsand a GitHub Action (.github/workflows/update-manifest.yml) to auto-updatedocs/manifest.jsonwhenever wallpapers are added or updated.Instructions for Maintainer
After merging this PR:
mainand folder to/docs.https://dharmx.github.io/walls.