{"id":19839518,"url":"https://github.com/xeaone/muleify","last_synced_at":"2025-06-23T15:32:51.911Z","repository":{"id":42363379,"uuid":"63292816","full_name":"xeaone/muleify","owner":"xeaone","description":"Muleify - Static Site Generator | Website Bundler | Asset Compiler | Templating | Preproccessor","archived":false,"fork":false,"pushed_at":"2023-01-07T03:55:54.000Z","size":4459,"stargazers_count":16,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T03:03:24.883Z","etag":null,"topics":["asset","bundler","compiler","css","es5","es6","generator","html","less","muleify","preproccessor","sass","scss","site","static","website"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xeaone.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}},"created_at":"2016-07-14T01:49:28.000Z","updated_at":"2022-07-12T09:12:07.000Z","dependencies_parsed_at":"2023-02-06T11:16:36.911Z","dependency_job_id":null,"html_url":"https://github.com/xeaone/muleify","commit_stats":null,"previous_names":["vokeio/muleify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xeaone/muleify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeaone%2Fmuleify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeaone%2Fmuleify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeaone%2Fmuleify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeaone%2Fmuleify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xeaone","download_url":"https://codeload.github.com/xeaone/muleify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xeaone%2Fmuleify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261504224,"owners_count":23168777,"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":["asset","bundler","compiler","css","es5","es6","generator","html","less","muleify","preproccessor","sass","scss","site","static","website"],"created_at":"2024-11-12T12:22:59.495Z","updated_at":"2025-06-23T15:32:51.875Z","avatar_url":"https://github.com/xeaone.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Total alerts](https://img.shields.io/lgtm/alerts/g/vokeio/muleify.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/vokeio/muleify/alerts/)\n[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/vokeio/muleify.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/vokeio/muleify/context:javascript)\n\n# Muleify\n**Static Site Generator | Website Bundler | Asset Compiler | Templating | Preprocessor**\n\n### Overview\nMuleify is the one stop shop for your web front end needs, it is a command line tool that handles all your website development needs. Muleify has a unique no configuration required interface. It automatically handles many tasks such as compiling Sass, Scss, Less, Css, ES6 to ES5, bundling, and minifying. Muleify uses extensions and sub-extensions to automatically handle these tasks. With almost almost zero configuration or changes to existing projects you can get started. If there is a feature you want let me know or make a PR.\n\n### Features\nAnother static site and asset generator you might say.\n- zero configuration\n- quick and easy\n- no learning curve\n- based on extensions and sub-extensions\n- single page applications support (spa's)\n- imports, includes, partials, templates, and layouts\n- preprocessor types JavaScript, CSS, SCSS, SASS, LESS, HTML, MD\n\n### Install\n`npm i -g muleify`\n\n### Changes\n- 3.x.x uses async/awiat so node version \u003e=7.6.0\n- 2.7.0 removes default sass/scss support. After install if you want to use sass run `muleify install-node-sass`.\n\n## CLI\n- `muleify -p [options] \u003cinput\u003e \u003coutput\u003e` Packs a folder or file\n\t- `input` path to folder or file\n\t- `output` path to folder or file\n\t- `-b, --bundle` Bundles the output\n\t- `-m, --minify` Minifies the output\n\t- `-t, --transpile` Transpile the output\n\t- `-w, --watch` Watches a file or folder\n\t- `-p, --path \u003cpath\u003e` Defines the path to watch\n\t- `-s, --serve` Serves a folder or file\n\n- `muleify -s [options] \u003cinput\u003e [output]` Serves a folder or file\n\t- `input` path to folder\n\t- `output` path to folder (optional)\n\t- `-s, --spa` Enables single page application mode\n\t- `-c, --cors` Enables cross origin resource sharing mode\n\n- `muleify -m [options] \u003cinput\u003e \u003coutput\u003e` Creates XML sitemap\n\t- `input` path to a folder to generate the sitemap\n\t- `output` path to a folder to output sitemap.xml\n\t- `-d, --domain \u003cdomain\u003e` Inserts domain into sitemap\n\n- `muleify -e [options] \u003cinput\u003e \u003coutput\u003e` Creates folders and files from a json file\n\t- `input` path to a JSON file\n\t- `output` path to a folder\n\n- `muleify -i` Installs sass/scss compiler (might require sudo)\n\n## Extensions\nMuleify uses extensions and sub-extensions to process specail file types. Sub-extensions are period separated names. They can be combined in any order or combination. The generated file will not contain the sub-extensions. For example a file in the src folder could be named `file.b.e.js` and the dist folder it would be named `file.js`.\n\n### Options\n\n#### ALL\n- `i` - ignore\n\n#### HTML\n- `l` - **layout** wraps all view files\n- `v` - **view** inserted into layout\n- `p` - **partial** allows file to be imported\n- `m` - **minify** minify code (under development)\n\n#### MD\n\n#### JS\n- `b` - **bundle** modules ESM to UMD\n- `t` - **transpile**\n\t- async/await to promises\n\t- transpile to [browser list defaults](http://browserl.ist/?q=defaults)\n- `m` - **minify** minify code\n\t- `@preserve` will persist comments.\n\t- `@banner` will place comment at document start.\n\n#### CSS\n- `b` - **bundle** all imports\n- `t` - **transpile**\n\t- transpile to [browser list defaults](http://browserl.ist/?q=defaults)\n- `m` - **minify** minify code\n\n#### SCSS\n- `m` - **minify** minify code\n\n#### LESS\n- `m` - **minify** minify code\n\n## Includes/Imports/Partials/Layouts\nThe path includes/imports/partials/layouts are relative from the input folder.\n\n### Options\n\n#### HTML\nNote `partial` relative path from file\n- layout a placeholder: `\u003c!-- { \"layout\": \"*\" } --\u003e`\n- import a partial: `\u003c!-- { \"partial\": \"./header.p.html\" } --\u003e`\n- define a variable: `\u003c!-- { \"title\": \"I Am Title\" } --\u003e`\n- import a variable: `\u003c!-- { \"variable\": \"title\" } --\u003e`\n\n#### MD\nConverts to HTML.\n\n#### JS\nSupports ESM `import` relative path from file and also the node resolution algorithm. For node resolution it will search the `node_modules` package.js files for `\"module\": \"file\"` or `main: \"file\"`.\n\n#### CSS\nNote `@import` relative path from file\n\n#### SCSS\nSass automatically bundles imports.\nNote `@import` relative path from file\n\n#### LESS\nLess automatically bundles imports.\nNote `@import` relative path from file\n\n## Authors\n[Alexander Elias](https://github.com/vokeio)\n\n## License\n[Why You Should Choose MPL-2.0](http://veldstra.org/2016/12/09/you-should-choose-mpl2-for-your-opensource-project.html)\nThis project is licensed under the MPL-2.0 License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxeaone%2Fmuleify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxeaone%2Fmuleify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxeaone%2Fmuleify/lists"}