{"id":44725264,"url":"https://github.com/doccy-doc/epic-switcher","last_synced_at":"2026-04-09T04:05:52.962Z","repository":{"id":338008124,"uuid":"1155114164","full_name":"doccy-doc/epic-switcher","owner":"doccy-doc","description":"A lightweight Bash utility for managing multiple Epic Games accounts on Linux/Wine. Swap accounts instantly without losing your login session or settings.","archived":false,"fork":false,"pushed_at":"2026-03-30T07:00:26.000Z","size":91,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-03T00:41:22.865Z","etag":null,"topics":["account-management","bash","bash-script","cli","epicgames","heroic-games-launcher","linux","linux-gaming","lutris","multi-account","proton","shell","shell-script","steam-deck","utility","wine"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doccy-doc.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-11T06:15:21.000Z","updated_at":"2026-03-30T06:53:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/doccy-doc/epic-switcher","commit_stats":null,"previous_names":["doccy-doc/epic-switcher"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/doccy-doc/epic-switcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doccy-doc%2Fepic-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doccy-doc%2Fepic-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doccy-doc%2Fepic-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doccy-doc%2Fepic-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doccy-doc","download_url":"https://codeload.github.com/doccy-doc/epic-switcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doccy-doc%2Fepic-switcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31584848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["account-management","bash","bash-script","cli","epicgames","heroic-games-launcher","linux","linux-gaming","lutris","multi-account","proton","shell","shell-script","steam-deck","utility","wine"],"created_at":"2026-02-15T17:25:57.303Z","updated_at":"2026-04-09T04:05:52.958Z","avatar_url":"https://github.com/doccy-doc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EGSwitcher\n\nA lightweight, defensive Bash utility for managing multiple Epic Games Launcher accounts on Linux/Wine. Swap accounts instantly without losing your login session or game settings.\n\n## 🚀 Features\n\n* **Session Persistence:** Save and load full launcher states (authentication tokens, launcher settings).\n* **Defensive Design:** Automated checks for running processes to prevent data corruption.\n* **WINE Native Integration:** Uses `taskkill` and `wineserver -k` for session-safe termination.\n* **Smart Directory Detection:** Uses WINE registry to find the WINE user and AppData paths, with heuristic directory scanning as a fallback.\n* **User Friendly CLI Config:** Users can choose to edit a config file or use the CLI to modify the config.\n\n## 🛠️ Installation\n\n1. **Make Executable:**\n   chmod +x ./epic-switcher\n\n2. **Add to Path (Optional):**\n   mv ./epic-switcher ~/.local/bin/\n\n3. **Configure Prefix:**\n   epic-switcher config pfx\n   (Provide the full path to your Epic Games Launcher WINE/Proton prefix).\n\n## 📖 Usage\n\n### Create a New Account\n    epic-switcher new \u003cname\u003e\n1. `epic-switcher new my-new-account`\n2. Relaunch the Epic Launcher and login\n3. Type `y` into the prompt\n\n### Save an Active Account\n    epic-switcher save [name]\n- Run: `epic-switcher save my-account`\n- Or run: `epic-switcher save` and follow the prompt if required\n\n### Switch Accounts\n    epic-switcher load \u003cname\u003e\n1. Run: `epic-switcher load my-alt-account`\n2. Launch the game\n\n### List Saved Accounts\n    epic-switcher list\n\n### Rename an Account\n    epic-switcher rename \u003cold\u003e \u003cnew\u003e\n- Run: `epic-switcher rename my-old-name my-new-name`\n\n### Delete an Account\n    epic-switcher delete \u003cname\u003e\n- Run: `epic-switcher delete my-crap-account`\n\n### Change the Active Prefix\n    epic-switcher config pfx [/path/to/prefix]\nFor persistent change:\n- Run: `epic-switcher config pfx` and follow the prompt\n- Or run: `epic-switcher config pfx \"/home/username/.wine/\"`\n\nTo change for a single run:\n- Run: `EGSPFX=\"/path/to/prefix\" epic-switcher [command]`\n    \n### See a List of Commands\n    epic-switcher -h|--help\n- Run: `epic-switcher`\n- Or run: `epic-switcher -h`\n- Or run: `epic-switcher --help`\n\n### Show Debug Messages\nTo enable for a single run:\n- Run: `EGSDEBUG=1 epic-switcher [command]`\n\nTo enable persistent debugging:\n- Run: `epic-switcher config debug 1`\n- Or edit `~/.config/egswitcher/egswitcher.conf`: `EGS_DEBUG=1`\n\n## 📁 File Schema\nEGSwitcher follows the **XDG Base Directory Specification**. All files and directories are created automatically as required. If you wish to backup or inspect your data, they are located here:\n\n* **Account Data:** `$XDG_DATA_HOME/egswitcher/`\n    *(Defaults to `~/.local/share/egswitcher/`)*\n* **Config Files:** `$XDG_CONFIG_HOME/egswitcher/`\n    *(Defaults to `~/.config/egswitcher/`)*\n* **Cache/Temp Files:** `$XDG_CACHE_HOME/egswitcher/`\n    *(Defaults to `~/.cache/egswitcher/`)*\n\n\u003e [!TIP]\n\u003e If these environment variables are not set on your system, it falls back to the standard hidden directories in your `$HOME`.\n\n## 🛡️ Dependencies\n- **WINE** or **Proton**\n- **rsync**\n- **coreutils**\n\n---\nCopyright © 2025 doccy-doc\n**License:** GPL-3.0-only [See License](./LICENSE)\n\nSPDX-License-Identifier: GPL-3.0-only\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoccy-doc%2Fepic-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoccy-doc%2Fepic-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoccy-doc%2Fepic-switcher/lists"}