{"id":19746856,"url":"https://github.com/b-ryan/github","last_synced_at":"2025-07-29T13:10:13.695Z","repository":{"id":7537180,"uuid":"8889219","full_name":"b-ryan/github","owner":"b-ryan","description":"A bookmarklet that allows you to compare the branch you're viewing to the default branch of that repository.","archived":false,"fork":false,"pushed_at":"2013-03-19T21:14:25.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T07:57:21.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/b-ryan.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":"2013-03-19T21:04:57.000Z","updated_at":"2014-01-31T06:24:49.000Z","dependencies_parsed_at":"2022-07-09T20:17:10.173Z","dependency_job_id":null,"html_url":"https://github.com/b-ryan/github","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/b-ryan/github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-ryan%2Fgithub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-ryan%2Fgithub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-ryan%2Fgithub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-ryan%2Fgithub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b-ryan","download_url":"https://codeload.github.com/b-ryan/github/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-ryan%2Fgithub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267693087,"owners_count":24129130,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T02:16:04.112Z","updated_at":"2025-07-29T13:10:13.662Z","avatar_url":"https://github.com/b-ryan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"github\n======\n\nA bookmarklet that allows you to compare the branch you're viewing to the default branch of that repository.\n\nTo use, create a bookmark with the following minified version of the code\nas the URL:\n\n`if(location.host==\"github.com\"\u0026\u0026(x=location.href.indexOf(\"/tree/\"))!=-1){repoBase=location.href.substring(0,x);branch=location.href.substring(x+6);window.open(repoBase+\"/compare/\"+branch,\"_self\")}`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-ryan%2Fgithub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb-ryan%2Fgithub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-ryan%2Fgithub/lists"}