# GitHub Repository Search Dropdown A simple GitHub repository search bar with an autocomplete dropdown. Users can type a repository name and get live GitHub search results displayed in a dropdown menu. ## Features - 🔍 Live GitHub repository search - ⬇️ Autocomplete dropdown results - ⌨️ Search input bar - ⭐ Displays repository star count - 🔗 Click results to open GitHub repositories - ⏳ Debounced API requests to reduce calls - 🖱️ Closes dropdown when clicking outside - 🚀 Runs completely in the browser (no backend required) --- # Input Bar The search input allows users to enter a GitHub repository name. Example: ```html <input id="search" type="text" placeholder="Search GitHub repositories..." /> ``` The input bar: - Accepts user search queries - Sends the text to the GitHub API - Updates dropdown results automatically - Shows matching repositories while typing Example user input: ``` react ``` Dropdown output: ``` facebook/react ⭐ 230000+ stars vuejs/core ⭐ 45000+ stars ``` --- # Technologies Used - HTML - CSS - JavaScript - GitHub REST API --- # How It Works 1. User types into the input bar. 2. JavaScript detects the input. 3. A request is sent to GitHub's API. 4. Repository results are returned. 5. Results appear in the dropdown. 6. User clicks a result to open GitHub. --- # GitHub API This project uses: ``` https://api.github.com/search/repositories?q={query} ``` Documentation: ``` https://docs.github.com/en/rest/search/search ``` --- # Installation Clone the repository: ```bash git clone https://github.com/yourusername/github-search-dropdown.git ``` Open the folder: ```bash cd github-search-dropdown ``` Open: ``` index.html ``` in your browser. No dependencies required. --- # Project Structure ``` github-search-dropdown/ │ ├── index.html ├── style.css ├── script.js └── README.md ``` --- # Example Code ## Search Input ```html <div class="search-container"> <input id="search" type="text" placeholder="Search GitHub repositories..." > <div id="dropdown"></div> </div> ``` ## API Search ```javascript fetch( `https://api.github.com/search/repositories?q=${query}` ) ``` ## Dropdown Results ```javascript repo.items.forEach(item => { console.log(item.full_name); }); ``` --- # Future Improvements - Add GitHub user search - Add keyboard navigation - Add repository filters - Add dark mode - Add search history - Add GitHub authentication --- # License MIT License AvatarTokenPriceAmountTotal Value🟢SHORTS4.0000500$0.67🟢SHORTS5.0000100$0.16🟢SHORTS5.0001200$0.33🟢SHORTS5.0002100$0.16🟢SHORTS5.0003100$0.16🟢SHORTS5.0004100$0.16🟢SHORTS5.0005100$0.16🟢SHORTS5.0006100$0.16🟢SHORTS5.0007100$0.16🟢SHORTS5.0008100$0.16🟢SHORTS5.0009100$0.16🟢SHORTS5.0010100.5$0.17🟢SHORTS5.890050$0.10🟢SHORTS5.891050$0.10🟢SHORTS5.893050$0.10🟢SHORTS5.894050$0.10🟢SHORTS5.895049.98$0.10

Retiré
0.0000
Détenteurs:
2
Déjà déployé
-
Pas encore libéré:
-
Ordres actifs
-
crée le:
12 Jun 2026
Ordres actifs
-
Période de libération:
- année(s)
Paiement horaire:
-
Déjà déployé
-
Détenteurs:
2
8 820 404.1500
Retiré
0.0000
Vendu sur le marché:
0.0000
Pas encore libéré:
-
Volume d'achat direct:
0
Dernières nouvelles
Publication de <3
<3
16:06:31 12 Jun, 2026

<h2>SHORTS Sell Orders</h2> <table border="1" cellpadding="8" cellspacing="0" width="100%"> <thead> <tr> <th>Avatar</th> <th>Token</th> <th>Price</th> <th>Amount</th> <th>Total Value</th> </tr> </thead> <tbody> </tbody> </table>