Skip to content

Announce blogs and send emails. Originally built for ConnectDome.

License

Notifications You must be signed in to change notification settings

ConnectDome/rust-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConnectDome - Rust Notify

A simple service to announce new blogs on your Slack/Discord + send emails to your list via your TES.

  • Feature 1: Posts blogs updates to Discord channel.
  • Feature 2: Sends blog updates to subscribers on our mailing list via Sendgrid.

Feature 1: Supported Platforms

  • Discord

    • Notion
    • Medium
    • Revue
  • Slack

Feature 2: Supported Providers

  • SendGrid
  • MailGun
  • SES

Who is this for?

This is a free and open-source solution for those self-hosting a blog like us.

Libraries used

  • Tokio
  • Reqwest
  • Serde
  • Lettre
  • Tera
  • Tracing

Example config

interval = 10 # Interval (in seconds) to check for new posts

[discord]
webhook = "..." # Discord webhook URL
username = "..." # Optional. Username for the bot to send messages with
avatar = "..." # Optional. Avatar URL for the bot to send messages with

[notion]
secret = "..." # Notion integration secret
database = "..." # Notion database ID. The database has to be shared with the integration.
api_version = "..." # Optional: Notion API version. Defaults to "2022-02-22"

[mail_simple]
to = "..." # Address of the mailing list
from = "..." # From address
domain = "..." # Domain of the SMTP server
user = "..." # Username for the SMTP server
pass = "..." # Password for the SMTP server
email_template = "..." # Optional. Path to an HTML template for use in the email

About

Announce blogs and send emails. Originally built for ConnectDome.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages