CINXE.COM
GitHub Search Tips – How to Search Issues, Repos, and More Effectively on GitHub
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>GitHub Search Tips – How to Search Issues, Repos, and More Effectively on GitHub</title> <meta name="HandheldFriendly" content="True"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""> <link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Roboto+Mono:wght@400;700&display=swap"> <link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href="https://cdn.freecodecamp.org/news-assets/prism/1.29.0/themes/prism.min.css"> <noscript> <link rel="stylesheet" href="https://cdn.freecodecamp.org/news-assets/prism/1.29.0/themes/prism.min.css"> </noscript> <link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href="https://cdn.freecodecamp.org/news-assets/prism/1.29.0/plugins/unescaped-markup/prism-unescaped-markup.min.css"> <noscript> <link rel="stylesheet" href="https://cdn.freecodecamp.org/news-assets/prism/1.29.0/plugins/unescaped-markup/prism-unescaped-markup.min.css"> </noscript> <script defer="" src="https://cdn.freecodecamp.org/news-assets/prism/1.29.0/components/prism-core.min.js"></script> <script defer="" src="https://cdn.freecodecamp.org/news-assets/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"></script> <link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href="/news/assets/css/global-a9196627bc.css"> <link rel="stylesheet" type="text/css" href="/news/assets/css/screen-ccf21a819c.css"> <link rel="stylesheet" type="text/css" href="/news/assets/css/search-bar-124f5f949c.css"> <script defer="" src="https://cdn.freecodecamp.org/news-assets/algolia/algoliasearch-3-33-0/algoliasearch.min.js"></script> <script defer="" src="https://cdn.freecodecamp.org/news-assets/algolia/autocomplete-0-36-0/autocomplete.min.js"></script> <script defer="" src="https://cdn.freecodecamp.org/news-assets/dayjs/1.10.4/dayjs.min.js"></script> <script defer="" src="https://cdn.freecodecamp.org/news-assets/dayjs/1.10.4/localizedFormat.min.js"></script> <script defer="" src="https://cdn.freecodecamp.org/news-assets/dayjs/1.10.4/relativeTime.min.js"></script> <script defer="" src="https://cdn.freecodecamp.org/news-assets/dayjs/1.10.4/locale/en.min.js"></script> <script>let client,index;document.addEventListener("DOMContentLoaded",(()=>{client=algoliasearch("QMJYL5WYTI","89770b24481654192d7a5c402c6ad9a0"),index=client.initIndex("news")})),document.addEventListener("DOMContentLoaded",(()=>{const e=window.screen.width,t=window.screen.height,n=e>=767&&t>=768?8:5,o=document.getElementById("search-form"),s=document.getElementById("search-input"),a=document.getElementById("dropdown-container");let i,d,c;s.addEventListener("input",(e=>{i=e.target.value})),o.addEventListener("submit",(e=>{e.preventDefault(),function(){if(d=document.getElementsByClassName("aa-cursor")[0],d&&i){const e=d.querySelector("a").href;window.location.assign(e)}else!d&&i&&c&&window.location.assign(`https://www.freecodecamp.org/news/search?query=${i}`)}()}));const l=autocomplete("#search-input",{hint:!1,keyboardShortcuts:["s",191],openOnFocus:!0,appendTo:a,debug:!0},[{source:autocomplete.sources.hits(index,{hitsPerPage:n}),debounce:250,templates:{suggestion:e=>(c=!0,`\n <a href="${e.url}">\n <div class="algolia-result">\n <span>${e._highlightResult.title.value}</span>\n </div>\n </a>\n `),empty:()=>(c=!1,'\n <div class="aa-suggestion footer-suggestion no-hits-footer">\n <div class="algolia-result">\n <span>\n No tutorials found\n </span>\n </div>\n </div>\n '),footer:e=>{if(!e.isEmpty)return`\n <div class="aa-suggestion footer-suggestion">\n <a id="algolia-footer-selector" href="https://www.freecodecamp.org/news/search?query=${i}">\n <div class="algolia-result algolia-footer">\n See all results for ${i}\n </div>\n </a>\n </div>\n `}}}]).on("autocomplete:selected",((e,t,n,o)=>{d=t?t.url:`https://www.freecodecamp.org/news/search?query=${i}`,"click"!==o.selectionMethod&&"tabKey"!==o.selectionMethod&&c&&window.location.assign(d)}));document.addEventListener("click",(e=>{e.target!==s&&l.autocomplete.close()}))})),document.addEventListener("DOMContentLoaded",(()=>{dayjs.extend(dayjs_plugin_localizedFormat),dayjs.extend(dayjs_plugin_relativeTime),dayjs.locale("en")}));const isAuthenticated=document.cookie.split(";").some((e=>e.trim().startsWith("jwt_access_token="))),isDonor=document.cookie.split(";").some((e=>e.trim().startsWith("isDonor=true")));</script> <script src="https://securepubads.g.doubleclick.net/tag/js/gpt.js" crossorigin="anonymous" async=""></script> <script> document.addEventListener('DOMContentLoaded', function() { var sidebar = document.querySelector('.sidebar'); var isSideBarDisplayed = window.getComputedStyle(sidebar).display !== 'none'; function prepareAdSlot(elementId) { // Get the element by ID const targetElement = document.getElementById(elementId); // Ensure the element exists before proceeding if (!targetElement) { console.error(`Element with ID ${elementId} not found`); return; } const parentElement = targetElement.parentElement; // Change the background color of the parent element if (parentElement) { console.log(elementId) if (elementId === 'gam-ad-bottom' ) { parentElement.style.backgroundColor = '#eeeef0'; if(getComputedStyle(parentElement).visibility === 'hidden') { parentElement.style.visibility = 'inherit'; } } // Get the sibling elements const siblingElements = parentElement.children; for (let i = 0; i < siblingElements.length; i++) { const sibling = siblingElements[i]; // Skip the element itself if (sibling === targetElement) continue; // Log the sibling or perform any other action console.log('Found sibling:', sibling); // Check visibility if(getComputedStyle(sibling).visibility === 'hidden') { sibling.style.visibility = 'inherit'; } // Check if display is 'none', then change it to 'block' if (getComputedStyle(sibling).display === 'none') { sibling.style.display = 'block'; } } } else { console.warn('No parent element found'); } } window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() { if(isSideBarDisplayed){ var sidebarHeight = sidebar.offsetHeight; var adTextSideBarHeight = 0; var sideBarAdContainert = 600 + 17; var styles = window.getComputedStyle(sidebar); var avaiableSideAdSpace = sidebarHeight - adTextSideBarHeight - parseFloat(styles.paddingTop) - parseFloat(styles.paddingBottom); var numSideElements = Math.floor(avaiableSideAdSpace / sideBarAdContainert); for (var i = 0; i < numSideElements; i++) { // container element var containerElement = document.createElement('div'); containerElement.classList.add('ad-wrapper'); //text element var textElement = document.createElement('div'); textElement.classList.add('ad-text'); textElement.innerText = localizedAdText; // ad element var adElement = document.createElement('div'); var sideAdElementId = 'side-gam-ad-' + i; adElement.id = sideAdElementId; adElement.classList.add('side-bar-ad-slot'); // finalize setup containerElement.appendChild(textElement); containerElement.appendChild(adElement); sidebar.appendChild(containerElement); googletag.defineSlot('/23075930536/post-side', [[292, 30], [240, 400], [300, 75], [216, 54], [250, 360], [300, 50], 'fluid', [300, 31], [120, 20], [300, 250], [120, 30], [180, 150], [200, 446], [168, 42], [200, 200], [160, 600], [120, 90], [125, 125], [240, 133], [120, 60], [1, 1], [120, 240], [220, 90], [216, 36], [250, 250], [168, 28], [234, 60], [120, 600], [300, 600], [88, 31], [300, 100]], sideAdElementId).addService(googletag.pubads()); } } // Define bottom ad googletag.defineSlot('/23075930536/post-bottom', ['fluid'], 'gam-ad-bottom').addService(googletag.pubads()); // Enable lazy loading with default settings. googletag.pubads().enableLazyLoad(); googletag.pubads().addEventListener("slotRequested", (event) => { console.log(`Slot ${event.slot.getSlotElementId()} fetched`); }); googletag.pubads().addEventListener("slotOnload", (event) => { const elementId = event.slot.getSlotElementId(); prepareAdSlot(elementId); console.log(`Slot ${event.slot.getSlotElementId()} rendered`); }); googletag.pubads().enableSingleRequest(); googletag.enableServices(); // Trigger lazy loading googletag.display('gam-ad-bottom'); }); }); </script> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-5D6RKKP');</script> <link rel="icon" href="https://cdn.freecodecamp.org/universal/favicons/favicon.ico" type="image/png"> <link rel="canonical" href="https://www.freecodecamp.org/news/github-search-tips/"> <meta name="referrer" content="no-referrer-when-downgrade"> <meta name="description" content="When I was a beginner to open-source contributions, one of my greatest challenge was finding the correct projects/issues to work on. For the longest time I relied on resources curated by different writers on the internet (which were good, by the way..."> <meta property="og:site_name" content="freeCodeCamp.org"> <meta property="og:type" content="article"> <meta property="og:title" content="GitHub Search Tips – How to Search Issues, Repos, and More Effectively on GitHub"> <meta property="og:description" content="When I was a beginner to open-source contributions, one of my greatest challenge was finding the correct projects/issues to work on. For the longest time I relied on resources curated by different writers on the internet (which were good, by the way..."> <meta property="og:url" content="https://www.freecodecamp.org/news/github-search-tips/"> <meta property="og:image" content="https://www.freecodecamp.org/news/content/images/2022/10/Search--2-.png"> <meta property="article:published_time" content="2022-10-17T19:27:10.000Z"> <meta property="article:modified_time" content="2022-10-17T19:27:10.000Z"> <meta property="article:tag" content="GitHub"> <meta property="article:tag" content="open source"> <meta property="article:tag" content="search"> <meta property="article:publisher" content="https://www.facebook.com/freecodecamp"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:title" content="GitHub Search Tips – How to Search Issues, Repos, and More Effectively on GitHub"> <meta name="twitter:description" content="When I was a beginner to open-source contributions, one of my greatest challenge was finding the correct projects/issues to work on. For the longest time I relied on resources curated by different writers on the internet (which were good, by the way..."> <meta name="twitter:url" content="https://www.freecodecamp.org/news/github-search-tips/"> <meta name="twitter:image" content="https://www.freecodecamp.org/news/content/images/2022/10/Search--2-.png"> <meta name="twitter:label1" content="Written by"> <meta name="twitter:data1" content="Hillary Nyakundi"> <meta name="twitter:label2" content="Filed under"> <meta name="twitter:data2" content="GitHub, open source, search"> <meta name="twitter:site" content="@freecodecamp"> <meta name="twitter:creator" content="@larymak1"> <meta property="og:image:width" content="1600"> <meta property="og:image:height" content="900"> <script type="application/ld+json">{ "@context": "https://schema.org", "@type": "Article", "publisher": { "@type": "Organization", "name": "freeCodeCamp.org", "url": "https://www.freecodecamp.org/news/", "logo": { "@type": "ImageObject", "url": "https://cdn.freecodecamp.org/platform/universal/fcc_primary.svg", "width": 2100, "height": 240 } }, "image": { "@type": "ImageObject", "url": "https://www.freecodecamp.org/news/content/images/2022/10/Search--2-.png", "width": 1600, "height": 900 }, "url": "https://www.freecodecamp.org/news/github-search-tips/", "mainEntityOfPage": { "@type": "WebPage", "@id": "https://www.freecodecamp.org/news/" }, "datePublished": "2022-10-17T19:27:10.000Z", "dateModified": "2022-10-17T19:27:10.000Z", "keywords": "GitHub, open source, search", "description": "When I was a beginner to open-source contributions, one of my greatest challenge was finding the correct projects/issues to work on. \nFor the longest time I relied on resources curated by different writers on the internet (which were good, by the way...", "headline": "GitHub Search Tips – How to Search Issues, Repos, and More Effectively on GitHub", "author": { "@type": "Person", "name": "Hillary Nyakundi", "url": "https://www.freecodecamp.org/news/author/larymak/", "sameAs": [ "https://larymak.netlify.app/", "https://x.com/larymak1" ], "image": { "@type": "ImageObject", "url": "https://cdn.hashnode.com/res/hashnode/image/upload/v1682063745392/sf6GpqiCg.png", "width": 1000, "height": 1000 } } }</script> <meta name="generator" content="Eleventy"> <link rel="alternate" type="application/rss+xml" title="freeCodeCamp.org" href="https://www.freecodecamp.org/news/rss/"> <meta name="x-fcc-source" data-test-label="x-fcc-source" content="Hashnode"> </head> <body class="home-template"> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5D6RKKP" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <div class="site-wrapper"> <nav class="site-nav nav-padding"> <div class="site-nav-left"> <form id="search-form" data-test-label="search-bar"> <div role="search" class="searchbox__wrapper"> <label class="fcc_sr_only" for="search-input"> Search </label> <input type="search" placeholder=" Search 11,400+ tutorials " id="search-input"> <button type="submit" class="ais-SearchBox-submit"> <svg class="ais-SearchBox-submitIcon" xmlns="https://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 40 40"> <path d="M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"></path> </svg> <span class="fcc_sr_only">Submit your search query</span> </button> <div id="dropdown-container"></div> </div> </form> </div> <div class="site-nav-middle"> <a class="site-nav-logo" href="https://www.freecodecamp.org/news/" data-test-label="site-nav-logo"><img src="https://cdn.freecodecamp.org/platform/universal/fcc_primary.svg" alt="freeCodeCamp.org"></a> </div> <div class="site-nav-right"> <div class="nav-group"> <a class="nav-forum" id="nav-forum" rel="noopener noreferrer" href="https://forum.freecodecamp.org/" target="_blank" data-test-label="forum-button">Forum</a> <a class="toggle-button-nav" id="nav-donate" rel="noopener noreferrer" href="https://www.freecodecamp.org/donate/" target="_blank" data-test-label="donate-button">Donate</a> </div> </div> </nav> <a class="banner" id="banner" data-test-label="banner" rel="noopener noreferrer" target="_blank"> <p id="banner-text"></p> </a> <script>document.addEventListener("DOMContentLoaded",(()=>{const e=document.getElementById("banner"),t=document.getElementById("banner-text");if(isAuthenticated){t.innerHTML=isDonor?"Thank you for supporting freeCodeCamp through <span>your donations</span>.":"Support our charity and our mission. <span>Donate to freeCodeCamp.org</span>.",e.href=isDonor?"https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp/":"https://www.freecodecamp.org/donate";const o=isDonor?"donor":"authenticated";e.setAttribute("text-variation",o)}else t.innerHTML="Learn to code — <span>free 3,000-hour curriculum</span>",e.href="https://www.freecodecamp.org/",e.setAttribute("text-variation","default")}));</script> <div id="error-message"></div> <main id="site-main" class="post-template site-main outer"> <div class="inner ad-layout"> <article class="post-full post"> <header class="post-full-header"> <section class="post-full-meta"> <time class="post-full-meta-date" data-test-label="post-full-meta-date" datetime="2022-10-17T19:27:10.000Z"> October 17, 2022 </time> <span class="date-divider">/</span> <a dir="ltr" href="/news/tag/github/"> #GitHub </a> </section> <h1 class="post-full-title" data-test-label="post-full-title">GitHub Search Tips – How to Search Issues, Repos, and More Effectively on GitHub</h1> </header> <div class="post-full-author-header" data-test-label="author-header-no-bio"> <section class="author-card" data-test-label="author-card"> <img srcset="https://cdn.hashnode.com/res/hashnode/image/upload/v1682063745392/sf6GpqiCg.png 60w" sizes="60px" src="https://cdn.hashnode.com/res/hashnode/image/upload/v1682063745392/sf6GpqiCg.png" class="author-profile-image" alt="Hillary Nyakundi" width="1000" height="1000" onerror="this.style.display='none'" data-test-label="profile-image"> <section class="author-card-content author-card-content-no-bio"> <span class="author-card-name"> <a href="/news/author/larymak/" data-test-label="profile-link"> Hillary Nyakundi </a> </span> </section> </section> </div> <figure class="post-full-image"> <picture> <source media="(max-width: 700px)" sizes="1px" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 1w"> <source media="(min-width: 701px)" sizes="(max-width: 800px) 400px, (max-width: 1170px) 700px, 1400px" srcset="https://www.freecodecamp.org/news/content/images/size/w300/2022/10/Search--2-.png 300w, https://www.freecodecamp.org/news/content/images/size/w600/2022/10/Search--2-.png 600w, https://www.freecodecamp.org/news/content/images/size/w1000/2022/10/Search--2-.png 1000w, https://www.freecodecamp.org/news/content/images/size/w2000/2022/10/Search--2-.png 2000w"> <img onerror="this.style.display='none'" src="https://www.freecodecamp.org/news/content/images/size/w2000/2022/10/Search--2-.png" alt="GitHub Search Tips – How to Search Issues, Repos, and More Effectively on GitHub" ,="" width="1600" height="900" data-test-label="feature-image"> </picture> </figure> <section class="post-full-content"> <div class="post-and-sidebar"> <section class="post-content " data-test-label="post-content"> <p>When I was a beginner to open-source contributions, one of my greatest challenge was finding the correct projects/issues to work on. </p> <p>For the longest time I relied on resources curated by different writers on the internet (which were good, by the way). But I always wanted to find a way around this problem – a way I could search for and track projects that were right for my skill set. </p> <p>Let's agree on one thing: unlike Google, searching GitHub is not easy. But as a developer, chances are that you'll interacting with GitHub or Gitlab on a daily basis. </p> <p>Now the question isn't what you use these version control systems for, but how you are using them. Just like mastering Google search skills is essential for any regular internet user, I believe it's also essential for developers to learn how to effectively search GitHub.</p> <p>In this article we are going to take a look at different techniques you can use to correctly search GitHub. You'll learn how to search through:</p> <ul> <li>Issues and Pull Requests</li> <li>Repositories</li> <li>Users</li> <li>Topics</li> </ul> <p>And more. Let's get started.</p> <h2 id="heading-github-search-queries">GitHub Search Queries</h2> <p>In order to find detailed information about something on the internet, you need to have the correct searching skills. It's not any different with GitHub – to find detailed info you can utilize common filter, sort, and searching techniques to easily find specific issues and pull requests of a given project.</p> <p>Even though you have multiple resources listed on the internet for different projects, the main problem comes in when you want to do a search by yourself. How do you get started? Which keywords should you use to find the correct results? </p> <p>Most maintainers tend to label their projects with issues, which makes it easier for contributors to find suitable projects. Listed below are some of the tricks that might help you out when you are using GitHub.</p> <h3 id="heading-how-to-search-issues-and-pull-requests-on-github">How to Search Issues and Pull Requests on GitHub</h3> <p>One of the most common ways of finding projects to contribute to is by searching through issues and related PRs. Here are some tricks you can use to easily find reliable answers:</p> <ol> <li><strong><a target="_blank" href="https://github.com/search?q=is%3Aissue+is%3Aopen+label%3Abeginner&type=issues">is:issue is:open label:beginner</a></strong> - This particular query will list all projects with issues that are open and labeled <code>beginner</code>.</li> <li><strong><a target="_blank" href="https://github.com/search?q=is%3Aissue+is%3Aopen+label%3Aeasy&type=issues">is:issue is:open label:easy</a></strong> - This will list all open issues that are labeled <code>easy</code>.</li> <li><strong><a target="_blank" href="https://github.com/search?q=is%3Aissue+is%3Aopen+label%3Afirst-timers-only&type=issues">is:issue is:open label:first-timers-only</a></strong> - This lists all open issues that welcome first-timer contributions.</li> <li><strong><a target="_blank" href="https://github.com/search?q=is%3Aissue+is%3Aopen+label%3Agood-first-bug&type=issues">is:issue is:open label:good-first-bug</a></strong> - This lists projects with open issues labeled <code>good-first-bug</code>, to attract contributors to work on them.</li> <li><strong><a target="_blank" href="https://github.com/search?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22&type=issues">is:issue is:open label:"good first issue"</a></strong> - This will list all open issues with the label <code>good first issue</code>, meaning it is good for place for beginners to get started.</li> <li><strong><a target="_blank" href="https://github.com/search?q=is%3Aissue+is%3Aopen+label%3Astarter&type=issues">is:issue is:open label:starter</a></strong> - This lists all open issues from across GitHub that are labeled <code>starte</code>r.</li> <li><strong><a target="_blank" href="https://github.com/search?q=is%3Aissue+is%3Aopen+label%3Aup-for-grabs&type=issues">is:issue is:open label:up-for-grabs</a></strong> - This lists open issues that are ready to be worked on if you have the necessary skills.</li> <li><strong><a target="_blank" href="https://github.com/search?q=no%3Aproject+type%3Aissue+is%3Aopen&type=issues">no:project type:issue is:open</a></strong> - This will list all open issues that are not assigned to a specific project.</li> <li><strong><a target="_blank" href="https://github.com/search?q=no%3Amilestone+type%3Aissue+is%3Aopen&type=issues">no:milestone type:issue is:open</a></strong> - Many times, projects are tracked with milestones. But if you want to find issues that are not tracked, this search query will list those projects for you.</li> <li><strong><a target="_blank" href="https://github.com/search?q=no%3Alabel+type%3Aissue+is%3Aopen&type=issues">no:label type:issue is:open</a></strong> - This lists all open issues that are not labeled.</li> <li><strong><a target="_blank" href="https://github.com/search?q=is%3Aissue+is%3Aopen+no%3Aassignee&type=issues">is:issue is:open no:assignee</a></strong> - This shows all open issues that have not yet been assigned to a person.</li> </ol> <h3 id="heading-how-to-search-repositories">How to Search Repositories</h3> <p>By default, to make a search you will type the repository name in the search bar and voilà! You get some search results.</p> <p>But the chances of you landing on the exact repo you intended are very low. </p> <p>Let's look at some ways you can narrow down your search:</p> <h4 id="heading-how-to-find-by-name-descriptionreadme">How to Find by Name, Description/README</h4> <p>A thing to note when you search by Name and description of the README file is that your search phrase should begin with the <code>in</code> qualifier. This makes it possible to search "inside" what you are looking for.</p> <p><strong>Example</strong></p> <ul> <li><p>Using <code>in:name</code>. Let's say you are looking for resources to learn more about Data Science. In this case, you can use the command <code>Data Science in:name</code> which will list repositories with Data Science in the repository name.</p> </li> <li><p>Using <code>in:description</code>. If you want to find repositories with a ceratin description, for example repositories where the term "freeCodeCamp" is included in the descriptionm, our search will be: <code>freecodecamp in:description</code></p> </li> <li><p>Using <code>in:readme</code>. You use this to search through a README of a file for a certain phrase. If we want to find repositories where the term freecodecamp is included in the README, our search will be: <code>freecodecamp in:readme</code>.</p> </li> <li><p>Using <code>in:topic</code>. You use this to find if a certain phrase or word is labeled in the topics. For example to find all repositories where freecodecamp is listed in the topic, our search will be: <code>freecodecamp in:topic</code></p> </li> </ul> <p>You can also combine multiple search queries to further narrow down the search.</p> <h4 id="heading-how-to-find-by-stars-forks">How to Find by Stars, Forks</h4> <p>You can also search for a repository based on how many stars and forks the project has. This makes it easier for you to know how popular the project is.</p> <p><strong>Examples</strong></p> <ul> <li><p>Using <code>stars:n</code>. If you search for a repository with 1000 stars, then your search query will be <code>stars:1000</code>. This will list repositories with exactly 1000 stars. </p> </li> <li><p>Using <code>forks:n</code>. This specifies the number of forks a repository should have. If you want find repositories that have less than 100 forks, your search will be: <code>forks:<100</code>.</p> </li> </ul> <p>The good thing is that you can always use relational operators like <code><</code>, <code>></code>, <code><=</code>, <code>>=</code> & <code>..</code> to help you further narrow your search. </p> <h4 id="heading-how-to-find-by-language">How to Find by Language</h4> <p>Another cool way to search through GitHub is by language. This helps you filter out repositories to a specific language.</p> <p><strong>Example:</strong></p> <ul> <li>Using <code>language:LANGUAGE</code>. For example if you want to find repositories written in PHP, your search will be: <code>language:PHP</code></li> </ul> <h4 id="heading-how-to-find-by-organization-name">How to Find by Organization Name</h4> <p>You can also search repositories/projects that are maintained or created by a specific organization. For this you need to begin your search with the keyword <code>org:...</code> followed by the organization name.</p> <p>For example if you search <code>org:freecodecamp</code> it will list repositories that match freeCodeCamp.</p> <h4 id="heading-how-to-find-by-date">How to Find by Date</h4> <p>If you want your results based on a specific date, you can search using one of these keywords: <code>created</code>, <code>updated</code>, <code>merged</code> and <code>closed</code>. These keywords should be accompanied by date in the format <code>YYYY-MM-DD</code>.</p> <p><strong>Example:</strong></p> <ul> <li>Using <code>keyword:YYYY-MM-DD</code>. Take an instance where we want to make a search of all repositories with the word freeCodeCamp that were created after 2022-10-01. Then our search will be: <code>freecodecamp created:>2022-10-01</code></li> </ul> <p>You can also use <code><</code>, <code>></code>, <code>>=</code> and <code><=</code> to search for dates after, before and on the specified date. To search within a range you can use <code>...</code>.</p> <h4 id="heading-how-to-find-by-license">How to Find by License</h4> <p>Licenses are very important when you are are looking for a project to contribute to. Different licenses give different rights as to what a contributor can do or can not do. </p> <p>To make it easier for you to find projects with right licenses you need to have a good understanding of licenses. You can read more about them <a target="_blank" href="https://www.freecodecamp.org/news/how-open-source-licenses-work-and-how-to-add-them-to-your-projects-34310c3cf94/">here</a>.</p> <p><strong>Example:</strong></p> <ul> <li>Using <code>license:LICENSE_KEYWORD</code>. This is a good way to search for projects with specific licenses. To search projects with the MIT license, for instance, you would do <code>license:MIT</code>.</li> </ul> <h4 id="heading-how-to-find-by-visibility">How to Find by Visibility</h4> <p>You can also conduct your search in terms of the visibility of the repository. In this case you can either use public or private. This will match issues and PRs that are either in a public or private repository, respectively.</p> <p><strong>Examples:</strong></p> <ul> <li>Using <code>is:public</code>. This will show a list of public repositories. Let's take an isntance where we want to search all public repositories owned by freeCodCamp. Then our search will be: <code>is:public org:freecodecamp</code>.</li> <li>Using <code>is:private</code>. This query is meant to lists all private repositories under the given search query.</li> </ul> <h2 id="heading-conclusion">Conclusion</h2> <p>Even though we have covered many search queries here, you can always be creative to further narrow your search by combining multiple parameters together. </p> <p>For additional resources and more search parameters, you can always refer to the <a target="_blank" href="https://docs.github.com/en/search-github/searching-on-github">GitHub Docs</a> or make use of <a target="_blank" href="https://github.com/search/advanced?">Advanced GitHub Search</a>. These methods will always come in handy as they offer more filering options.</p> <p>There are a ton of search parameters you can use to make your daily activity around GitHub easier. Hopefully this will help you use the platform more easily and effectively.</p> </section> <div class="sidebar"> <script>var localizedAdText = "ADVERTISEMENT";</script> </div> </div> <hr> <div class="post-full-author-header" data-test-label="author-header-with-bio"> <section class="author-card" data-test-label="author-card"> <img srcset="https://cdn.hashnode.com/res/hashnode/image/upload/v1682063745392/sf6GpqiCg.png 60w" sizes="60px" src="https://cdn.hashnode.com/res/hashnode/image/upload/v1682063745392/sf6GpqiCg.png" class="author-profile-image" alt="Hillary Nyakundi" width="1000" height="1000" onerror="this.style.display='none'" loading="lazy" data-test-label="profile-image"> <section class="author-card-content "> <span class="author-card-name"> <a href="/news/author/larymak/" data-test-label="profile-link"> Hillary Nyakundi </a> </span> <p data-test-label="author-bio">I'm a Growing Developer with a keen interest in technology, particularly in the areas of open-source and Python. As a passionate technical writer, I aim to share my knowledge with other developers through informative articles that help them grow and succeed. </p> </section> </section> </div> <hr> <p data-test-label="social-row-cta" class="social-row"> If you read this far, thank the author to show them you care. <button id="tweet-btn" class="cta-button" data-test-label="tweet-button">Say Thanks</button> </p> <script>document.addEventListener("DOMContentLoaded",(()=>{const t=document.getElementById("tweet-btn"),e=window.location,n="GitHub%20Search%20Tips%20%E2%80%93%20How%20to%20Search%20Issues%2C%20Repos%2C%20and%20More%20Effectively%20on%20GitHub".replace(/'/g,"%27"),o="",i="@larymak1",r=Boolean("");let s;if(r&&(o||i)){const t={originalPostAuthor:"",currentPostAuthor:"Hillary Nyakundi"};s=encodeURIComponent(`Thank you ${o||t.originalPostAuthor} for writing this helpful article, and ${i||t.currentPostAuthor} for translating it.`)}else!r&&i&&(s=encodeURIComponent(`Thank you ${i} for writing this helpful article.`));const a=`window.open(\n '${s?`https://x.com/intent/post?text=${s}%0A%0A${n}%0A%0A${e}`:`https://x.com/intent/post?text=${n}%0A%0A${e}`}',\n 'share-twitter',\n 'width=550, height=235'\n ); return false;`;t.setAttribute("onclick",a)}));</script> <div class="learn-cta-row" data-test-label="learn-cta-row"> <p> Learn to code for free. freeCodeCamp's open source curriculum has helped more than 40,000 people get jobs as developers. <a href="https://www.freecodecamp.org/learn/" class="cta-button" id="learn-to-code-cta" rel="noopener noreferrer" target="_blank">Get started</a> </p> </div> </section> <div class="banner-ad-bottom"> <div class="ad-text" data-test-label="ad-text">ADVERTISEMENT</div> <div style="display: block; height: auto" id="gam-ad-bottom"> </div> </div> </article> </div> </main> <footer class="site-footer"> <div class="footer-top"> <div class="footer-desc-col"> <p data-test-label="tax-exempt-status">freeCodeCamp is a donor-supported tax-exempt 501(c)(3) charity organization (United States Federal Tax Identification Number: 82-0779546)</p> <p data-test-label="mission-statement">Our mission: to help people learn to code for free. We accomplish this by creating thousands of videos, articles, and interactive coding lessons - all freely available to the public.</p> <p data-test-label="donation-initiatives">Donations to freeCodeCamp go toward our education initiatives, and help pay for servers, services, and staff.</p> <p class="footer-donation" data-test-label="donate-text"> You can <a href="https://www.freecodecamp.org/donate/" class="inline" rel="noopener noreferrer" target="_blank">make a tax-deductible donation here</a>. </p> </div> <div class="trending-guides" data-test-label="trending-guides"> <h2 id="trending-guides" class="col-header">Trending Books and Handbooks</h2> <ul class="trending-guides-articles" aria-labelledby="trending-guides"> <li> <a href="https://www.freecodecamp.org/news/complete-guide-to-css-transform-functions-and-properties/" rel="noopener noreferrer" target="_blank">Learn CSS Transform </a> </li> <li> <a href="https://www.freecodecamp.org/news/how-to-create-a-static-blog-with-lume/" rel="noopener noreferrer" target="_blank">Build a Static Blog </a> </li> <li> <a href="https://www.freecodecamp.org/news/how-to-build-an-ai-chatbot-with-redis-python-and-gpt/" rel="noopener noreferrer" target="_blank">Build an AI Chatbot </a> </li> <li> <a href="https://www.freecodecamp.org/news/what-is-programming-tutorial-for-beginners/" rel="noopener noreferrer" target="_blank">What is Programming? </a> </li> <li> <a href="https://www.freecodecamp.org/news/python-code-examples-sample-script-coding-tutorial-for-beginners/" rel="noopener noreferrer" target="_blank">Python Code Examples </a> </li> <li> <a href="https://www.freecodecamp.org/news/a-practical-guide-to-start-opensource-contributions/" rel="noopener noreferrer" target="_blank">Open Source for Devs </a> </li> <li> <a href="https://www.freecodecamp.org/news/http-full-course/" rel="noopener noreferrer" target="_blank">HTTP Networking in JS </a> </li> <li> <a href="https://www.freecodecamp.org/news/how-to-write-unit-tests-in-react-redux/" rel="noopener noreferrer" target="_blank">Write React Unit Tests </a> </li> <li> <a href="https://www.freecodecamp.org/news/introduction-to-algorithms-with-javascript-examples/" rel="noopener noreferrer" target="_blank">Learn Algorithms in JS </a> </li> <li> <a href="https://www.freecodecamp.org/news/how-to-write-clean-code/" rel="noopener noreferrer" target="_blank">How to Write Clean Code </a> </li> <li> <a href="https://www.freecodecamp.org/news/the-php-handbook/" rel="noopener noreferrer" target="_blank">Learn PHP </a> </li> <li> <a href="https://www.freecodecamp.org/news/the-java-handbook/" rel="noopener noreferrer" target="_blank">Learn Java </a> </li> <li> <a href="https://www.freecodecamp.org/news/the-swift-handbook/" rel="noopener noreferrer" target="_blank">Learn Swift </a> </li> <li> <a href="https://www.freecodecamp.org/news/learn-golang-handbook/" rel="noopener noreferrer" target="_blank">Learn Golang </a> </li> <li> <a href="https://www.freecodecamp.org/news/get-started-with-nodejs/" rel="noopener noreferrer" target="_blank">Learn Node.js </a> </li> <li> <a href="https://www.freecodecamp.org/news/complete-guide-to-css-grid/" rel="noopener noreferrer" target="_blank">Learn CSS Grid </a> </li> <li> <a href="https://www.freecodecamp.org/news/learn-solidity-handbook/" rel="noopener noreferrer" target="_blank">Learn Solidity </a> </li> <li> <a href="https://www.freecodecamp.org/news/the-express-handbook/" rel="noopener noreferrer" target="_blank">Learn Express.js </a> </li> <li> <a href="https://www.freecodecamp.org/news/javascript-es-modules-and-module-bundlers/" rel="noopener noreferrer" target="_blank">Learn JS Modules </a> </li> <li> <a href="https://www.freecodecamp.org/news/apache-kafka-handbook/" rel="noopener noreferrer" target="_blank">Learn Apache Kafka </a> </li> <li> <a href="https://www.freecodecamp.org/news/rest-api-design-best-practices-build-a-rest-api/" rel="noopener noreferrer" target="_blank">REST API Best Practices </a> </li> <li> <a href="https://www.freecodecamp.org/news/front-end-javascript-development-react-angular-vue-compared/" rel="noopener noreferrer" target="_blank">Front-End JS Development </a> </li> <li> <a href="https://www.freecodecamp.org/news/build-consume-and-document-a-rest-api/" rel="noopener noreferrer" target="_blank">Learn to Build REST APIs </a> </li> <li> <a href="https://www.freecodecamp.org/news/build-strongly-typed-polymorphic-components-with-react-and-typescript/" rel="noopener noreferrer" target="_blank">Intermediate TS and React </a> </li> <li> <a href="https://www.freecodecamp.org/news/command-line-for-beginners/" rel="noopener noreferrer" target="_blank">Command Line for Beginners </a> </li> <li> <a href="https://www.freecodecamp.org/news/an-introduction-to-operating-systems/" rel="noopener noreferrer" target="_blank">Intro to Operating Systems </a> </li> <li> <a href="https://www.freecodecamp.org/news/building-consuming-and-documenting-a-graphql-api/" rel="noopener noreferrer" target="_blank">Learn to Build GraphQL APIs </a> </li> <li> <a href="https://www.freecodecamp.org/news/oss-security-best-practices/" rel="noopener noreferrer" target="_blank">OSS Security Best Practices </a> </li> <li> <a href="https://www.freecodecamp.org/news/design-patterns-for-distributed-systems/" rel="noopener noreferrer" target="_blank">Distributed Systems Patterns </a> </li> <li> <a href="https://www.freecodecamp.org/news/an-introduction-to-software-architecture-patterns/" rel="noopener noreferrer" target="_blank">Software Architecture Patterns </a> </li> </ul> <div class="spacer" style="padding: 15px 0;"></div> <div> <h2 id="mobile-app" class="col-header"> Mobile App </h2> <div class="min-h-[1px] px-[15px] md:w-2/3 md:ml-[16.6%]"> <ul aria-labelledby="mobile-app" class="mobile-app-container"> <li> <a href="https://apps.apple.com/us/app/freecodecamp/id6446908151?itsct=apps_box_link&itscg=30200" rel="noopener noreferrer" target="_blank"> <img src="https://cdn.freecodecamp.org/platform/universal/apple-store-badge.svg" lang="en" alt="Download on the App Store"> </a> </li> <li> <a href="https://play.google.com/store/apps/details?id=org.freecodecamp" rel="noopener noreferrer" target="_blank"> <img src="https://cdn.freecodecamp.org/platform/universal/google-play-badge.svg" lang="en" alt="Get it on Google Play"> </a> </li> </ul> </div> </div> </div> </div> <div class="footer-bottom"> <h2 class="col-header" data-test-label="our-nonprofit">Our Charity</h2> <div class="our-nonprofit"> <a href="https://www.freecodecamp.org/news/about/" rel="noopener noreferrer" target="_blank" data-test-label="about"> About </a> <a href="https://www.linkedin.com/school/free-code-camp/people/" rel="noopener noreferrer" target="_blank" data-test-label="alumni"> Alumni Network </a> <a href="https://github.com/freeCodeCamp/" rel="noopener noreferrer" target="_blank" data-test-label="open-source"> Open Source </a> <a href="https://www.freecodecamp.org/news/shop/" rel="noopener noreferrer" target="_blank" data-test-label="shop"> Shop </a> <a href="https://www.freecodecamp.org/news/support/" rel="noopener noreferrer" target="_blank" data-test-label="support"> Support </a> <a href="https://www.freecodecamp.org/news/sponsors/" rel="noopener noreferrer" target="_blank" data-test-label="sponsors"> Sponsors </a> <a href="https://www.freecodecamp.org/news/academic-honesty-policy/" rel="noopener noreferrer" target="_blank" data-test-label="honesty"> Academic Honesty </a> <a href="https://www.freecodecamp.org/news/code-of-conduct/" rel="noopener noreferrer" target="_blank" data-test-label="coc"> Code of Conduct </a> <a href="https://www.freecodecamp.org/news/privacy-policy/" rel="noopener noreferrer" target="_blank" data-test-label="privacy"> Privacy Policy </a> <a href="https://www.freecodecamp.org/news/terms-of-service/" rel="noopener noreferrer" target="_blank" data-test-label="tos"> Terms of Service </a> <a href="https://www.freecodecamp.org/news/copyright-policy/" rel="noopener noreferrer" target="_blank" data-test-label="copyright"> Copyright Policy </a> </div> </div> </footer> </div> </body> </html>