8000 GitHub - dominique-debert/kan: The open source Trello alternative.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dominique-debert/kan

 
 

Repository files navigation

github-background

Kan

The open-source project management alternative to Trello.

Roadmap · Website · Docs · Discord

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 (coming soon) : Save time with reusable board templates
  • ⚡️ Integrations (coming soon) : Connect your favourite tools

See our roadmap for upcoming features.

Screenshot 👁️

hero-dark

Made With 🛠️

Self Hosting 🐳

PostgreSQL Database Setup

Kan requires a PostgreSQL database. You can run one using the official PostgreSQL Docker image:

# Run PostgreSQL in a container using the official postgres image
docker run -d \
  --name kan-db \
  -e POSTGRES_DB=kan \
  -e POSTGRES_USER=kan_user \
  -e POSTGRES_PASSWORD=your_secure_password \
  -p 5432:5432 \
  -v kan_postgres_data:/var/lib/postgresql/data \
  postgres:15

# Your POSTGRES_URL should be:
# postgres://kan_user:your_secure_password@your_host:5432/kan

Kan Application Deployment

Deploy Kan with Docker using our pre-built image:

docker pull ghcr.io/kanbn/kan:latest && docker run -it -p 3000:3000 --env-file .env ghcr.io/kanbn/kan:latest

Make sure to create a .env file with the required environment variables (see the Environment Variables section below).

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 🔐

7139
Variable Description Required Example
POSTGRES_URL PostgreSQL connection URL Yes postgres://user:pass@localhost:5432/db
EMAIL_FROM Sender email address For Email "Kan <hello@mail.kan.bn>"
SMTP_HOST SMTP server hostname For Email smtp.resend.com
SMTP_PORT SMTP server port For Email 465
SMTP_USER SMTP username/email For Email resend
SMTP_PASSWORD SMTP password/token For Email re_xxxx
NEXT_PUBLIC_BASE_URL Base URL of your installation Yes http://localhost:3000
BETTER_AUTH_SECRET Auth encryption secret Yes Random 32+ char string
BETTER_AUTH_URL Auth callback URL Yes Same as NEXT_PUBLIC_BASE_URL
BETTER_AUTH_TRUSTED_ORIGINS Allowed callback origins Yes http://localhost:3000,http://localhost:3001
GOOGLE_CLIENT_ID Google OAuth client ID For Google login xxx.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET Google OAuth client secret For Google login xxx
DISCORD_CLIENT_ID Discord OAuth client ID For Discord login xxx
DISCORD_CLIENT_SECRET Discord OAuth client secret For Discord loginxxx
GITHUB_CLIENT_ID GitHub OAuth client ID For GitHub login xxx
GITHUB_CLIENT_SECRET GitHub OAuth client secret For GitHub login xxx
S3_REGION S3 storage region For file uploads WEUR
S3_ENDPOINT S3 endpoint URL For file uploads https://xxx.r2.cloudflarestorage.com
S3_ACCESS_KEY_ID S3 access key For file uploads xxx
S3_SECRET_ACCESS_KEY S3 secret key For file uploads xxx
NEXT_PUBLIC_STORAGE_URL Storage service URL For file uploads https://storage.kanbn.com
NEXT_PUBLIC_STORAGE_DOMAIN Storage domain name For file uploads kanbn.com
NEXT_PUBLIC_AVATAR_BUCKET_NAME S3 bucket name for avatars For file uploads avatars
NEXT_PUBLIC_ALLOW_CREDENTIALS Allow email & password login For authentication true
NEXT_PUBLIC_DISABLE_SIGN_UP Disable sign up For authentication false

See .env.example for a complete list of supported environment variables.

Contributing 🤝

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

Contributors 👥

License 📝

Kan is licensed under the AGPLv3 license.

Contact 📧

For support or to get in touch, please email henry@kan.bn or join our Discord server.

About

The open source Trello alternative.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 1.6%
  • Other 1.3%
0