Greetings fellow job seekers,
This library was created to help you achieve stable careers faster. It is based on the original @feder-cr/linkedIn_auto_jobs_applier_with_AI
project but has been translated to TypeScript, separated, and refined. This version includes numerous enhancements, such as:
- 🛠️ Command Line Interface (CLI)
- 📜 Improved Logging
- 🔗 Ollama API Integration
- 🥶 Refined Prompts for ICE COLD temperature
- ✨ Added many more scenarios that Selenium can now pass
To install the CLI tool, follow these steps:
-
🌀 Clone the repository:
git clone https://github.com/Eyalm321/linkedin-job-applier-ai.git
-
🗂️ Navigate to the project directory:
cd linkedin-job-applier-ai
-
⚙️ Install the necessary dependencies:
npm install
-
Fill Environment Variables in .env file
-
Build the project
npm run build
To run the CLI tool, use the following command:
npm run start
or
npm run start:dev
Using default settings, it will automatically recognize the model based on apiKey/baseUrl
. Otherwise, you can also use the CLI to override with options:
Options
--model, -m <model>: Override the default AI model with a custom model.
--provider, -p <provider>: Specify the AI provider to use (openai, anthropic, ollama).
--apiKey, -k <key>: API key for the chosen provider (required for OpenAI and Anthropic).
--baseUrl, -b <url>: Base URL for Ollama API (required if using Ollama).
--temperature, -t <value>: Set the temperature for the AI model output.
--version, -v: Show the current version of the CLI tool.
--help, -h: Display help information and usage examples.
-
Override the OLLAMA_MODEL with
myModel
:node cli.js --model myModel
-
Use OpenAI as the provider with a specified API key:
node cli.js --provider openai --apiKey your_openai_api_key
-
Use a custom Ollama base URL:
node cli.js --provider ollama --baseUrl http://localhost:11434
-
Set the temperature to 0.7 for more diverse output:
node cli.js --temperature 0.7
You can configure the CLI tool using the following environment variables:
OLLAMA_MODEL: Default AI model to use.
OPENAI_API_KEY: API key for OpenAI.
ANTHROPIC_API_KEY: API key for Anthropic.
OLLAMA_BASE_URL: Base URL for Ollama API.
TEMPERATURE: Default temperature setting for the AI model output.
This project is licensed under the MIT License. See the LICENSE file for more details.
This tool automates job applications on LinkedIn. Please use it responsibly and ensure it aligns with LinkedIn's terms of service. By using this tool, you acknowledge the risks and agree to proceed at your own discretion.
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes or improvements.
For any questions or support, please open an issue on the GitHub repository.