Our Chrome extension can fetch LinkedIn profiles and enhance with additional information using the Apollo and Prospeo APIs.
Follow these steps to set up and deploy the extension.
- Node.js and npm installed on your machine.
- A Chrome browser.
-
Clone the repository:
git clone https://github.com/rzere/leadshark-extension.git cd leadshark-extension -
Install the necessary libraries:
npm install
-
Create a
.envfile in the root directory:touch .env
-
Add the necessary API keys to the
.envfile:APOLLO_API_KEY=your_apollo_api_key PROSPEO_API_KEY=your_prospeo_api_key
-
Start the server:
node server.js
This will start the proxy server on
http://localhost:3000.
-
Open Chrome and navigate to
chrome://extensions/. -
Enable Developer mode by clicking the toggle switch in the top right corner.
-
Click the "Load unpacked" button and select the directory where you cloned the repository.
-
The extension should now be loaded and visible in the extensions list.
-
Navigate to LinkedIn and perform a search.
-
Click on the extension icon in the Chrome toolbar.
-
The extension will automatically scrape the LinkedIn profiles and display the results in a popup.
-
Click the "Enhance" button next to a profile to fetch additional information using the Apollo API.
-
If no email is found, click the "Check Again with Prospeo" button to fetch the email using the Prospeo API.
- server.js: Sets up an Express server to handle API requests to Apollo and Prospeo.
- content.js: Contains the content script that scrapes LinkedIn profiles.
- popup.js: Manages the popup UI and handles interactions with the content script and server.
-
server.js: Handles API requests to Apollo and Prospeo.
startLine: 1 endLine: 58
-
content.js: Scrapes LinkedIn profiles.
startLine: 1 endLine: 47
-
popup.js: Manages the popup UI and interactions.
startLine: 1 endLine: 237
- API Errors: Ensure your API keys are correct and have sufficient credits.
- Extension Not Loading: Make sure you have enabled Developer mode and selected the correct directory.
Feel free to submit issues or pull requests if you find any bugs or have suggestions for improvements.
This project is licensed under the MIT License.