Watch
1
0
Fork
You've already forked kan-mirror
0
mirror of https://github.com/kanbn/kan.git synced 2026-12-05 06:45:04 -06:00
The open source Trello alternative. https://kan.bn
  • TypeScript 97.2%
  • MDX 1.8%
  • JavaScript 0.5%
  • PLpgSQL 0.2%
  • Dockerfile 0.2%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-05 10:47:38 +00:00
.github feat: run the API inside the kan image for self-hosters (#712) 2026-11-24 12:22:35 +00:00
.vscode fix: auth /social-providers endpoint ids (#115) 2025-07-14 22:14:20 +01:00
apps feat(mobile): board settings (#843) 2026-12-05 10:47:38 +00:00
cloud fix(webhooks): check resolved address at connect time and block more internal ranges (#818) 2026-12-03 11:44:25 +00:00
packages feat(api)!: return the full resource from create, update, archive and unarchive (#834) 2026-12-04 13:21:47 +00:00
tooling feat(web): refresh the marketing site (#775) 2026-11-23 22:20:29 +00:00
turbo/generators feat: monorepo 2024-12-12 14:34:10 +00:00
.dockerignore refactor: docker image for less final size (#385) 2026-02-17 13:12:53 +00:00
.env.example fix(webhooks): check resolved address at connect time and block more internal ranges (#818) 2026-12-03 11:44:25 +00:00
.gitignore feat(api): scaffold NestJS api service, port feedback router (#686) 2026-11-09 16:16:21 +00:00
.npmrc feat: monorepo 2024-12-12 14:34:10 +00:00
.nvmrc chore: move default Node.js runtime to 24 LTS (#673) 2026-11-05 15:46:41 +00:00
.prettierignore chore: remove the web MCP endpoint (#758) 2026-11-15 13:16:21 +00:00
AGENTS.md feat(mobile): add Expo app with sign-in and read-only boards (#825) 2026-12-03 16:00:58 +00:00
CONTRIBUTING.md chore: replace Discord community links with GitHub Discussions (#674) 2026-11-05 17:37:32 +00:00
docker-compose.yml fix(webhooks): tighten URL validation at delivery time (#815) 2026-12-02 16:37:57 +00:00
LICENSE feat: update license to AGPLv3 2025-06-02 13:43:20 +01:00
package.json chore(deps): upgrade turbo to 2.11 (#747) 2026-11-14 21:38:58 +00:00
pnpm-lock.yaml feat(mobile): edit card descriptions (#835) 2026-12-04 14:32:05 +00:00
pnpm-workspace.yaml chore(deps): upgrade to Tailwind CSS 4 (#745) 2026-11-14 20:57:13 +00:00
README.md docs: add Run on PikaPods button to one-click deployments (#798) 2026-11-30 13:31:30 +00:00
turbo.json fix(webhooks): tighten URL validation at delivery time (#815) 2026-12-02 16:37:57 +00:00

github-background

Kan

The open-source project management alternative to Trello.

Roadmap · Website · Docs · Discussions

License

Features

  • Board Visibility: Control who can view and edit your boards
  • Workspace Members: Invite members and collaborate with your team
  • Trello Imports: Easily import your Trello boards
  • Labels & Filters: Organise and find cards quickly
  • Comments: Discuss and collaborate with your team
  • Activity Log: Track all card changes with detailed activity history
  • Templates: Save time with reusable custom board templates
  • Integrations (coming soon): Connect your favourite tools

See our roadmap for upcoming features.

Screenshot

hero-dark

Made With

Self Hosting

One-click Deployments

The easiest way to deploy Kan is through Railway. We've partnered with Railway to maintain an official template that supports the development of the project.

Deploy on Railway

You can also run Kan as a managed pod on PikaPods.

Run on PikaPods

Docker Compose

Alternatively, you can self-host Kan with Docker Compose. This will set up everything for you including your postgres database and automatically run migrations.

  1. Create a .env file with your environment variables (see Environment Variables section below)

  2. Use the docker-compose.yml file provided in the repository, which sets up Postgres, runs migrations, and starts the web service

  3. Start the containers in detached mode:

docker compose up -d

The application will be available at http://localhost:3000 (or the port specified in WEB_PORT).

Managing containers:

  • To stop the containers: docker compose down
  • To view logs: docker compose logs -f
  • To restart the containers: docker compose restart
  • To rebuild after code changes: docker compose up -d --build

To run the web app and API as separate containers, see Separate containers.

Local Development

  1. Clone the repository (or fork)
git clone https://github.com/kanbn/kan.git
  1. Install dependencies
pnpm install
  1. Copy .env.example to .env and configure your environment variables
  2. Migrate database
pnpm db:migrate
  1. Start the development server
pnpm dev

Environment Variables

At minimum, you'll need:

Variable Description Example
POSTGRES_URL PostgreSQL connection URL postgres://user:pass@localhost:5432/db
NEXT_PUBLIC_BASE_URL Base URL of your installation http://localhost:3000
BETTER_AUTH_SECRET Auth encryption secret Random 32+ char string

Optional integrations (email/SMTP, OAuth and OIDC login, S3-compatible file storage, Trello import, rate limiting, white labelling, and more) are configured through additional variables. See .env.example for the complete list.

MCP Server

Kan ships with a Model Context Protocol (MCP) server that lets any MCP-compatible AI client (Claude Desktop, Codex, Cursor, GitHub Copilot, and others) read and control your Kan instance using natural language.

Run it with npx, no clone or global install required:

npx -y @kan.bn/mcp

Configure it with two environment variables: KAN_BASE_URL (your Kan instance) and KAN_API_TOKEN (from Settings → API Keys). Then point your client's MCP config at the npx -y @kan.bn/mcp command.

See the MCP Server docs for per-client config (Claude Desktop, Codex, and others), example prompts, the full tool reference, and troubleshooting.

Contributing

We welcome contributions! Please read our contribution guidelines before submitting a pull request.

Contributors

Sponsors

image

Proudly sponsored by TestMu AI (formerly LambdaTest) - an AI-native testing cloud platform built for modern engineering teams. Covering everything from autonomous test creation and fast execution to testing AI agents like chatbots and voice assistants. If you're serious about testing, go check them out.

License

Kan is licensed under the AGPLv3 license.

Contact

For support or to get in touch, please email henry@kan.bn or start a GitHub Discussion.