Skip to content
chamals3n4Public

About

An open-source recruitment and hiring platform

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

51 stars

Watchers

0 watching

Forks

OpenATS

An open-source hiring platform to streamline recruitment and hire faster.

Live demo · Documentation · Getting started · Architecture · Contributing

Licence: Apache 2.0 CI Latest release Node.js 24


OpenATS is an open-source applicant tracking system. It gives your team one shared workspace for hiring and replaces the spreadsheets, inboxes and separate tools that hiring usually runs on. A candidate moves through one clear process, from the open role through interviews to the final decision.

You host it yourself, so your candidates' data stays on infrastructure you control.

Features

Feature What it does
Jobs and careers page Create jobs with departments, salaries and your own application questions. Publish them on the built-in careers page, or embed them on your own website.
Candidate pipeline Move candidates through your own hiring stages on a drag-and-drop board, with filters, bulk actions and a full stage history.
CV search OpenATS reads the text of every uploaded CV on your own server. You can search across all CVs and see where the words matched.
Scoring Each job decides how much application answers, assessments, ratings and interviews count. Every candidate gets a total score.
Assessments Build tests with multiple-choice and written questions, send them automatically at a stage, and grade written answers.
Assignments Send take-home tasks with a brief, resource links and a hand-in form. Candidates hand in their work once, before the deadline.
Interviews Schedule interviews and let candidates pick from the slots you offer. Interviews go into the interviewer's Google Calendar with a Meet link, and interviewers fill in scorecards.
Offers Write offer letters from templates and send them. Candidates accept or decline online before the offer expires.
Emails Email candidates from templates, and reword the emails that OpenATS sends automatically.
Notifications The bell in the dashboard tells the hiring team when a candidate applies, books an interview, hands in work or answers an offer.
Team collaboration Each job's hiring team gets a private discussion, star ratings and shared notes.
Roles and access Super admins, hiring managers and interviewers. Interviewers only see the jobs they are assigned to.
AI notes (optional) Turn on Gemini to get a summary, strengths and gaps for each CV. It is off by default and never counts towards the score.

Architecture

OpenATS architecture: the web app, API server and worker share one PostgreSQL database; jobs go through a Redis queue; files, email, calendar and AI notes use outside services.

OpenATS is a modular monolith: one codebase and one database, with each feature in its own module. It runs as three programs:

  • Web app (Next.js): the dashboard, the public careers page, and the pages candidates open from emails. It also handles sign-in.
  • API server (Express): the business rules, data access and live updates over Socket.IO.
  • Worker (BullMQ): slow jobs that would hold up web requests, such as reading CV text, deleting the files of removed candidates, and writing AI notes.

How sign-in works: Better Auth runs inside the web app and keeps users and sessions in PostgreSQL. For each API call, the web app issues a short-lived token. The API checks the token against the web app's public keys (JWKS), then reads the user's role from the database on every request. That's why a role change takes effect immediately.

Read the architecture guide for how a request, a CV and live updates move through the system.

Tech stack

Part Built with
Web app Next.js (App Router) · TypeScript · Tailwind CSS v4 · shadcn/ui · React Query
API server Express 5 · TypeScript · Socket.IO
Database PostgreSQL with Drizzle ORM
Background jobs BullMQ on Redis
Sign-in Better Auth: email and password, with no outside identity service
File storage Cloudflare R2 or any S3-compatible bucket, or a folder on the server (STORAGE=local)
Email Any SMTP server through Nodemailer (Mailpit for local development)
AI (optional) Gemini

Getting started

Try it with Docker

The quickest way to see OpenATS working. You only need Docker with Compose 2.34 or newer.

docker compose -f oci://ghcr.io/chamals3n4/openats-quickstart:latest up

Open http://localhost:3000 and sign in with the admin email and password printed in the terminal. Every email OpenATS sends lands in Mailpit at http://localhost:8025. See Try OpenATS with Docker for more.

Run it for development

You need Node.js 24, Docker, pnpm (npm install -g pnpm), make and openssl.

git clone https://github.com/chamals3n4/OpenATS.git && cd OpenATS

make setup   # install, create both .env files, start Postgres and Redis,
             # run migrations, seed the pipeline stages, create your first admin
make dev     # start the API on :8080, the worker, and the web app on :3000

Open http://localhost:3000 and sign in with the admin you created. Run make admin at any time to add a super admin, or to get back in if you are locked out.

Important

The worker is required. It reads every uploaded CV and removes the files of deleted candidates. Without it, CVs stay "pending". make dev starts it with everything else.

Note

Fill in the R2_* values in backend/.env before you upload CVs. These are the only values that make setup can't create for you. To turn on AI notes, set GEMINI_API_KEY and enable them in Settings → General.

For every step done by hand, see CONTRIBUTING.md.

Configuration

Each package reads its own .env file, and each .env.example explains every value. Both apps stop at startup with a clear message if a required value is missing.

backend/.env
Variable What it is for
DATABASE_URL PostgreSQL connection
REDIS_URL Redis, for background jobs
AUTH_JWKS_URL / AUTH_ISSUER Checking sign-in tokens. AUTH_ISSUER must equal BETTER_AUTH_URL
ENCRYPTION_KEY Encrypts stored integration credentials
FRONTEND_URL CORS and links in emails
STORAGE / R2_* File storage: a bucket (R2_*), or STORAGE=local for a folder on the server
SMTP_* / MAIL_FROM Email, through any SMTP server
GEMINI_API_KEY Optional. AI notes. They also stay off until you turn them on in Settings
GOOGLE_OAUTH_* Optional. Lets interviewers connect Google Calendar and Meet
frontend/.env
Variable What it is for
DATABASE_URL The same database as the backend
BETTER_AUTH_SECRET / BETTER_AUTH_URL Sign-in: a secret of 32 or more characters, and the app's public URL
OPENATS_API_URL / NEXT_PUBLIC_API_URL Where the backend is, from the server and from the browser
SMTP_* / MAIL_FROM Optional. Invite and password reset emails, with the same values as the backend

See Environment variables for the full reference.

Deployment

Guide When to use it
Choose how to deploy Compare the options
Your own server Build from source and run everything on one server
Render Use a managed platform
Vercel for the web app Host the web app on Vercel and the API elsewhere
Upgrade Upgrade an existing installation to v1.0

Repository layout

The repository is one pnpm workspace with two packages, frontend and backend, installed from the root.

Path What it holds
frontend/ The Next.js web app, on port 3000. See its README
backend/ The Express API and the background worker, on port 8080
backend/drizzle/ Generated database migrations, always committed
e2e/ Playwright end-to-end tests
docs/ The documentation site at openats.dev

Contributing

Contributions are welcome: bug reports, ideas, documentation and code. Read CONTRIBUTING.md for the full setup, the branching rules and how to open a pull request. Please follow our Code of Conduct.

To report a security issue, follow SECURITY.md instead of opening a public issue.

Licence

OpenATS is released under the Apache License 2.0.

About

An open-source recruitment and hiring platform

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

51 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages