{"id":22136470,"url":"https://github.com/olillin/mod-switcher","last_synced_at":"2025-10-09T23:34:57.837Z","repository":{"id":174951034,"uuid":"586518206","full_name":"olillin/mod-switcher","owner":"olillin","description":"Automatically change mods based on the profile you select in the vanilla launcher","archived":false,"fork":false,"pushed_at":"2024-10-29T11:52:31.000Z","size":77,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T06:47:05.329Z","etag":null,"topics":["launcher-utility","minecraft"],"latest_commit_sha":null,"homepage":"","language":"Python","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/olillin.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":"2023-01-08T12:39:44.000Z","updated_at":"2024-10-27T20:28:37.000Z","dependencies_parsed_at":"2024-04-13T21:30:18.959Z","dependency_job_id":"bc75b795-acb0-42ef-bf22-f81cb780dd3c","html_url":"https://github.com/olillin/mod-switcher","commit_stats":null,"previous_names":["olithehoodieboi/modswitcher","olillin/modswitcher","olillin/mod-switcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/olillin/mod-switcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fmod-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fmod-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fmod-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fmod-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olillin","download_url":"https://codeload.github.com/olillin/mod-switcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fmod-switcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002310,"owners_count":26083340,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["launcher-utility","minecraft"],"created_at":"2024-12-01T19:22:39.681Z","updated_at":"2025-10-09T23:34:57.822Z","avatar_url":"https://github.com/olillin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minecraft mod switcher\n\nMod switcher automatically changes the mods in the mods folder when you launch the game.\n\n## Profiles\n\nA \"mod profile\" is a folder in `.minecraft/mods/profiles` that contains a set of mods that are to be used with a certain profile from the Minecraft launcher. When a mod profile is launched all mods currently in the mods folder will be moved back to their corresponding mod profile folder and all mods in the launched mod profile folder will be moved into the mods folder.\n\n## Config\n\nMod switcher can optionally be configured by creating/editing the file `modswitcher.json` in the profiles folder.\n\n### Behaviour without config\n\nWhen Minecraft is started the launcher profile name will be matched against a folder in the profiles directory. If there is no folder with the same name as the launcher profile the `default` profile will be launched instead.\n\n### Behaviour with config\n\nWhen Minecraft is started the launcher profile name will be attempted to be matched against the [regex](https://en.wikipedia.org/wiki/Regular_expression) **keys** of the profiles object starting from the top. If a match is found of the **value** of the pair is used as the profile to be launched. If no match is found the `default` profile is launched.\n\n### Example configuration\n\nWhen the launcher profile `Fabric 1.20.4` is started from the Minecraft launcher all the mods will be moved out of the `mods` folder and back to their mod profile folder and mods in the `profiles/Fabric 1.20` folder will be moved to the `mods` folder. Note that the periods (`.`) are escaped with a backslash (`\\`) because `Fabric 1\\.20.\\.4` is a regex and in regex `.` matches any character, not just periods (`.`).\n\n```json\n{\n  profiles: {\n    \"Fabric 1\\.20\\.4\": \"Fabric 1.20\",\n    \"Vanilla+\": \"VanillaPlus\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folillin%2Fmod-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folillin%2Fmod-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folillin%2Fmod-switcher/lists"}