项目 / classroomio/classroomio

classroomio/classroomio

行业推荐
语言 TypeScript标签 classroomeducationlmsclassroom-toolsedtechvirtual-classroomsupabasesveltesveltekitclassroom-appclassroom-managementcourseragoogle-classroomudemywebassignmentsblended-learningcourselearning数据更新 2026-11-25 06:49:28 · 仓库 2026-11-24

一段话介绍

ClassroomIO is an Intelligent Customer Training Platform that helps SaaS companies use education to grow their business.

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
ClassroomIO is an Intelligent Customer Training Platform that helps SaaS companies use education to grow their business.
1,749累计星
414Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

在线教学与课程管理

适配系统:在线学习平台、教学管理系统 · 得分 2.6

覆盖课程、班级、作业与考核对象模型,可作为在线教学平台的业务骨架直接二次开发。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
安装或使用说明见 https://classroomio.com。
特点或设计要点
课程创建可借助 AI 辅助,并支持分班、结业证书、团队协作和多语言交付。分发方面可建立带自定义域名的品牌学院,提供学员面板和学习路径,也可通过 REST API 与 Webhooks 对接现有系统。另提供 AI 课程助教,以及可与常见 AI 工具连接的 MCP 服务。仓库是 monorepo,主要包含官网、API、学习后台和文档站点,技术栈为 SvelteKit、Hono 和 PostgreSQL。
局限和适用边界
本地运行 ClassroomIO 需 Node.js 20.19.3 以上、pnpm v10(npm/yarn 不能替代)以及用于运行 Postgres 和 Redis 的 Docker。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-11-22 · 语言 TypeScript · 贡献者 —
typescript

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 15,024 字节。

<a href="https://classroomio.com/">
  <img alt="ClassroomIO is a no-code tool that allows you build and scale your online bootcamp with ease." src="https://raw.githubusercontent.com/classroomio/classroomio/main/apps/website/static/classroomio-opengraph-image.jpg" />
  <h1 align="center">ClassroomIO.com</h1>
  <p align="center">
  The Customer Training Platform Built for Business Growth.
    <br />
    <a href="https://classroomio.com">Website</a>  |  <a href="https://dub.sh/ciodiscord">Join Discord community</a>
  </p>
</a>

## ✨ About ClassroomIO

<img alt="image" src="https://assets.cdn.clsrio.com/www/home/dashboard-home.png" />


ClassroomIO is an intelligent customer training platform that helps SaaS companies use education to grow their business. Create high-quality learning experiences faster, deliver them across your customer journey, and use AI to scale customer education.

## Who It's For

| Use Case | What You Can Do |
|---|---|
| **Customer Education** | Help customers understand your product, learn key features, complete onboarding, and get more value from your platform. |
| **Partner Training** | Train resellers, implementation partners, and distributors on your products, processes, and standards. |
| **Employee Training** | Onboard employees, deliver internal training, and manage compliance and certification programs. |

### Key Features

### 1. Create

- **Build Courses:** Create courses faster with AI-powered course creation tools.
- **Cohorts:** Group learners into organized learning groups and track their progress through training programs.
- **Certifications:** Issue branded certificates to recognize learners who complete courses or meet training requirements.
- **Team Collaboration:** Add team members to your academy and work together to manage learners, assign courses, and coordinate training.
- **Multiple Languages:** Deliver learning experiences in 10+ languages for learners globally.

### 2. Distribute

- **Branded Customer Academies:** Launch branded learning academies on custom domains.
- **Manage Organizations:** Manage multiple organizations and their learning environments.
- **Learner Dashboard:** Give learners one place to access courses, assignments, and track progress.
- **Learning Paths:** Guide learners through structured learning experiences.
- **Embedded Learning:** Embed videos, slides, and documents directly into your courses to give learners a seamless learning experience.
- **REST API & Webhooks:** Connect ClassroomIO to your existing systems, access learning data, and trigger workflows across your tools.
- **Zapier Integration:** Connect ClassroomIO with your favourite tools and automate workflows across your existing apps.

  ### 3. Intelligence

**AI Lesson Tutor:** Learners get access to an AI assistant that explains concepts, answers questions, and summarizes course material to help them learn with confidence.

**MCP Server:** Connect ClassroomIO with your favourite AI tools and coding agents to create courses and interact with your learning platform.

**AI-Powered Workflows:** Use AI integrations to streamline course creation and learning operations.

For what's coming next, see the [public roadmap](https://classroomio.com/roadmap).

## Built With

- [SvelteKit](https://kit.svelte.dev/?ref=classroomio.com)
- [Hono](https://hono.dev/)
- [PostgreSQL](https://www.postgresql.org/)
- [Better Auth](https://www.better-auth.com/)
- [TailwindCSS](https://tailwindcss.com/?ref=classroomio.com)

## Get a Demo

You can book a quick 15 min demo to see if ClassroomIO is a good fit for you

<a href="https://cal.com/classroomio/demo">
  <img src="https://cal.com/book-with-cal-dark.svg" alt="Book a Call with ClassroomIO.com">
</a>

<!-- GETTING STARTED -->

## Getting Started

To get a local copy up and running, please follow these simple steps.

### Prerequisites

Here is what you need to be able to run ClassroomIO.com

- **[Node.js](https://nodejs.org/)** (Version: 24.22.1, see `.nvmrc`) — _required_
- **[pnpm](https://pnpm.io/installation)** (v10) — _required_; the package scripts call `pnpm` directly, so npm/yarn are not substitutes
- **[Docker](https://docs.docker.com/engine/install/)** — _required_; runs Postgres + Redis (no local install of those needed)

### Project Structure

This repo is a monorepo that consists of these primary apps:

1. `website`: The landing page of ClassroomIO hosted [here](https://classroomio.com)
2. `api`: The api service that handles PDF, video processing, Emailing and Notifications.
3. `dashboard`: The web application that runs the learning management system hosted [here](https://app.classroomio.com).
4. `zapier`: The Zapier integration app that connects ClassroomIO to thousands of apps through triggers and actions.
5. `docs`: Official documentation of ClassroomIO hosted [here](https://classroomio.com/docs)

The repository also contains shared packages under `packages/` (for example `packages/db`, `packages/utils`, and `packages/ui`).

## Development

### Local Setup

> **Before you start:** make sure **pnpm** and **Docker** are installed (see
> [Prerequisites](#prerequisites)). New to the project? Read
> [`DEV_SETUP_NOTES.md`](DEV_SETUP_NOTES.md) first — it's a full step-by-step
> walkthrough with a troubleshooting reference for the errors you're likely to hit.

1. Fork the repo, then clone it:

   ```bash
   git clone https://github.com/classroomio/classroomio.git
   ```

2. Go to project folder:

   ```bash
   cd classroomio
   ```

3. Set up Node (using `nvm`):

   ```bash
   nvm use
   ```

   You first might need to install the specific version and then use it:

   ```bash
   nvm install && nvm use
   ```

   You can install nvm from [here](https://github.com/nvm-sh/nvm).

4. Install dependencies:

   ```bash
   pnpm i
   ```

5. Set up your `.env` files:

   Each app reads its **own** `.env`. In `apps/api`, `apps/jobs` and `apps/dashboard`, duplicate
   `.env.example` to `.env` and fill the values below (host ports). The secret values are
   placeholders — **generate each one** with `openssl rand -hex 32` rather than copying
   the example text. The two `PRIVATE_SERVER_KEY` values **must match** — they
   authenticate the dashboard's server-to-server calls to the API, so generate it once
   and paste the same value into both files.

   - `apps/api/.env`:

     ```bash
     DATABASE_URL="postgresql://postgres:postgres@localhost:5432/classroomio"
     REDIS_URL="redis://localhost:6379"
     PUBLIC_SERVER_URL="http://localhost:3002"
     TRUSTED_ORIGINS="http://localhost:5173"        # the dashboard dev origin
     BETTER_AUTH_SECRET="<generate-with-openssl-rand-hex-32>"
     PRIVATE_SERVER_KEY="<generate-with-openssl-rand-hex-32>"   # generate once; use the SAME value in the dashboard
     DASHBOARD_ORIGIN="http://localhost:5173"        # optional; used for invite/email links back to the dashboard
     ```

   - `apps/jobs/.env`:
      The jobs service handles background tasks (emails, media processing, analytics rollups, etc.).

      **Recommended setup** (simplest):

      ```bash
      cd apps/jobs
      ln -s ../../apps/api/.env .env  
     ```

   - `apps/dashboard/.env`:

     ```bash
     PUBLIC_SERVER_URL="http://localhost:3002"
     PRIVATE_SERVER_URL="http://localhost:3002"      # used by the SSR auth proxy — required, or login returns "API upstream not configured"
     PRIVATE_SERVER_KEY="<generate-with-openssl-rand-hex-32>"   # must match the API (paste the value generated above)
     PUBLIC_IS_SELFHOSTED=false
     ```

   - Running the background workers? Also create `apps/jobs/.env` (e.g. `cp apps/api/.env apps/jobs/.env`); it needs `REDIS_URL`. The `packages/db/.env` used by the DB scripts is set up in step 6.
   - Optional for self-hosted Enterprise-only features (SSO, token-auth, no-tracking): set `LICENSE_KEY` in `apps/api/.env`.
   - Optional upload size limits: set matching `UPLOAD_MAX_*_MB` values in **both** `apps/api/.env` and `apps/dashboard/.env` (see `apps/api/.env.example`). Defaults are 5 MB documents, 2 MB assignment files, 1 GB videos.

6. Start local infrastructure for API (Postgres + Redis) and seed the DB:

   ```bash
   docker compose -f docker-compose.yaml up -d postgres redis
   cp packages/db/.env.example packages/db/.env   # one-time (Windows: Copy-Item)
   pnpm --filter @cio/db db:setup:seed
   ```

   - Connect with `DATABASE_URL=postgresql://postgres:postgres@localhost:5432/classroomio`
   - Connect with `REDIS_URL=redis://localhost:6379`
   - `db:setup:seed` creates the schema and seeds demo data once Postgres is up. The db scripts run with their own working directory, so they read `DATABASE_URL` from `packages/db/.env` (not `apps/api/.env`).

7. (Optional) Start the bundled S3-compatible storage (SeaweedFS) locally for media/documents:

   ```bash
   docker compose -f docker-compose.yaml --profile storage up -d storage storage-init
   ```

   - S3 endpoint: http://localhost:9000 (there is no web console; browse buckets with any S3 client such as `rclone` or the AWS CLI)
   - Buckets created by `storage-init`: `videos`, `documents`, `media` (`media` is public-read)
   - Browser presigned uploads work out of the box: the store allows all CORS origins.
   - Add to `apps/api/.env` when using it locally:
     - `OBJECT_STORAGE_ENDPOINT=http://localhost:9000`
     - `OBJECT_STORAGE_PUBLIC_ENDPOINT=http://localhost:9000`
     - `OBJECT_STORAGE_ACCESS_KEY_ID=classroomio`
     - `OBJECT_STORAGE_SECRET_ACCESS_KEY=classroomio-local-dev-secret`
     - `OBJECT_STORAGE_FORCE_PATH_STYLE=true`
     - `OBJECT_STORAGE_MEDIA_PUBLIC_BASE_URL=http://localhost:9000/media`

8. Run the local app services in separate terminals:

   ```bash
   pnpm api:dev
   ```

   ```bash
   pnpm dashboard:dev
   ```

   - If you see `Failed to resolve entry for package "@cio/..."`, the shared workspace packages haven't been built yet (their `dist/` is missing). Build them once with `pnpm build`, then re-run the dev commands.
   - To test over HTTPS (e.g. from a mobile device on your local network), run `pnpm dashboard:dev:https` (or `pnpm dashboard:dev:https:fresh`). This provisions local certificates and automatically binds to `0.0.0.0` (on seperate mobile or LAN devices, bypass the browser's certificate warning if you have the option).

9. Default local URLs:

   - `api`: [http://localhost:3002](http://localhost:3002)
   - `dashboard`: [http://localhost:5173](http://localhost:5173)

10. Optional: run other apps:

   - **website**: `pnpm website:dev`
   - **docs**: `CHOKIDAR_USEPOLLING=true pnpm dev --filter=@cio/docs`
     (Requires Node 24: `nvm use 24.22.1` first, per `.nvmrc`. The polling flag prevents
     an `EMFILE` error on macOS when other dev servers are already consuming
     file descriptors.)

     On Windows, `nvm` (nvm-windows) switches the Node version globally
     rather than per-shell, so run this from a separate terminal window than
     the one running `api`/`dashboard` — switching versions there won't
     affect processes already started in other terminals.

     The docs' API reference is built from a static OpenAPI spec fetched at
     dev-server startup from the deployed production API
     (`apps/docs/scripts/fetch-openapi.mjs`), not from your local `api`. If
     you're working on public API routes and want to preview unmerged
     changes in the docs before they're deployed, generate the spec from
     your local code instead:

     ```bash
     # from apps/api, with local Redis running (same as normal api dev setup)
     OPENAPI_SKIP_CDN_PURGE=1 npx tsx scripts/upload-openapi-spec.ts
     cp dist/openapi/public-api/openapi.json ../docs/openapi/public-api.json
     ```

     Then start the docs server with `pnpm exec blume dev` from `apps/docs`
     instead of `pnpm dev --filter=@cio/docs` — the latter re-runs
     `fetch-openapi.mjs` as a prestep on every start and will overwrite your
     local copy with the stale remote spec again.

11. Login into `dashboard`:

    - Visit [http://localhost:5173/login](http://localhost:5173/login)
    - Enter email: `admin@test.com`
    - Enter password: `123456`

    To learn more about how to login with a dummy account, [go here.](https://classroomio.com/docs/contributor-guides/demo-accounts)

### Enabling the AI Course Assistant

The in-course AI chat (course authoring, plan generation, lesson edits) is **disabled by default**. Enable it by setting at least one provider API key in `apps/api/.env` (or the root `.env` for the Docker stack):

```bash
# Pick one or more — the dashboard model picker exposes Gemini 2.5 Flash and GPT-4o.
OPENAI_API_KEY=sk-...        # enables GPT-4o
GOOGLE_API_KEY=AIza...       # enables Gemini 2.5 Flash (default model in the picker)
ANTHROPIC_API_KEY=sk-ant-... # supported in code; not currently in the picker UI
```

Notes:
- The `GET /agent/status` endpoint flips to `enabled: true` as soon as any of those keys is set, which is what the dashboard checks before showing the AI button on a course.
- Each chat request sends the user-selected `model` (persisted in `localStorage` as `classroomio-ai-chat-model`). The API resolves the provider for that model (`packages/utils/src/agent-models`) and returns 503 `AI_NOT_CONFIGURED` if that provider's key is missing.
- Optional Tinybird observability: set `TINYBIRD_TOKEN` (and optionally `TINYBIRD_BASE_URL`) in `apps/api/.env`. Events are silently skipped when the token is absent.
- More detail on architecture, tools, and routes lives in [`prd/ai-course-assistant [DONE]/README.md`](prd/ai-course-assistant%20[DONE]/README.md).

### Docker Compose (Full Stack)

```bash
cp .env.example .env   # copy env template, edit for your domain
./classroomio.sh start           # pulls pre-built images; use --build to build from source
```

The script reads root `.env` via `docker compose --env-file .env` and auto-generates a secure `PRIVATE_SERVER_KEY` (and `BETTER_AUTH_SECRET`) when missing. Run `./classroomio.sh` with no arguments for the full lifecycle menu (install, start, stop, restart, upgrade, logs, backup).

See [`.env.example`](.env.example) for the full list of environment variables with required/optional grouping, and [`docker/docs/SELF_HOST.md`](docker/docs/SELF_HOST.md) for the complete Docker self-hosting guide. To raise upload caps (documents, videos, assignment files), set the `UPLOAD_MAX_*_MB` vars in `.env` — see the [docs](https://classroomio.com/docs/self-hosted/configuration/storage#upload-file-size-limits).

## Publishing

When cutting releases for hosted assets or the npm MCP package, run:

- **Storybook** — `pnpm --filter @cio/storybook storybook:publish`
- **Course widget embed** — `pnpm --filter @cio/embeds embeds:publish`
- **Question type picker** — `pnpm --filter @cio/embeds embeds:publish` (same script builds and uploads both embeds)
- **MCP (`@classroomio/mcp`)** — bump the version in `packages/mcp/package.json`, then `pnpm mcp:build` and `pnpm --filter @classroomio/mcp publish`
↑