HTML JavaScript CSS
Clone or download
Permalink
Failed to load latest commit information.
.circleci Some 3rd party CI conf (appveyor + circleci) Mar 11, 2018
.tmp Ensure empty folders are not ignored by git Sep 9, 2015
backend Make "dist" folder more comprehensive Mar 6, 2018
res Update mosaico-sv.json (POEditor.com) Mar 21, 2018
spec Update versafix-1 parsing test + basic variant test Mar 11, 2018
src Add a comment about a broken option Jul 25, 2018
tasks New license_check grunt goal + new dist goal. Mar 6, 2018
templates Update versafix to 1.1.17 Jul 25, 2018
uploads Ensure empty folders are not ignored by git Sep 9, 2015
.gitignore Add license banner + Grunt compress task to make the binary release a… Feb 28, 2018
.jsbeautifyrc Initial import v0.10 Sep 9, 2015
.jshintrc Initial import v0.10 Sep 9, 2015
.travis.yml Testing with travis and codecov Mar 11, 2018
CONTRIBUTING.md Update CONTRIBUTING.md Sep 6, 2017
Dockerfile Fixes for bower removal Feb 23, 2018
Dockerfile.CentOS Fixes for bower removal Feb 23, 2018
Gruntfile.js Prepare for 0.17.4 release / downgrade csswring to 6.0.3 to keep node… Jul 25, 2018
LICENSE Add NOTICE.txt with informations about licensing of bundled and exter… Jul 7, 2016
NOTICE.txt Move from Transifex to POEditor Sep 8, 2017
README.md Docs refactoring Mar 12, 2018
appveyor.yml Some 3rd party CI conf (appveyor + circleci) Mar 11, 2018
favicon.ico Initial import v0.10 Sep 9, 2015
package-lock.json Fix lock file for downgraded csswring Jul 25, 2018
package.json Prepare for 0.17.4 release / downgrade csswring to 6.0.3 to keep node… Jul 25, 2018
package.json.NOTES Prepare for 0.17.4 release / downgrade csswring to 6.0.3 to keep node… Jul 25, 2018
server-config.js Initial import v0.10 Sep 9, 2015

README.md

Mosaico - Responsive Email Template Editor

Mosaico is a JavaScript library (or maybe a single page application) supporting the editing of email templates. The great thing is that Mosaico itself does not define what you can edit or what styles you can change: this is defined by the template. This makes Mosaico very flexible.

Mosaico Screenshot

At this time we provide a single "production ready" template to illustrate some best practice examples: more templates will come soon! Have a look at Template Language and get in touch with us if you want to make your email html template "Mosaico ready".

Live demo

On https://mosaico.io you can see a live demo of Mosaico: the live deploy has a custom backend (you don't see it) and some customization (custom Moxiemanager integration for image editing, customized onboarding slideshow, contextual menu, and some other small bits), but 95% of what you see is provided by this opensource library. You will also see a second working template there (versafluid) that is not part of the opensource distribution.

News

Subscribe to our newsletter to get updates: https://mosaico.voxmail.it/user/register

More Docs from the Wiki

Mosaico Basics

Developer Notes

Build/Run with the development backend Build Status

You need NodeJS v6.0 or higher + ImageMagick

Download/install the dependencies (run again if you get an error, as it probably is a race issues in npm)

  npm install

if you don't have it, install grunt-cli globally

  npm install -g grunt-cli

compile and run a local webserver (http://127.0.0.1:9006) with incremental build and livereload

  grunt

IMPORTANT in order to use image uploading/processing feature in Node you need imageMagick installed in your environment. e.g. running "convert" and "identify" on the command line should output imageMagick command line help (if you are on Windows and install imageMagick 7.x then make sure to install "legacy utilities").

NOTE we have reports that default Ubuntu node package have issues with building Mosaico via Grunt. If you see a Fatal error: watch ENOSPC then have a look at https://github.com/voidlabs/mosaico/issues/82

Docker

We bundle a Dockerfile based on Alpine linux and another based on Centos 7 to test mosaico with no need to install dependencies.

docker build -t mosaico/mosaico .
docker run -p 9006:9006 mosaico/mosaico

then open a browser to point to the port 9006 of your docker machine IP.

Deploying Mosaico via Apache PHP or Django or something else?

First you have to build it using grunt, then you MUST read Serving Mosaico.

OpenSource projects including/using Mosaico

MailTrain is a full featured newsletter web application written in Node and support email editing via Mosaico since their 1.23.0 release.

GoodEnough's Mosaico born as a Mosaico fork, now have become a full web application product built around Mosaico editing targeting agencies.

Are you having issues with Mosaico?

See the CONTRIBUTING file

Contact Us

Please contact us if you have ideas, suggestions or, even better, you want to collaborate on this project ( feedback at mosaico.io ) or you need COMMERCIAL support ( sales at mosaico.io ) . Please DON'T write to this email to get free support: use Git issues for that, start the issue subject with "[help] " prefix, and write something to let us know you already read the CONTRIBUTING file.