项目作者: reconnexion

项目描述 :
ActivityPub Mailer
高级语言: HTML
项目地址: git://github.com/reconnexion/activitypub-mailer.git
创建时间: 2020-01-15T14:07:49Z
项目社区:https://github.com/reconnexion/activitypub-mailer

开源协议:

下载


WARNING: A new version of ActivityPub Mailer has been integrated into the colibris.social code base. This repository is now deprecated.

SemApps

ActivityPub Mailer

Getting started

Requirements:

  • Node (v13+ recommended)
  • Docker
  • Docker-compose

1. Launch Jena Fuseki

If you don’t have access to a Jena Fuseki instance, you can create a local one with Docker using the following commands:

  1. docker-compose up

Go to http://localhost:3030 and create a new dataset called mailer.

2. Edit the configurations

Edit the .env file (or create a .env.local file which will overwrite the default configurations) to configure the SMTP account, as well as the actor the Match Bot will be following.

  1. # Email
  2. SEMAPPS_FROM_EMAIL=account@test.com
  3. SEMAPPS_FROM_NAME=Test account
  4. SEMAPPS_SMTP_HOST=
  5. SEMAPPS_SMTP_USER=
  6. SEMAPPS_SMTP_PASS=
  7. # Match Bot
  8. SEMAPPS_FOLLOWING=

3. Launch in dev mode

  1. npm install
  2. npm run dev

Testing

By default this will use the ethereal.email service to test the emails. The URL of the generated emails will be displayed in the console at the end of the test.