{"id":21000210,"url":"https://github.com/voidlabs/versafix-template","last_synced_at":"2025-05-14T23:31:30.202Z","repository":{"id":41616897,"uuid":"123270499","full_name":"voidlabs/versafix-template","owner":"voidlabs","description":"Master template for Mosaico + scripts to help generate \u0026 maintain it.","archived":false,"fork":false,"pushed_at":"2024-08-01T14:56:55.000Z","size":5759,"stargazers_count":9,"open_issues_count":8,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-03T17:02:21.077Z","etag":null,"topics":["javascript","mosaico","nodejs","template"],"latest_commit_sha":null,"homepage":null,"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/voidlabs.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":"2018-02-28T10:40:13.000Z","updated_at":"2024-08-01T14:56:59.000Z","dependencies_parsed_at":"2023-12-11T10:27:17.318Z","dependency_job_id":"c0346320-c909-4b6d-b41c-9726d8108cb1","html_url":"https://github.com/voidlabs/versafix-template","commit_stats":{"total_commits":95,"total_committers":1,"mean_commits":95.0,"dds":0.0,"last_synced_commit":"0c0ae7168a86c310baeb5cf173db89808619d004"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidlabs%2Fversafix-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidlabs%2Fversafix-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidlabs%2Fversafix-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidlabs%2Fversafix-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voidlabs","download_url":"https://codeload.github.com/voidlabs/versafix-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254168949,"owners_count":22026207,"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":["javascript","mosaico","nodejs","template"],"created_at":"2024-11-19T08:09:47.897Z","updated_at":"2025-05-14T23:31:25.147Z","avatar_url":"https://github.com/voidlabs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mosaico - Master Template and HTMML template generator for Mosaico\n\nMosaico is a JavaScript library (or maybe a single page application) supporting the editing of email templates.\nThis repository contains the [HTMML](https://github.com/voidlabs/htmml) \"sources\" for the versafix-1 template. They are translated to HTML and directly used by mosaico.\n\n![Here is a thumbnail of the template:](https://github.com/voidlabs/versafix-template/blob/master/dist/template/edres/_full.png?raw=true)\n\n### Build/Run\n\nYou need NodeJS v6.0 or higher + ImageMagick\n\n```javascript\n  npm install\n  # run this to generate the htmml for the non english language\n  npm run translate\n  # run this to generate final templates starting from htmml files\n  npm run build\n```\n\nThis will run, for each template, 3 things\n\n- Generate the template HTML from the source HTMML code\n- Copy the img files from def to dist.\n- Generate the template model, or check the template model against previously generated models, to track compatibility issues\n- Generate the template and block thumbnails (```edres``` folder) for the templates.\n\n```javascript\n  # run this to generate the htmml for the non english language\n  npm run translate\n```\n\nThis will generate the italian HTMML template starting from the english one and the translation definition JSON file.\nGiven this overwrite a file in the template-def folder be care to not loose your local changes.\nIf you use this translation then you probably want to run the translate task before the build task.\n\n### Src vs Generated\n\n```dist``` contains the final templates to be used in mosaico\n```model``` contains generated model files, used to track compatility issues between builds.\n\n### HTMML\n\n[HTMML](https://github.com/voidlabs/htmml) is a very simple template language we use to make it easier to write mosaico master templates.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidlabs%2Fversafix-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoidlabs%2Fversafix-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidlabs%2Fversafix-template/lists"}