MCPcopy Index your code
hub / github.com/cosmicwanderer7/google-clone

github.com/cosmicwanderer7/google-clone @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
16 symbols 29 edges 16 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

About The Project

enter image description here A functional replica of Google's search page, you can use it for searches. Styled with Tailwind CSS to Rapidly build and look as close as possible to current google search page, the search results are pulled using Googles Programmable Search Engine and it was build using Next.js the react framework.

Project is live here https://google-clone-p8mn37r8a-cosmicwanderer7.vercel.app/

Please do not spam searches.

Built With

(back to top)

Getting Started

Prerequisites

This are things you need to use the web app and how to install them. * yarn ```sh npm install --global yarn yarn dev // to run local server

Installation

  1. Get a free API_KEY at https://developers.google.com/custom-search/v1/introduction#identify_your_application_to_google_with_api_key Get ( Search engine ID ) CONTEXT_KEY at https://cse.google.com/cse/create/new

  2. Clone the repo sh git clone https://github.com/cosmicwanderer7/google-clone.git

  3. Add Next ```sh yarn add next react react-dom

  4. Install all dependencies ```sh yarn
  5. Create a .env.local file to store your api keys ```js API_KEY = ' ' //API Key https://developers.google.com/custom-search/v1/introduction#identify_your_application_to_google_with_api_key CONTEXT_KEY = ' ' // Context Key https://cse.google.com/cse/create/new ( Search engine ID )
  6. Use dummy data for testing const useDummyData = false; //true for development testing (mock results) change it in search.js (Free version of google search api has a quota of 100 search results per day use dummy data so that you don't exhaust the quota)
  7. To run on local host use ```sh yarn dev //starts a local server

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request.

Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

(back to top)

Contact

yewaleprithvi2003@gmail.com Gmail

@PrithviYewale Twitter

@cosmic.wanderer._ Instagram

Project Link: https://github.com/cosmicwanderer7/google-clone

(back to top)

Core symbols most depended-on inside this repo

SearchResults
called by 0
components/SearchResults.js
HeaderOptions
called by 0
components/HeaderOptions.js
Footer
called by 0
components/Footer.js
Avatar
called by 0
components/Avatar.js
HeaderOption
called by 0
components/HeaderOption.js
Header
called by 0
components/Header.js
search
called by 0
components/Header.js
MyApp
called by 0
pages/_app.js

Shape

Function 13
Class 2
Method 1

Languages

TypeScript100%

Modules by API surface

pages/_document.js3 symbols
pages/search.js2 symbols
pages/index.js2 symbols
components/Header.js2 symbols
pages/api/hello.js1 symbols
pages/_app.js1 symbols
components/SearchResults.js1 symbols
components/HeaderOptions.js1 symbols
components/HeaderOption.js1 symbols
components/Footer.js1 symbols
components/Avatar.js1 symbols

For agents

$ claude mcp add google-clone \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact