{"id":13623207,"url":"https://github.com/caseyscarborough/github-activity","last_synced_at":"2025-04-15T14:32:24.207Z","repository":{"id":9799261,"uuid":"11777512","full_name":"caseyscarborough/github-activity","owner":"caseyscarborough","description":"A widget for displaying GitHub activity for a user.","archived":false,"fork":false,"pushed_at":"2023-04-15T13:44:54.000Z","size":1734,"stargazers_count":435,"open_issues_count":14,"forks_count":110,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-05T22:12:04.780Z","etag":null,"topics":["github","javascript"],"latest_commit_sha":null,"homepage":"http://caseyscarborough.com/github-activity/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caseyscarborough.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-07-30T22:58:33.000Z","updated_at":"2024-10-14T21:31:24.000Z","dependencies_parsed_at":"2024-01-08T07:57:59.136Z","dependency_job_id":"3796e019-5f6e-4abd-a61d-628c0755954d","html_url":"https://github.com/caseyscarborough/github-activity","commit_stats":{"total_commits":102,"total_committers":12,"mean_commits":8.5,"dds":"0.32352941176470584","last_synced_commit":"9cd0af2a04bd80e4744cdaf9d5b987db9f9727f1"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyscarborough%2Fgithub-activity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyscarborough%2Fgithub-activity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyscarborough%2Fgithub-activity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseyscarborough%2Fgithub-activity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caseyscarborough","download_url":"https://codeload.github.com/caseyscarborough/github-activity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223677487,"owners_count":17184482,"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":["github","javascript"],"created_at":"2024-08-01T21:01:29.159Z","updated_at":"2024-11-08T11:30:28.195Z","avatar_url":"https://github.com/caseyscarborough.png","language":"JavaScript","readme":"# GitHub Activity Stream Widget\n\nThis is a small Javascript plugin that creates a stream of your recent GitHub activity. It displays the user's name, username, photo, and a list of each individual activity type. Click [here](https://caseyscarborough.github.io/github-activity) for a demo.\n\n### Light Theme\n\n![](https://raw.githubusercontent.com/caseyscarborough/github-activity/gh-pages/images/light.png)\n\n### Dark Theme\n\n![](https://raw.githubusercontent.com/caseyscarborough/github-activity/gh-pages/images/dark.png)\n\n## Dependencies\n\nThe two dependencies for the plugin are the [Mustache](https://github.com/janl/mustache.js/) templating library and [Octicons](https://octicons.github.com/) (if you want the icons to show). You can include these along with the scripts for the plugin in the head of your page with the following HTML:\n\n### Using CDN\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/octicons@4.4.0/build/font/octicons.css\"\u003e\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/github-activity-feed@latest/dist/github-activity.min.css\"\u003e\n\n\u003cscript type=\"text/javascript\" src=\"https://unpkg.com/mustache@4.2.0/mustache.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"https://unpkg.com/github-activity-feed@latest/dist/github-activity.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- if using dark theme add this in addition to the main CSS file --\u003e\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/github-activity-feed@latest/dist/github-activity.dark.min.css\"\u003e\n```\n\n### Using npm\n\nInstall the library:\n\n```bash\nnpm install --save github-activity-feed\n```\n\nAdd the files to your webpage:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"node_modules/octicons/build/font/octicons.css\"\u003e\n\u003clink rel=\"stylesheet\" href=\"node_modules/github-activity-feed/dist/github-activity.min.css\"\u003e\n\n\u003cscript type=\"text/javascript\" src=\"node_modules/mustache/mustache.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"node_modules/github-activity-feed/dist/github-activity.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- if using dark theme add this in addition to the main CSS file --\u003e\n\u003clink rel=\"stylesheet\" href=\"node_modules/github-activity-feed/dist/github-activity.dark.min.css\"\u003e\n```\n\n## Building\n\nIf you'd like to build the files yourself:\n\n```bash\n# Install dependencies\nnpm install\n\n# Build dist\nnpx grunt\n```\n\n## Usage\n\nTo use the library, begin by creating a new div with an id in the body of your page:\n\n```html\n\u003cdiv id=\"feed\"\u003e\u003c/div\u003e\n```\n\nThen call the feed method via Javascript:\n\n```js\nGitHubActivity.feed({\n  username: \"your-username\",\n  repository: \"your-repo\", // optional\n  selector: \"#feed\",\n  limit: 20, // optional\n});\n```\n\n## Credits\n\n* [MD5 Methods](http://www.myersdaily.org/joseph/javascript/md5-text.html)\n\n## Fork and Enjoy\n\nPlease feel free to contribute to the application by following the steps below:\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","funding_links":[],"categories":["JavaScript","github","javascript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseyscarborough%2Fgithub-activity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaseyscarborough%2Fgithub-activity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseyscarborough%2Fgithub-activity/lists"}