All Projects → danihodovic → mjml-server

danihodovic / mjml-server

Licence: MIT license
MJML wrapped in Express for use over HTTP

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to mjml-server

Pine
A modular and lightweight, responsive email framework.
Stars: ✭ 98 (+216.13%)
Mutual labels:  email-marketing, email-template, responsive-email
easy-email
React.js Drag-and-Drop Email Editor based on MJML. Transform structured JSON data into major email clients compatible HTML. Written in Typescript and supported both in browser and Node.js.
Stars: ✭ 449 (+1348.39%)
Mutual labels:  email-marketing, email-template, mjml
Email Templates
Free HTML email templates for Mailchimp and other emails services
Stars: ✭ 457 (+1374.19%)
Mutual labels:  email-marketing, emails, email-template
language-mjml
Atom Editor package providing syntax support for MJML
Stars: ✭ 48 (+54.84%)
Mutual labels:  emails, mjml, responsive-email
mjml-syntax
Sublime package for the MJML
Stars: ✭ 44 (+41.94%)
Mutual labels:  emails, mjml, responsive-email
Html Email Templates
Free HTML Email Templates created using the Postcards - https://designmodo.com/postcards/
Stars: ✭ 178 (+474.19%)
Mutual labels:  email-marketing, emails, email-template
acorn
A responsive email framework based on a golden ratio typography grid.
Stars: ✭ 90 (+190.32%)
Mutual labels:  email-marketing, email-template, responsive-email
Maizzle
Official Maizzle starter project.
Stars: ✭ 921 (+2870.97%)
Mutual labels:  email-marketing, email-template, responsive-email
Awesome Emails
✉️ An awesome list of resources to build better emails.
Stars: ✭ 1,379 (+4348.39%)
Mutual labels:  email-marketing, emails, responsive-email
Responsive Html Email Template
A free simple responsive HTML email template
Stars: ✭ 10,831 (+34838.71%)
Mutual labels:  email-marketing, email-template
Caniemail
Can I email… Support tables for HTML and CSS in emails.
Stars: ✭ 363 (+1070.97%)
Mutual labels:  email-marketing, emails
cli
CLI tool for the Maizzle Email Framework.
Stars: ✭ 31 (+0%)
Mutual labels:  email-template, responsive-email
Framework
HTML email development framework.
Stars: ✭ 359 (+1058.06%)
Mutual labels:  email-marketing, responsive-email
bulk-email-sender
Send Templatized Dynamic Emails Automatically
Stars: ✭ 30 (-3.23%)
Mutual labels:  email-marketing, email-template
email-template-generator
Simple and useful web app to generate e-mails for any reason you want!
Stars: ✭ 51 (+64.52%)
Mutual labels:  email-marketing, email-template
React Email Editor
Drag-n-Drop Email Editor Component for React.js
Stars: ✭ 3,131 (+10000%)
Mutual labels:  email-marketing, email-template
Mosaico
Mosaico - Responsive Email Template Editor
Stars: ✭ 1,392 (+4390.32%)
Mutual labels:  email-marketing, email-template
Email Dashboard
📪 An interactive emailing management service with scheduling, templating, tracking and A/B testing.
Stars: ✭ 194 (+525.81%)
Mutual labels:  email-marketing, emails
Hermes
Golang package that generates clean, responsive HTML e-mails for sending transactional mail
Stars: ✭ 2,379 (+7574.19%)
Mutual labels:  emails, email-template
Codedmailsfree
Ready to use 50+ responsive HTML email templates - Codedmails Free
Stars: ✭ 227 (+632.26%)
Mutual labels:  emails, responsive-email

mjml-http-server

A self-hosted alternative to the mjml API. Built with express.

The API is compatible with https://mjml.io/api in that it only exposes one endpoint - /v1/render, but doesn't require authentication. You should probably run this within your own private network.

Why?

You're writing an app in another language than Javascript and need to interop with MJML. Instead of embedding NodeJS in your Python image you can call MJML compilation over HTTP.

You can alternatively use the MJML API, but it's currently invite only and has privacy implications (do you want your emails to be sent to yet another third party?).

For an elaborate discussion see: mjmlio/mjml#340

Usage

docker run -p 15500:15500 danihodovic/mjml-server
$ http POST localhost:15500/v1/render
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 2141
Content-Type: application/json; charset=utf-8
Date: Mon, 15 Jul 2019 12:26:48 GMT
ETag: W/"85d-hn49R397DBvYcOi5/4cb+gcoi/I"
X-Powered-By: Express

{
    "html": "\n    <!doctype html>\n    ..."
}

Configuration

A list of available configuration options can be found in ./lib/parse_args.js.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].