{"id":20217715,"url":"https://github.com/pforret/m1fusion","last_synced_at":"2025-04-10T15:44:06.792Z","repository":{"id":144772458,"uuid":"532289724","full_name":"pforret/m1fusion","owner":"pforret","description":"Stable Diffusion install/uninstall/prompt for MacOS M1","archived":false,"fork":false,"pushed_at":"2022-09-09T20:56:45.000Z","size":426,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T13:36:09.834Z","etag":null,"topics":["bashew","m1-mac","macos","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pforret.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-09-03T14:51:58.000Z","updated_at":"2024-05-02T16:21:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"83a052f2-3fc8-4adf-bfac-af7802ea09b7","html_url":"https://github.com/pforret/m1fusion","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":"pforret/bashew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fm1fusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fm1fusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fm1fusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fm1fusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforret","download_url":"https://codeload.github.com/pforret/m1fusion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248243500,"owners_count":21071054,"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":["bashew","m1-mac","macos","stable-diffusion"],"created_at":"2024-11-14T06:35:20.771Z","updated_at":"2025-04-10T15:44:06.785Z","avatar_url":"https://github.com/pforret.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![bash_unit CI](https://github.com/pforret/m1fusion/workflows/bash_unit%20CI/badge.svg)\n![Shellcheck CI](https://github.com/pforret/m1fusion/workflows/Shellcheck%20CI/badge.svg)\n![GH Language](https://img.shields.io/github/languages/top/pforret/m1fusion)\n![GH stars](https://img.shields.io/github/stars/pforret/m1fusion)\n![GH tag](https://img.shields.io/github/v/tag/pforret/m1fusion)\n![GH License](https://img.shields.io/github/license/pforret/m1fusion)\n[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash\u0026style=flat)](https://basher.gitparade.com/package/)\n\n# m1fusion\n\nStable Diffusion for MacOS M1\n\n## 🔥 Usage\n\n```\nProgram : m1fusion  by peter@forret.com\nVersion : v1.1.0 (Sep  9 22:12:14 2022)\nPurpose : Stable Diffusion for MacOS M1\nUsage   : m1fusion [-h] [-q] [-v] [-f] [-l \u003clog_dir\u003e] [-t \u003ctmp_dir\u003e] [-S \u003cstyle\u003e] [-W \u003cwidth\u003e] [-H \u003cheight\u003e] [-N \u003csteps\u003e] \u003caction\u003e \u003cprompt?\u003e\nFlags, options and parameters:\n    -h|--help        : [flag] show usage [default: off]\n    -q|--quiet       : [flag] no output [default: off]\n    -v|--verbose     : [flag] also show debug messages [default: off]\n    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]\n    -l|--log_dir \u003c?\u003e : [option] folder for log files   [default: /Users/pforret/log/m1fusion]\n    -t|--tmp_dir \u003c?\u003e : [option] folder for temp files  [default: /tmp/m1fusion]\n    -S|--style \u003c?\u003e   : [option] image style: cinema/photo/manga/comic/painting\n    -W|--width \u003c?\u003e   : [option] output image width (max 512)  [default: 512]\n    -H|--height \u003c?\u003e  : [option] output image height (max 512)  [default: 512]\n    -N|--steps \u003c?\u003e   : [option] number of time steps  [default: 50]\n    \u003caction\u003e         : [choice] action to perform  [options: install,uninstall,prompt,nsfw,check,env,update]\n    \u003cprompt\u003e         : [parameter] prompt to use for image generation (optional)\n\n### TIPS \u0026 EXAMPLES\n* use m1fusion install to install Stable Diffusion\n  m1fusion install\n* use m1fusion uninstall to delete all Stable Diffusion files (7GB)\n  m1fusion uninstall\n* use m1fusion nsfw to disable Stable Diffusion NSFW filter\n  m1fusion nsfw\n* use m1fusion prompt to create an image from a prompt\n  m1fusion prompt \"a small kitten\"\n* use m1fusion check to check if this script is ready to execute and what values the options/flags are\n  m1fusion check\n* use m1fusion env to generate an example .env file\n  m1fusion env \u003e .env\n* use m1fusion update to update to the latest version\n  m1fusion update\n* \u003e\u003e\u003e bash script created with pforret/bashew\n* \u003e\u003e\u003e for bash development, also check IO:print pforret/setver and pforret/progressbar\n```\n\n## ⚡️ Examples\n\n```bash\n\u003e m1fusion install\n# do the installation: MacOS, brew, python, git ...\n\n\u003e m1fusion uninstall\n# remove all Stable Diffusion files\n\n\u003e m1fusion nsfw\n# disable the Rickroll NSFW filter\n\n\u003e m1fusion prompt \"new born kitten\"\n\u003e m1fusion --style cinema prompt \"new born kitten\"\n# generate images\n# get inspiration on e.g. https://prompthero.com/\n```\n\n## 🚀 Installation\n\nwith [basher](https://github.com/basherpm/basher)\n\n\t$ basher install pforret/m1fusion\n\nor with `git`\n\n\t$ git clone https://github.com/pforret/m1fusion.git\n\t$ cd m1fusion\n\n## 📝 Acknowledgements\n\n* StableDiffusion: [huggingface.co/spaces/stabilityai/stable-diffusion](https://huggingface.co/spaces/stabilityai/stable-diffusion) by [stability.ai](https://stability.ai/)\n* Apple M1 instructions compiled by Pieter Levels [twitter.com/levelsio/status/1565731907664478209](https://twitter.com/levelsio/status/1565731907664478209)\n* script created with [bashew](https://github.com/pforret/bashew)\n\n\u0026copy; 2022 Peter Forret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fm1fusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforret%2Fm1fusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fm1fusion/lists"}