Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
Update readme and address failing playwright test
Khuram Niaz9bb27ecf4a60
diff --git a/README.md b/README.mdindex 61268bd..8389073 100644--- a/README.md+++ b/README.md@@ -38,70 +38,37 @@ Job searching can be overwhelming, with numerous applications to track and deadlJobSync Assistant is completely free to use and open source. It provides a powerful job search management tool at no cost and ensures that everyone has access to the resources they need. Additionally, JobSeeker Assistant is designed to be self-hosted, giving you full control over your data. By using Docker, you can easily set up and run JobSync Assistant on your own server, ensuring a secure and personalized experience.-## Installation+## Quick Start-### Using Docker--#### Step 1 - Clone repo-* **Alternativey you can also download the source code using download link**+Make sure [Docker](https://www.docker.com) is installed and running, then:```shgit clone https://github.com/Gsync/jobsync.git+cd jobsync+docker compose up```-#### Step 2 - Environment setup--When using `deploy.sh`, the `.env` file is automatically created from `.env.example` and `AUTH_SECRET` is auto-generated if missing. For `docker compose up` or `docker run` without a `.env` file, the container entrypoint auto-generates a temporary `AUTH_SECRET` at startup.--You can also create `.env` manually from `.env.example` and customize variables as needed.--**Important**-If you are running it on a remote server/homelab, you must update timezone otherwise activities times may shift--```sh-TZ=America/Edmonton-```--##### Manual AUTH_SECRET generation (Optional)--If you prefer to set your own `AUTH_SECRET`, use one of these methods and add it to your `.env` file:--```sh-openssl rand -base64 32-```-OR-```sh-npx auth secret-```+Open [http://localhost:3000](http://localhost:3000) and create your account. That's it!-#### 2.2 Change username and password (Optional)+API keys for AI providers can be configured in **Settings** after signing in.-You can use default username (admin@example) and password (password123) or change it in you .env file+### Configuration (Optional)-#### Step 3 - Build docker image and run container-* **Please make sure you have <a href="https://www.docker.com">docker</a> installed and running**-* Please make sure you are in you project directory in your terminal+Environment variables can be set in `docker-compose.yml`:-```sh-docker compose up-```+| Variable | Description |+|---|---|+| `TZ` | Your timezone (e.g. `America/Edmonton`). **Set this on remote servers** to avoid activity time shifts. |+| `AUTH_SECRET` | Auto-generated if not set. To set manually: `openssl rand -base64 32` |-***For Update (Optional)***-Try running deployment script (deploy.sh) - with clone+### Updating-```sh- ./deploy.sh-```-OR - without clone+From the project directory, run the deploy script to pull the latest changes and rebuild:```shcurl -fsSL https://raw.githubusercontent.com/Gsync/jobsync/main/deploy.sh | sudo bash -s```-#### Step 4 - Access the app-* **Open [http://localhost:3000](http://localhost:3000) with your browser to access the app.**-* If you encounter port conflicts, please change it in the docker file-### Credits- <a href="https://github.com/facebook/react">React</a>@@ -123,17 +90,13 @@ Works with ollama https://ollama.com to review the resume.Please make sure ollama is installed and running on the same system to use the resume review and job matching feature.-AI settings will show a list of available models based on what you have in Ollama, has been tested with llama3.2 and qwen 8B variant, please make sure it is downloaded and included in ollama.+AI settings will show a list of available models based on what you have in Ollama, has been tested with llama3.2 and qwen 8B variant, please make sure it is downloaded and currently running.***Note:*** It is recommended to increase the ollama context length from default 4k.#### Deepseek-You must add your valid API key in the env file, also please make sure deepseek provider and model is selected from the settings page, ollama is selected as the default provider.--```-DEEPSEEK_API_KEY=your-deepseek-api-key-here-```+You must add your valid API key under settings, also please make sure deepseek provider and model is selected from the settings page, ollama is selected as the default provider.### Notediff --git a/e2e/profile.spec.ts b/e2e/profile.spec.tsindex 4226b0f..f56375a 100644--- a/e2e/profile.spec.ts+++ b/e2e/profile.spec.ts@@ -203,22 +203,8 @@ test.describe("Profile page", () => {}await page.getByPlaceholder("Ex: Stanford").click();await page.getByPlaceholder("Ex: Stanford").fill("test school");- await page.getByLabel("Location").click();- await page.getByPlaceholder("Create or Search location").click();const locationText = "location test";- await page.getByPlaceholder("Create or Search location").fill(locationText);- await page.waitForTimeout(500); // Wait for debounce- // Check if item exists in list or needs to be created- const existingLocation = page.getByRole("option", {- name: locationText,- exact: true,- });- const createLocation = page.getByText(`Create: ${locationText}`);- if (await existingLocation.isVisible()) {- await existingLocation.click();- } else if (await createLocation.isVisible()) {- await createLocation.click();- }+ await selectOrCreateComboboxOption(page, "Location", "Create or Search location", locationText);await expect(page.getByLabel("Location")).toContainText(locationText);await page.getByPlaceholder("Ex: Bachelor's").click();await page.getByPlaceholder("Ex: Bachelor's").fill("degree text");@@ -274,55 +260,13 @@ async function addExperience(page: Page, resumeTitle: string, jobText: string) {await sectionTitleField.fill("Experience");await sectionTitleField.press("Tab");}- await page.getByLabel("Job Title").click();- await page.getByPlaceholder("Create or Search title").click();- await page.getByPlaceholder("Create or Search title").fill(jobText);- await page.waitForTimeout(500); // Wait for debounce- // Check if item exists in list or needs to be created- const existingTitle = page.getByRole("option", {- name: jobText,- exact: true,- });- const createTitle = page.getByText(`Create: ${jobText}`);- if (await existingTitle.isVisible()) {- await existingTitle.click();- } else if (await createTitle.isVisible()) {- await createTitle.click();- }+ await selectOrCreateComboboxOption(page, "Job Title", "Create or Search title", jobText);await expect(page.getByLabel("Job Title")).toContainText(jobText);- await page.getByLabel("Company").click();- await page.getByPlaceholder("Create or Search company").click();const companyText = "company test";- await page.getByPlaceholder("Create or Search company").fill(companyText);- await page.waitForTimeout(500); // Wait for debounce- // Check if item exists in list or needs to be created- const existingCompany = page.getByRole("option", {- name: companyText,- exact: true,- });- const createCompany = page.getByText(`Create: ${companyText}`);- if (await existingCompany.isVisible()) {- await existingCompany.click();- } else if (await createCompany.isVisible()) {- await createCompany.click();- }+ await selectOrCreateComboboxOption(page, "Company", "Create or Search company", companyText);await expect(page.getByLabel("Company")).toContainText(companyText);- await page.getByLabel("Job Location").click();- await page.getByPlaceholder("Create or Search location").click();const locationText = "location test";- await page.getByPlaceholder("Create or Search location").fill(locationText);- await page.waitForTimeout(500); // Wait for debounce- // Check if item exists in list or needs to be created- const existingLocation = page.getByRole("option", {- name: locationText,- exact: true,- });- const createLocation = page.getByText(`Create: ${locationText}`);- if (await existingLocation.isVisible()) {- await existingLocation.click();- } else if (await createLocation.isVisible()) {- await createLocation.click();- }+ await selectOrCreateComboboxOption(page, "Job Location", "Create or Search location", locationText);await expect(page.getByLabel("Job Location")).toContainText(locationText);await page.getByLabel("Start Date").click();// Wait for calendar popover to open@@ -348,3 +292,24 @@ async function deleteResume(page: Page, title: string) {);await page.getByRole("button", { name: "Delete" }).click({ force: true });}++async function selectOrCreateComboboxOption(+ page: Page,+ label: string,+ searchPlaceholder: string,+ text: string,+) {+ await page.getByLabel(label).click();+ await page.getByPlaceholder(searchPlaceholder).click();+ await page.getByPlaceholder(searchPlaceholder).fill(text);+ await page.waitForTimeout(500);+ const existingOption = page.getByRole("option", { name: text, exact: true });+ const createOption = page.getByText(`Create: ${text}`);+ try {+ await existingOption.waitFor({ state: "visible", timeout: 3000 });+ await existingOption.click();+ } catch {+ await createOption.waitFor({ state: "visible", timeout: 3000 });+ await createOption.click();+ }+}