The open-source, self-hosted alternative
to Linear, ClickUp, Asana and Basecamp
Tuff puts tasks, docs and chat in one place for your team and its AI agents.
Agents connect over MCP and take tasks next to everyone else.
Run it on your own server with no limit on people or projects,
or use it on usetuff.com for one price for the whole workspace.
Quick start ·
Self-hosting guide ·
Changelog ·
API ·
Architecture
Tasks
Every project has a list and a board, with labels, due dates, sub-tasks and
blockers. My Tasks shows what's assigned to you across every project.
Chat
Each project has its channels, and you can message anyone directly. Reply
in threads, mention people and agents, and open a chat beside the board.
Files
Documents, pictures, uploads and links for each project. Pin the pages
people need, keep a draft to yourself or share it with chosen people, and go
back to any earlier version.
GitHub
Link a repository to a project. Pull requests that name a task show on it
with their review and checks, and move it along; a repository's issues and
the project's tasks stay in sync both ways. It runs on a GitHub App of your
own (Self-hosting).
AI agents
Connect Claude Code, Codex, Cursor or any MCP client. An agent works with the
permissions you give it, and what it does shows in Activity. When it needs a
decision, it asks with choices, and the question waits for you in Needs you.
Search
Press ⌘K to search tasks, documents, announcements and messages as you type.
Narrow it to one kind or one project.
On your phone
Install Tuff from the browser as an app on your phone or computer. It sends
push notifications.
Your own server
setup.sh prints a setup link. Open it to set up email and create your
account as the server's owner. No commands after that.
Features
- Projects with four tools: Tasks (a list and a board), Chat,
Files (documents, pictures, uploads and links) and Announcements,
plus an Activity feed of what happened.
- My Tasks: everything assigned to you, across every project.
- Chat in project channels and direct messages, with threads, mentions
and reactions.
- AI agents connect over MCP and work with the permissions you give them.
What they do shows in Activity.
- Search across tasks, messages and files with ⌘K.
- Notifications in the app, by email, and as push in the browser.
- Sign-in by email with a second factor, or with Google, Apple or
GitHub using your own keys.
- GitHub: pull requests on their tasks, and issues kept in sync with
tasks both ways.
- Import from Asana, Jira, Linear, Slack and GitHub Issues.
- Fast with a lot of data: measured with 10,000 tasks in a project and
a million messages in a channel.
- Workspaces kept apart by the database: Postgres row-level security
holds even if a query has a bug.
- English and French. Installs as an app on phones and computers.
Quick start
Try it on your computer
You need Docker (Docker Desktop on a Mac), git, openssl and curl.
git clone https://github.com/usetuff/tuff.git
cd tuff
scripts/setup.sh --try
It finds a free port, makes the passwords, starts Tuff and opens
http://localhost:<port>/setup?token=… in your browser, where you create
your account. No domain, no certificate. Between releases it builds Tuff
from source first, which takes a few minutes the first time.
Run it again to start the same install with your data;
scripts/setup.sh --try --fresh deletes it and starts over. It keeps to
itself (.env.try and Docker volumes of its own) and answers only on this
computer, so it isn't a way to run Tuff for a team.
On Railway

One click makes the app, the worker, Postgres and a bucket for files on
your Railway account, with every secret generated, and gives Tuff an
address on Railway. When the first deploy finishes, open the
tuff service's deploy log and find Nobody owns this server yet: its
link is your setup link. Turn on backups for the Postgres service on
Railway. Tuff takes none of its own there.
On a server
You need a Linux machine with Docker and Docker Compose 2.24 or newer,
git, openssl and curl, 2 GB of memory, and a domain name pointing at
it with ports 80 and 443 open. Caddy, part of the stack, gets the HTTPS
certificate by itself.
git clone https://github.com/usetuff/tuff.git
cd tuff
git checkout "$(git tag --sort=-v:refname | head -1)" # the latest release
scripts/setup.sh tuff.example.com you@example.com
docker compose up -d
setup.sh writes .env with random passwords and the release to run, and
ends by printing a setup link, https://tuff.example.com/setup?token=….
docker compose up -d pulls the image and starts Postgres, the app, the
worker and Caddy. Then open the setup link to set up email and create your
account. You're signed in as the server's owner straight away, with no
confirmation email and no commands.
A server runs a release, and its tag is where the compose file, the scripts
and the image match. main is where development happens between releases.
Becoming the owner
The setup link has two steps:
- Email: your SMTP server or a Resend API key, and the address mail
comes from, with a button that sends a test email. Or skip it: Tuff then
says what won't work (invitations, notifications and password resets by
email), and you set it up later in Server settings.
- Your account: name, email and password. If you gave
setup.sh an
email (OWNER_EMAIL in .env), the account must use it.
The link works until the server has an owner, and never again. Lost it?
It's SETUP_TOKEN in .env, and the app prints the whole link in its log
on every start until then (docker compose logs app).
[!IMPORTANT]
Whoever opens the setup link first becomes the owner, so keep it to
yourself. Your server's name is public within minutes of it getting a
certificate; without the link nobody can claim it.
After that, sign-up is closed and everyone else joins by invitation to a
workspace. As the owner you get Server settings, under your picture:
other owners, whether anyone can sign up, email, and the version you run.
Self-hosting has the details, including the way in
from the command line if you ever need it.
Mail
Tuff sends sign-up links, password resets, invitations and digests. Set up
email on the setup screen, or later in Server settings → Email: your
SMTP server (TLS on 465, or STARTTLS on 587) or a
Resend API key, the address mail comes from, and a
test email. The password or key is stored encrypted and never shown again.
Or put it in .env and run docker compose up -d:
SMTP_URL=smtps://user:password@smtp.example.com:465
MAIL_FROM=Tuff <tuff@example.com>
Set in .env (SMTP_URL or RESEND_API_KEY), it wins: Server settings
shows it and can't change it. MAIL_FROM is then required: Tuff has no
sender of its own on your server, and won't start without one.
Without mail you can still invite people: Tuff shows you each
invitation link instead of emailing it. Copy it and send it yourself. It
works once, only with that email, and expires in a week. A forgotten
password does need mail, so set it up when you can.
The worker
[!IMPORTANT]
The worker service must run beside app. Without it, mail isn't sent,
webhooks never fire, and deleted things are never really deleted.
docker compose up -d starts it. Check on it with docker compose ps.
Updating
git fetch --tags
git checkout v1.2.0 # the release you are moving to
scripts/update.sh 1.2.0
Checking out the tag brings the compose file and the scripts that go with
that release; the app itself comes from the image. update.sh shows what
changed, sets TUFF_VERSION in .env, restarts, and waits until the new
version is healthy. If it isn't, it prints the commands to go back. Without
a version it takes the latest release.
The app migrates the database when it starts, and backs it up first, to
the db-backups volume: no migration runs if the backup fails. Server
settings then says where the backup is. Migrations only go forward: to go
back to an older version, restore the backup taken before the update with
scripts/restore.sh. Releases follow semantic versioning, and
the changelog says when a version needs anything from you.
Backups
Before every migration the app backs the database up by itself, and keeps
those backups 30 days (Backups). They live
on the same disk, so take your own as well. The database:
mkdir -p -m 700 backups
(umask 077; docker compose exec -T postgres pg_dump -U tracker -d tracker --format=custom > backups/tuff-$(date +%F).dump)
The attached files, unless you keep them in a bucket:
docker compose cp app:/data/storage backups/tuff-files-$(date +%F)
And .env, which holds the database passwords. Copy all three off the
machine. To restore, see Backups in the
self-hosting guide.
How it fits together