Skip to content

llun/activities.next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Activity.next

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.

Getting Started

Prerequisites

  • Node.js 18 or higher
  • Yarn package manager (v4.12.0 via Corepack)
  • A domain name (for federation)

Quick Start

  1. Clone the repository:
git clone https://github.com/llun/activities.next.git
cd activities.next
  1. Enable Corepack (for Yarn 4 support):
corepack enable
  1. Install dependencies:
yarn install
  1. Configure your environment (see the Setup Guide):
cp .env.example .env.local
# Edit .env.local with your configuration
  1. Run database migrations (if using SQL):
yarn migrate
  1. Start the development server:
yarn dev

For detailed setup instructions, see the Setup Guide.

Deployment Options

Deploy on Vercel

To deploy on Vercel:

  1. Fork this repository
  2. Connect it to your Vercel account
  3. Add the required environment variables (see Setup Guide)

Deploy with Docker

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.

Documentation

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

A Next.JS ActivityPub server.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 5