{"id":25470079,"url":"https://github.com/thinkphp/request.latestgithub","last_synced_at":"2025-11-04T18:30:28.408Z","repository":{"id":1139339,"uuid":"1019090","full_name":"thinkphp/Request.LatestGitHub","owner":"thinkphp","description":"Request.LatestGithub is a Plugin MooTools which allows you to display latest public repos or all the projects from any user GitHub as a widget expanding the class Request / Request.JSONP and using PHP, YQL and JSONP-X / JSONP","archived":false,"fork":false,"pushed_at":"2010-10-27T11:14:25.000Z","size":112,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T14:54:28.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://thinkphp.ro/apps/js-hacks/Request.LatestGitHub/v2.0/form.html","language":"JavaScript","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/thinkphp.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":"2010-10-24T05:18:54.000Z","updated_at":"2017-09-17T07:34:54.000Z","dependencies_parsed_at":"2022-08-16T12:15:11.116Z","dependency_job_id":null,"html_url":"https://github.com/thinkphp/Request.LatestGitHub","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2FRequest.LatestGitHub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2FRequest.LatestGitHub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2FRequest.LatestGitHub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2FRequest.LatestGitHub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkphp","download_url":"https://codeload.github.com/thinkphp/Request.LatestGitHub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239437142,"owners_count":19638441,"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-02-18T08:31:51.861Z","updated_at":"2025-11-04T18:30:28.356Z","avatar_url":"https://github.com/thinkphp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Request.LatestGitHub\n====================\n\nRequest.LatestGithub is a Plugin MooTools which allows you to display latest public repos or all the projects from any user GitHub as a widget by expanding the class Request.JSONP from MooTools More.\n\n![Screenshot](http://farm5.static.flickr.com/4151/5103040626_4bc61b102f.jpg)\n\nHow to use\n----------\n\nFirst you must to include the JS files in the head of your HTML document.\n\n        #HTML\n        \u003cscript type=\"text/javascript\" src=\"mootools-core.js\"\u003e\u003c/script\u003e\n        \u003cscript type=\"text/javascript\" src=\"JSONP.js\"\u003e\u003c/script\u003e\n        \u003cscript type=\"text/javascript\" src=\"Request.LatestGitHub.js\"\u003e\u003c/script\u003e\n\nIn your JS.\n\n       #JS\n       window.addEvent('domready',function(){ \n              //#example 1\n              var git = new Request.GitHub({ \n                           onSuccess: function(badge) {\n                                document.id('gh').set('html', badge);\n                           },\n                           onRequest: function() {\n                                document.id('gh').set('text', 'Loading...');\n                           }\n              });\n              //call latest 3 projects from jquery github\n              git.load('jquery',3);\n\n              //#example 2\n              //call latest 3 projects from mootools github\n              document.id('gh2').loadLatestGitHub('mootools',3);\n       });\n\n\nIn your HTML.\n\n       #HTML\n       \u003cdiv id=\"gh\"\u003e\u003c/div\u003e\n       \u003cdiv id=\"gh2\"\u003e\u003c/div\u003e\n\n### Notes:\n\nYou can view in action:\n\n- [http://thinkphp.ro/apps/js-hacks/Request.LatestGitHub/v1.0/](http://thinkphp.ro/apps/js-hacks/Request.LatestGitHub/v1.0/)\n- [http://thinkphp.ro/apps/js-hacks/Request.LatestGitHub/v2.0/](http://thinkphp.ro/apps/js-hacks/Request.LatestGitHub/v2.0/)\n- [http://thinkphp.ro/apps/js-hacks/Request.LatestGitHub/v2.0/form.html](http://thinkphp.ro/apps/js-hacks/Request.LatestGitHub/v2.0/form.html)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Frequest.latestgithub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkphp%2Frequest.latestgithub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Frequest.latestgithub/lists"}