{"id":37008523,"url":"https://github.com/huement/statamic-ytlistr","last_synced_at":"2026-01-14T00:50:08.753Z","repository":{"id":327507510,"uuid":"1109585050","full_name":"huement/statamic-ytlistr","owner":"huement","description":"Statamic Plugin for displaying a channel's YouTube Videos. Easily use Antlers or Blade templates to display view counts, thumbnails, anything and everything is available. Sync in the control panel display on the front end.","archived":false,"fork":false,"pushed_at":"2025-12-05T00:26:01.000Z","size":820,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-07T08:37:54.928Z","etag":null,"topics":["laravel","statamic","statamic-addon","youtube-api"],"latest_commit_sha":null,"homepage":"https://youtu.be/cppWG_jLmFE","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huement.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-04T02:22:38.000Z","updated_at":"2025-12-05T01:33:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/huement/statamic-ytlistr","commit_stats":null,"previous_names":["huement/statamic-ytlistr"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/huement/statamic-ytlistr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huement%2Fstatamic-ytlistr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huement%2Fstatamic-ytlistr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huement%2Fstatamic-ytlistr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huement%2Fstatamic-ytlistr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huement","download_url":"https://codeload.github.com/huement/statamic-ytlistr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huement%2Fstatamic-ytlistr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["laravel","statamic","statamic-addon","youtube-api"],"created_at":"2026-01-14T00:50:07.444Z","updated_at":"2026-01-14T00:50:08.005Z","avatar_url":"https://github.com/huement.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Statamic YouTube Listr\n\nA Statamic addon that syncs YouTube videos from a channel to your local database and provides Antlers tags to display them.\n\n![Control Panel Interface](preview.png)\n_Manage your YouTube videos directly from the Statamic Control Panel_\n\n## Features\n\n- 🎥 Sync YouTube videos from any channel\n- 📊 View video stats (views, likes, duration)\n- 🏷️ Easy-to-use Antlers tags for frontend display\n- 🔄 Manual or automated syncing\n- 💾 Local database storage for fast access\n- 🎨 Clean Control Panel interface\n\n## Installation\n\nYou can install the package via Composer:\n\n```bash\ncomposer require huement/statamic-ytlistr\n```\n\nThe package will automatically register itself with Statamic.\n\n### Requirements\n\n- PHP ^8.1\n- Statamic CMS ^5.0\n\n## Configuration\n\nAdd these variables to your `.env` file:\n\n```env\nYOUTUBE_API_KEY=your_youtube_api_key\nYOUTUBE_CHANNEL_ID=your_youtube_channel_id\nYOUTUBE_MAX_RESULTS=50\n```\n\n## Usage\n\n### Sync Videos\n\nVia Control Panel:\n\n- Navigate to Tools \u003e YouTube Listr\n- Click \"Sync Videos from YouTube\"\n\nVia Command Line:\n\n```bash\nphp artisan ytlistr:fetch\nphp artisan ytlistr:fetch --limit=100\n```\n\n### Antlers Tags\n\n![Frontend Display Example](preview-frontend.png)\n_Display your YouTube videos beautifully on the frontend_\n\nList all videos:\n\n```antlers\n{{ yt_listr }}\n    \u003ch3\u003e{{ title }}\u003c/h3\u003e\n    \u003cimg src=\"{{ thumbnail_url }}\" alt=\"{{ title }}\"\u003e\n    \u003cp\u003e{{ description }}\u003c/p\u003e\n    \u003ca href=\"{{ youtube_url }}\"\u003eWatch on YouTube\u003c/a\u003e\n{{ /yt_listr }}\n```\n\nLimit results:\n\n```antlers\n{{ yt_listr limit=\"5\" }}\n    \u003cdiv\u003e{{ title }}\u003c/div\u003e\n{{ /yt_listr }}\n```\n\nGet latest video:\n\n```antlers\n{{ yt_listr:latest }}\n    \u003ch2\u003e{{ title }}\u003c/h2\u003e\n    \u003ciframe src=\"{{ embed_url }}\" frameborder=\"0\" allowfullscreen\u003e\u003c/iframe\u003e\n{{ /yt_listr:latest }}\n```\n\nGet video count:\n\n```antlers\nTotal videos: {{ yt_listr:count }}\n```\n\n## Available Data\n\nEach video provides:\n\n- `id` - Database ID\n- `video_id` - YouTube video ID\n- `title` - Video title\n- `description` - Video description\n- `thumbnail_url` - Thumbnail image URL\n- `published_at` - Publication date\n- `duration` - Duration in seconds\n- `duration_formatted` - Human-readable duration (MM:SS)\n- `view_count` - Number of views\n- `like_count` - Number of likes\n- `comment_count` - Number of comments\n- `channel_id` - YouTube channel ID\n- `channel_title` - Channel name\n- `youtube_url` - Full YouTube URL\n- `embed_url` - YouTube embed URL\n\n## Credits\n\nCreated and sponsored by [Huement.com](https://huement.com) - A software studio creating awesome content and exceptional web experiences.\n\n## Links\n\n- [GitHub Repository](https://github.com/huement/statamic-ytlistr)\n- [Packagist](https://packagist.org/packages/huement/statamic-ytlistr)\n- [Huement.com](https://huement.com)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuement%2Fstatamic-ytlistr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuement%2Fstatamic-ytlistr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuement%2Fstatamic-ytlistr/lists"}