{"id":18678652,"url":"https://github.com/danihodovic/mjml-server","last_synced_at":"2025-07-04T07:03:14.562Z","repository":{"id":36775478,"uuid":"196939844","full_name":"danihodovic/mjml-server","owner":"danihodovic","description":"MJML wrapped in Express for use over HTTP","archived":false,"fork":false,"pushed_at":"2024-02-23T22:13:02.000Z","size":469,"stargazers_count":44,"open_issues_count":29,"forks_count":19,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T22:36:32.610Z","etag":null,"topics":["email","email-marketing","email-template","emails","expressjs","mjml","nodejs","responsive-email"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danihodovic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-15T06:42:41.000Z","updated_at":"2025-03-13T22:37:45.000Z","dependencies_parsed_at":"2024-11-07T09:42:50.107Z","dependency_job_id":null,"html_url":"https://github.com/danihodovic/mjml-server","commit_stats":null,"previous_names":["danihodovic/mjml-http-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danihodovic%2Fmjml-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danihodovic%2Fmjml-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danihodovic%2Fmjml-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danihodovic%2Fmjml-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danihodovic","download_url":"https://codeload.github.com/danihodovic/mjml-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248509814,"owners_count":21116124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["email","email-marketing","email-template","emails","expressjs","mjml","nodejs","responsive-email"],"created_at":"2024-11-07T09:40:57.376Z","updated_at":"2025-04-12T02:53:08.529Z","avatar_url":"https://github.com/danihodovic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mjml-http-server\n\nA self-hosted alternative to the mjml API. Built with express.\n\nThe API is compatible with https://mjml.io/api in that it only exposes one\nendpoint - `/v1/render`, but doesn't require authentication. You should probably\nrun this within your own private network.\n\n#### Why?\n\nYou're writing an app in another language than Javascript and need to interop\nwith MJML. Instead of embedding NodeJS in your Python image you can call MJML\ncompilation over HTTP.\n\nYou can alternatively use the [MJML API](https://mjml.io/api), but it's\ncurrently invite only and has privacy implications (do you want your emails to\nbe sent to yet another third party?).\n\nFor an elaborate discussion see: https://github.com/mjmlio/mjml/issues/340\n\n#### Usage\n\n```\ndocker run -p 15500:15500 danihodovic/mjml-server\n```\n\n```\n$ http POST localhost:15500/v1/render\nHTTP/1.1 200 OK\nConnection: keep-alive\nContent-Length: 2141\nContent-Type: application/json; charset=utf-8\nDate: Mon, 15 Jul 2019 12:26:48 GMT\nETag: W/\"85d-hn49R397DBvYcOi5/4cb+gcoi/I\"\nX-Powered-By: Express\n\n{\n    \"html\": \"\\n    \u003c!doctype html\u003e\\n    ...\"\n}\n```\n\n#### Configuration\n\nA list of available configuration options can be found in\n[./lib/parse_args.js](./lib/parse_args.js).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanihodovic%2Fmjml-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanihodovic%2Fmjml-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanihodovic%2Fmjml-server/lists"}