Skip to content
View baby-droid's full-sized avatar

Block or report baby-droid

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
baby-droid/README.md
<title>Real-Time Search</title> <style> body { background-color: #000; color: #fff; font-family: Arial, sans-serif; margin: 0; padding: 20px; display: flex; flex-direction: column; align-items: center; }
    .search-container {
        width: 80%;
        max-width: 600px;
        margin: 50px auto;
    }

    #searchInput {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        border: 2px solid #fff;
        border-radius: 25px;
        background-color: #000;
        color: #fff;
        outline: none;
    }

    #results {
        margin-top: 20px;
    }

    .result-item {
        background-color: #111;
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .result-item:hover {
        background-color: #222;
    }

    .result-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .result-snippet {
        font-size: 14px;
        color: #ccc;
    }

    .error {
        color: #ff4444;
        margin-top: 10px;
    }
</style>
<script>
    const searchInput = document.getElementById('searchInput');
    const resultsDiv = document.getElementById('results');
    const errorDiv = document.getElementById('error');

    // Debounce function to limit API calls
    function debounce(func, timeout = 300) {
        let timer;
        return (...args) => {
            clearTimeout(timer);
            timer = setTimeout(() => { func.apply(this, args); }, timeout);
        };
    }

    async function searchWikipedia(query) {
        if (!query) {
            resultsDiv.innerHTML = '';
            errorDiv.textContent = '';
            return;
        }

        try {
            const response = await fetch(
                `https://en.wikipedia

Popular repositories Loading

  1. Gemini-bot Gemini-bot Public

    my first project

    JavaScript 1 1

  2. ai-data-pipelines ai-data-pipelines Public

    shape of data supply by AI

    1

  3. marksyntrader marksyntrader Public

    Trading app generated by Deriv App Builder

    TypeScript 1

  4. ChatGPT ChatGPT Public template

    Forked from lencx/ChatGPT

    🔮 ChatGPT Desktop Application (Mac, Windows and Linux)

    Rust

  5. Suhail-Md-Media Suhail-Md-Media Public

    Forked from SuhailTechInfo/Suhail-Md-Media

    Plugins for Suhail-MD Whatsapp bot

    JavaScript

  6. baby-droid baby-droid Public

    Config files for my GitHub profile.