{"id":29355974,"url":"https://github.com/danopcode/lightweight-youtube-channel-widget","last_synced_at":"2025-12-17T20:17:14.114Z","repository":{"id":19757717,"uuid":"23015092","full_name":"DanOpcode/lightweight-youtube-channel-widget","owner":"DanOpcode","description":"Fork of the WordPress plugin http://wordpress.org/plugins/youtube-channel/","archived":false,"fork":false,"pushed_at":"2015-02-05T15:14:31.000Z","size":2596,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T12:07:58.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/lightweight-youtube-channel-widget/","language":"PHP","has_issues":true,"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/DanOpcode.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}},"created_at":"2014-08-16T09:40:52.000Z","updated_at":"2015-02-05T15:14:31.000Z","dependencies_parsed_at":"2022-08-25T02:01:24.228Z","dependency_job_id":null,"html_url":"https://github.com/DanOpcode/lightweight-youtube-channel-widget","commit_stats":null,"previous_names":["danopcode/lightweight-youtube-channel-widget","matachi/lightweight-youtube-channel-widget"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DanOpcode/lightweight-youtube-channel-widget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Flightweight-youtube-channel-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Flightweight-youtube-channel-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Flightweight-youtube-channel-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Flightweight-youtube-channel-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanOpcode","download_url":"https://codeload.github.com/DanOpcode/lightweight-youtube-channel-widget/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Flightweight-youtube-channel-widget/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264390710,"owners_count":23600564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-07-09T04:09:44.298Z","updated_at":"2025-12-17T20:17:14.054Z","avatar_url":"https://github.com/DanOpcode.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lightweight YouTube Channel Widget\n\nAuthor: Daniel Jonsson  \nLicense: GPL version 3  \nDownload URL:\n\u003chttps://wordpress.org/plugins/lightweight-youtube-channel-widget/\u003e\n\nThis is a slimmed down fork of the WordPress plugin\n[youtube-channel](http://wordpress.org/plugins/youtube-channel/) which is\nwritten by [Aleksandar Urošević](http://urosevic.net/). See\n[readme.txt](readme.txt) for the WordPress metadata README file.\n\n## License\n\nAs the original codebase ([YouTube Channel version\n2.4.1.3](https://wordpress.org/plugins/youtube-channel/developers/)) is\nlicensed under GPLv3, this project as a whole needs to retain that license.\nHowever, my contributions are licensed under the MIT License, though not very\nuseful as long as the there still exists GPL licensed code in the project.\n\n## Codebase comparison\n\n|     | Lightweight YouTube Channel Widget 10.0  | YouTube Channel 2.4.1.3 |\n| --- | ---------------------------------------- | ----------------------- |\n| PHP SLOC * | 438 | 1452 |\n| PHP LOC * | 623 | 1853 |\n| SLOC/LOC | 0.70 | 0.78 |\n| WordPress plugin dependencies | - | [Redux Framework](http://reduxframework.com/) |\n| JavaScript dependencies | - | [jQuery](http://jquery.com/), [FitVids.JS](http://fitvidsjs.com/), [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/) |\n| JavaScript w/ jQuery, minimized † | 0 B | 119.8 kB ‡ |\n| JavaScript w/o jQuery, minimized | 0 B | 24.0 kB § |\n| CSS, minimized | 1.1 kB ‖ | 7.1 kB ¶ |\n\n\\* Calculated by [CLOC](http://cloc.sourceforge.net/).  \n† jQuery version 1.11.1 bundled with WordPress 4.1.  \n‡ 95807 + 22012 + 1746 + 270 = 119835  \n§ 22012 + 1746 + 270 = 24028  \n‖ 1139 = 1139  \n¶ 5998 + 1139 = 7137\n\nNote, SI unit prefixes are used, where k = kilo = 1000.\n\n## Local development and testing\n\nThe plugin can easily be tested locally during development with Docker.\n\nThe following two steps will create a Docker container with a complete LAMP\nstack and a WordPress blog running within it:\n\n    $ sudo docker build -t wordpress .\n    $ sudo docker run -i -t -p 80:80 -v `pwd`:/var/www/html/wordpress/wp-content/plugins/lightweight-youtube-channel-widget wordpress\n\nThe blog is then accessible at \u003chttp://localhost/wordpress\u003e.\n\n## Packaging\n\nBuild a zip file containing the plugin with all its necessary files by running\nthe following command:\n\n    $ ./make.sh\n\n## Wordpress.org assets\n\nThe assets (banners, screenshots and icon) being used on\n[wordpress.org/plugins/lightweight-youtube-channel-widget/](https://wordpress.org/plugins/lightweight-youtube-channel-widget/)\nare found in the directory [wp-assets/](wp-assets/).\n\nThe [icon](wp-assets/icon.svg) is available on [Wikimedia\nCommons](http://commons.wikimedia.org/wiki/File:Anime_eye.svg) under [CC BY-SA\n2.5](http://creativecommons.org/licenses/by-sa/2.5/deed.en).\n\n## Generate POT file\n\nAttach to the Docker container and run the following command inside it:\n\n    $ php /var/www/html/wordpress/tools/i18n/makepot.php wp-plugin /var/www/html/wordpress/wp-content/plugins/lightweight-youtube-channel-widget/ /var/www/html/wordpress/wp-content/plugins/lightweight-youtube-channel-widget/languages/lightweight-youtube-channel-widget-xx_XX.pot\n\nThe POT file is accessible outside the Docker container inside the `languages`\ndirectory.\n\n## Compile PO file to MO\n\nUse the program `msgfmt` to compile a .po file to a binary .mo file. This\nprogram is available on most Linux distributions in the package `gettext`.\n[Click here](http://codex.wordpress.org/I18n_for_WordPress_Developers#MO_files)\nfor more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanopcode%2Flightweight-youtube-channel-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanopcode%2Flightweight-youtube-channel-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanopcode%2Flightweight-youtube-channel-widget/lists"}