# CohortHarbor

> CohortHarbor is a self-hosted, open-source employee onboarding platform with policy management, online learning, exams, and email automation. Built with Next.js & SQLite.

- **Category:** Learning Management System
- **Licence:** MIT
- **Open source:** oss
- **Languages:** Typescript
- **Platforms:** NPM
- **Tags:** SQLite, Onboarding, Prisma, Document Management, Training, Learning Management System, Rbac, Typescript, Next.js, Self Hosted, Learning management, Policy management, Employee Onboarding, Exam, Employee Training

## Description

CohortHarbor is a self-hosted web application designed for enterprise HR, administrators, IT staff, and new employees to manage the complete onboarding lifecycle. It combines employee account management, policy document versioning and preview, learning material distribution with ZIP downloads, online exam creation with question banks and retake support, automated welcome emails with templates and attachments, and a visual onboarding portal editor. The platform enforces role-based access control with SUPER_ADMIN, ADMIN, and EMPLOYEE roles, stores files in private storage with server-side authorization and watermarking, and uses SQLite via Prisma for data persistence. It runs on Node.js 24 with pnpm, can be deployed behind a reverse proxy with HTTPS, and optionally integrates with SMTP for email and local tools like LibreOffice, pdftoppm, and Tesseract for document processing. The project is MIT-licensed and actively developed.

## Links

- [Homepage](https://github.com/lantingzhang1119/cohort-harbor)
- [Architecture Documentation](https://github.com/lantingzhang1119/cohort-harbor/blob/main/docs/architecture.md)
- [Deployment Guide](https://github.com/lantingzhang1119/cohort-harbor/blob/main/docs/deployment.md)
- [Security Design](https://github.com/lantingzhang1119/cohort-harbor/blob/main/docs/security.md)
- [AI Agent Capability Boundary](https://github.com/lantingzhang1119/cohort-harbor/blob/main/docs/ai-agent.md)
- [Contribution Guide](https://github.com/lantingzhang1119/cohort-harbor/blob/main/docs/contribution.md)

---
Source: https://selfhost.directory/project/cohort-harbor