Dolphin
Dolphin is a lightweight ActivityPub server for personal (or team).
🍀 Why Dolphin
Dolphin is a fork of Misskey and a sister project of it. While inheriting attractive features such as reaction and high performance, it has been optimized for single-user use. As a result, it is easier to use and lighter.
Looking for a lightweight, high-performance ActivityPub server? Want to use Misskey, but is it heavy to use alone? Try Dolphin.
✨ Gallery
📊 Comparison
Misskey | Dolphin | Mastodon | |
---|---|---|---|
Reactions | |||
LTL | |||
STL | |||
GTL | |||
Messaging | |||
Games | |||
Pages | |||
List | |||
Group |
Build time
X axis represents seconds. Lower is better.
📦 Install
Create Dolphin user
Running dolphin as root is not a good idea so we need to create another user for that
For example:
adduser --disabled-password --disabled-login dolphin
Install dependencies
Please install and setup these softwares:
- Node.js >= 11.7.0
- PostgreSQL >= 10
- Redis
Install Dolphin
-
Connect to Dolphin user
su - dolphin
-
Clone the Dolphin repo
git clone -b master git://github.com/syuilo/dolphin.git
-
Navigate to Dolphin directory
cd dolphin
-
Install Dolphin dependencies.
npm i
Configure Dolphin
-
Copy the
.config/example.yml
and rename it todefault.yml
.cp .config/example.yml .config/default.yml
-
Edit
default.yml
e.g.
vim .config/default.yml
Build Dolphin
Build dolphin with the following:
NODE_ENV=production npm run build
If you're on Debian...
You will need to install the `build-essential`, `python` package.If you're still encountering errors about some modules...
Use node-gyp:npx node-gyp configure
npx node-gyp build
NODE_ENV=production npm run build
Initialize database
npm run init
That is it.
Launch Dolphin
NODE_ENV=production npm start
Enjoy!
🆕 How to update your Dolphin
git pull
npm i
NODE_ENV=production npm run build
npm run migrate
- Restart your Dolphin process to apply changes