{"id":45324445,"url":"https://github.com/libpag/pag-web","last_synced_at":"2026-02-21T08:30:30.653Z","repository":{"id":39710134,"uuid":"447631581","full_name":"libpag/pag-web","owner":"libpag","description":"The repository store some libpag web demo.","archived":false,"fork":false,"pushed_at":"2025-08-15T12:14:06.000Z","size":28889,"stargazers_count":152,"open_issues_count":0,"forks_count":45,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-15T14:13:59.017Z","etag":null,"topics":["libpag","pag"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libpag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-01-13T14:33:09.000Z","updated_at":"2025-08-15T12:14:10.000Z","dependencies_parsed_at":"2025-08-15T14:12:42.793Z","dependency_job_id":null,"html_url":"https://github.com/libpag/pag-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/libpag/pag-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libpag%2Fpag-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libpag%2Fpag-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libpag%2Fpag-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libpag%2Fpag-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libpag","download_url":"https://codeload.github.com/libpag/pag-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libpag%2Fpag-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29677493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T06:23:40.028Z","status":"ssl_error","status_checked_at":"2026-02-21T06:23:39.222Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["libpag","pag"],"created_at":"2026-02-21T08:30:30.527Z","updated_at":"2026-02-21T08:30:30.647Z","avatar_url":"https://github.com/libpag.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pag-web\nThe PAG SDK demo for the web platform.\n\n# Note\nThis repo is for demonstrating how to use the PAG SDK only, and it's not actively maintained. Please go to the main repo: [Tencent/libpag](https://github.com/Tencent/libpag) to report issues if you have any problems while using the PAG SDK.\n\n## Demo Code\n\n- [Simple](./pages/simple.html) - A simple demo to play pag file.\n- [Multiple](./pages/multiple.html) - Play multiple pag files.\n- [SetProgress](./pages/setprogress.html) - Set progress pag player progress.\n- [EditableIndex](./pages/editable-index.html) - Get an editable pag layer in pag file.\n- [ReplaceText](./pages/replace-text.html) - Replace text in pag file.\n- [RegisterFont](./pages/register-font.html) - Register font for pag file.\n- [ReplaceImage](./pages/replace-image.html) - Replace the image in pag file.\n- [ReplaceVideo](./pages/replace-video.html) - Replace video in pag file.\n- [Audio](./pages/audio.html) - Play audio from pag file.\n- [FullBox](./pages/full-box.html) - Make PAGView fill the parent box.\n- [Canvas2D(Beta)](./pages/canvas-2d.html) - Use canvas2d.\n- [SoftwareDecoder](./pages/software-decoder.html) - Use software decoder.\n- [OffscreenCanvas](./pages/offscreen-canvas.html) - Create PAGView from the offscreen canvas.\n- [SetComposition](./pages/set-composition.html) - Set PAGComposition(PAGFile) into PAGView.\n- [Make composition](./pages/make-composition.html) - Make a new PAGComposition into PAGView.\n- [Get layers under point](./pages/get-layers-under-point.html) - Get layers under point.\n- [Play with scroll](./pages/play-with-scroll.html) - Play with scroll.\n- [Make Snapshot](./pages/make-snapshot.html) - Make Snapshot.\n\nQuick look\n\n```bash\n$ npm install\n$ npm run start\n```\n\nMore web demos coming soon.\n\n## Vue\n\n- [vue2-libpag-webpack-demo](https://github.com/libpag/pag-web/tree/main/vue/vue2)\n- [vue3-vite-libpag](https://github.com/libpag/pag-web/tree/main/vue/vue3)\n\n## React\n\n- [React](https://github.com/libpag/pag-web/tree/main/react)\n\n## PixiJS\n\n- [PixiJS](https://github.com/libpag/pag-web/tree/main/pixijs)\n\nRelated link: [Web SDK doc](https://github.com/Tencent/libpag/tree/main/web) | [more docs](https://github.com/Tencent/libpag).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibpag%2Fpag-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibpag%2Fpag-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibpag%2Fpag-web/lists"}