https://github.com/llun/activities.next
A Next.JS ActivityPub server.
https://github.com/llun/activities.next
activitypub firebase nextjs nodejs
Last synced: 3 months ago
JSON representation
A Next.JS ActivityPub server.
- Host: GitHub
- URL: https://github.com/llun/activities.next
- Owner: llun
- License: mit
- Created: 2022-11-08T19:01:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T19:07:59.000Z (4 months ago)
- Last Synced: 2025-04-17T06:43:40.829Z (3 months ago)
- Topics: activitypub, firebase, nextjs, nodejs
- Language: TypeScript
- Homepage: https://llun.social
- Size: 10.4 MB
- Stars: 66
- Watchers: 4
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](docs/features.md) for current and planned features.
## Getting Started
### Prerequisites
- Node.js 18 or higher
- Yarn package manager
- A domain name (for federation)### Quick Start
1. Clone the repository:
```bash
git clone https://github.com/llun/activities.next.git
cd activities.next
```2. Install dependencies:
```bash
yarn install
```3. Configure your environment (see the [Setup Guide](docs/setup.md))
4. Run database migrations (if using SQL):
```bash
yarn migrate
```5. Start the development server:
```bash
yarn dev
```For detailed setup instructions, see the [Setup Guide](docs/setup.md).
## 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](docs/setup.md))### Deploy with Docker
To run using Docker:
```bash
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
- [Setup Guide](docs/setup.md)
- [SQLite Setup](docs/sqlite-setup.md)
- [PostgreSQL Setup](docs/postgresql-setup.md)
- [Firebase Setup](docs/firebase-setup.md)
- [Feature Roadmap](docs/features.md)## 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.