Activity.next is an ActivityPub server built with Next.js and TypeScript. It enables you to host your own instance in the Fediverse - the decentralized social media network.
See our feature roadmap for current and planned features.
- Node.js 18 or higher
- Yarn package manager
- A domain name (for federation)
- Clone the repository:
git clone https://github.com/llun/activities.next.git
cd activities.next
- Install dependencies:
yarn install
-
Configure your environment (see the Setup Guide)
-
Run database migrations (if using SQL):
yarn migrate
- Start the development server:
yarn dev
For detailed setup instructions, see the Setup Guide.
To deploy on Vercel:
- Fork this repository
- Connect it to your Vercel account
- Add the required environment variables (see Setup Guide)
To run using Docker:
docker run -p 3000:3000 \
-e ACTIVITIES_HOST=your.domain.tld \
-e ACTIVITIES_SECRET_PHASE=random-secret \
-e NEXTAUTH_URL=https://your.domain.tld \
-e NEXTAUTH_SECRET=session-secret \
-v /path/to/data:/opt/activities.next \
ghcr.io/llun/activities.next:latest
For more Docker options, see the database-specific setup guides.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE.md file for details.