A web-based media search and download interface using Google Custom Search API. This application allows users to search for images and videos, view results, and download them directly.
- Node.js and npm installed
- Google Custom Search API credentials:
- Google API Key
- Custom Search Engine ID
- Clone the repository
- Install dependencies:
npm install
- Set up environment variables:
- Create a
.env
file in the root directory - Add your Google API credentials:
GOOGLE_API_KEY=your_api_key_here SEARCH_ENGINE_ID=your_search_engine_id_here
- Create a
- Start the development server:
npm run dev
- Open your browser and navigate to
http://localhost:4000
- Enter your search term in the search bar
- Select media type (Images, Videos, or Both)
- Choose the number of results (1-20)
- Click Search to view results
- Use individual download buttons or select multiple items for batch download
- Image downloads work directly
- Video downloads support various formats including YouTube videos
- Maximum 20 results per search
- Supports both single and batch downloads