{"id":13991834,"url":"https://github.com/noahc3/PegaScape","last_synced_at":"2025-07-22T14:32:27.523Z","repository":{"id":39660356,"uuid":"190692461","full_name":"noahc3/PegaScape","owner":"noahc3","description":"A user-friendly public frontend for common PegaSwitch scripts including Nereba, Caffeine, HBL and more.","archived":true,"fork":false,"pushed_at":"2023-01-05T03:12:49.000Z","size":7714,"stargazers_count":67,"open_issues_count":17,"forks_count":28,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-09T14:05:21.045Z","etag":null,"topics":["caffeine","cfw","custom-firmware","entrypoint","homebrew","pegaswitch","switch-booting"],"latest_commit_sha":null,"homepage":"https://pegascape.sdsetup.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noahc3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-07T05:25:13.000Z","updated_at":"2024-07-30T20:28:35.000Z","dependencies_parsed_at":"2023-02-03T08:01:09.963Z","dependency_job_id":null,"html_url":"https://github.com/noahc3/PegaScape","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2FPegaScape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2FPegaScape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2FPegaScape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2FPegaScape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noahc3","download_url":"https://codeload.github.com/noahc3/PegaScape/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227124023,"owners_count":17734243,"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":["caffeine","cfw","custom-firmware","entrypoint","homebrew","pegaswitch","switch-booting"],"created_at":"2024-08-09T14:01:37.303Z","updated_at":"2024-11-29T12:30:51.599Z","avatar_url":"https://github.com/noahc3.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=https://pegascape.sdsetup.com\"\u003e\u003cimg src=https://i.imgur.com/H9ZLk33.png\u003e\u003c/a\u003e\n                                        \u003c/p\u003e\n                                        \n\u003ch1 align=center\u003ehttps://pegascape.sdsetup.com/\u003cbr\u003e\u003ci\u003efor user-friendly details\u003c/i\u003e\u003c/h1\u003e\n\n## What is PegaScape?\n\nPegaScape is a user-friendly public frontend for common PegaSwitch scripts including Nereba, Caffeine, HBL and more.\n\n## What can PegaScape be used for?\n\nWith PegaScape, you can easily reboot from a stock Switch console running firmwares between 1.0.0-3.0.0 and 4.0.1-4.1.0 into full custom firmware and emuMMC. You can also install the Fake News entrypoint to make accessing PegaScape easier, and access the Homebrew Menu without running full custom firmware if you prefer.\n\n**This means an easy-to-use entrypoint to fully featured CFW on 4.1.0 IPATCHED units.**\n\n## Which scripts are supported on what firmware versions?\n\nFake News | Installer |\tReboot to RCM |\tNereba | HBL | Caffeine\n------------|:-----------:|:---------------:|:--------:|:------:|----------\n1.0.0 |\t**✓** |\t**✓** |\t**✓** |\t**✓** |\t✗\n2.0.0-3.0.0 |\t✗ |\t✗ |\t✗ |\t**✓** |\t**✓**\n4.0.0 |\t✗ |\t✗ |\t✗ |\t✗† | \t✗\n4.0.1-4.1.0 |\t✗ |\t✗ |\t✗ |\t**✓** | \t**✓**\nOther |\t✗ |\t✗ |\t✗ |\t✗ | \t✗\n\n† nvcore offsets missing for 4.0.0\n\n## Demo\n\n[1.0.0 Switch booting into emuMMC 8.0.1](https://www.youtube.com/watch?v=hjZvmoRjA1U)\n\n[4.1.0 Switch booting into Atmosphere CFW](https://www.youtube.com/watch?v=DBVjrjoZO8w)\n\n\n## Usage\n\nFollow https://switch.homebrew.guide for an easy to follow noob guide for going from stock 1.0.0 - 3.0.0 and 4.0.1 - 4.1.0 with PegaScape. Otherwise, if you want to jump in...\n\n### Public DNS IP Addresses\n\nWe provide a public DNS IP for each common browser entrypoint present on the Switch:\n\n**Webapplet (Fake News, 1.0 JP Puyo Puyo Tetris)**: 163.172.181.170\n\n**Wifi Authentication Prompt**:\t51.15.245.41\n\nNote that these public DNS servers run the 90DNS configuration. This means that the connection test will pass (for the Webapplet server) and you can use homebrew with internet functionality, but you will not be able to connect to Nintendo services.\n\nYou can install Fake News with \u003ca href=\"https://github.com/noahc3/fakenews-injector/releases/latest\"\u003eFake News Injector\u003c/a\u003e\n\n### Self Hosting\n\nYou can also self-host PegaScape yourself:\n\n1. Install NodeJS and NPM.\n2. Clone the repo.\n3. Open cmd/terminal in the cloned directory.\n4. Run `npm install`.\n5. Run `[sudo] node start.js [--webapplet] [--ip \u003chtml_server_ip_override\u003e] [--host \u003cdns_server_ip_override] [--disable-dns]`.\n    * `--webapplet`: To enable fake internet, allowing the Switch to pass the connection test and load things like Fake News.\n    * `--ip \u003chtml_server_ip_override\u003e` if the detected IP address for the HTML server is not preffered.\n    * `--host \u003cdns_server_ip_override` if the detected IP address for the DNS server is not preffered.\n    * `--disable-dns` if you want to disable the internal DNS server and use something else (dnsmasq, bind, etc).\n    * Root privileges are usually required on Linux to bind to port 80 and 53.\n    \n## Changes from PegaSwitch\n\n* Logging is disabled by default (enable with \"debug\": true).\n* Homepage is used to select exploits. Can be configured in `config.json`, and are automatically appended to `index.html` based on the connecting clients firmware version and the firmware requirements specified for each exploit.\n* All device switching logic is removed/disabled.\n* Websockets are never stored anywhere and are kicked off after the initial connection process completes.\n* minmain.js is not run until an exploit is picked, rather than immediately when the page loads.\n* You cannot interface with Switches through the CLI.\n* Gadgetcache writes are disabled by default (enable with \"debug\": true).\n* Endpoints not fit for a public server were removed.\n* Some functionality which could be exploited on the server was removed or tweaked.\n* Probably other stuff.\n\n## Liability\n\nNobody is responsible if you lose your data, brick your Switch, get banned, drop your Switch into the toilet, have your Switch stolen by ninjas, etc, except yourself. By using PegaScape or any form of homebrew in any capacity you understand the risks involved with running unsigned code on your Switch.\n\n## Credits\n\n* ReSwitched, hexkyz and other contributors for PegaSwitch.\n* Everyone who worked on smhax, nvhax, nspwn, etc.\n* liuervehc for \u003ca href=\"https://github.com/liuervehc/caffeine/\"\u003eCaffeine\u003c/a\u003e, bringing the first CFW to IPATCHED Switches, and dealing with my random support DMs.\n* stuck_pixel for \u003ca href=\"https://github.com/pixel-stuck/nereba/\"\u003eNereba\u003c/a\u003e and \u003ca href=\"https://github.com/pixel-stuck/reboot_to_rcm\"\u003ereboot_to_rcm\u003c/a\u003e.\n* Switchbrew for \u003ca href=\"https://github.com/switchbrew/nx-hbloader\"\u003enx-hbloader\u003c/a\u003e.\n* bernv3 for the sexy background art.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahc3%2FPegaScape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoahc3%2FPegaScape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahc3%2FPegaScape/lists"}