More actions
sys-http | |
---|---|
General | |
Author | zaksabeast |
Type | Sysmodules |
Version | 0.1.0 |
License | GPL-3.0 |
Last Updated | 2020/05/31 |
Links | |
Download | |
Website | |
Source | |
This is a sysmodule that allows communicating with the Nintendo Switch using http. This sysmodule brings a few advantages that don't currently exist:
- HTTP is a standardized protocol with well defined uses.
- Most languages have at least one http library, so there's not a need to write a wrapper around raw TCP.
- Web browsers can use HTTP, but not raw TCP (without disabling security rules).
The sysmodule is still in early stage. It currently can read values from memory and get a game's title Id.
Installation
Download the zip from the latest releases.
Copy the zip file contents to your switch SD card at /atmosphere/contents.
It's recommended to use something like Kosmos Toolbox/Hekate Toolbox and disable the sysmodule when it's not in use.
User guide
Projects using sys-http
- DenCrawler by zaksabeast - View Pokemon Sword and Shield event raids in the web browser.
Potential future use cases
- Read Pokemon Sword/Shield den seeds directly into @Admiral-Fish's RaidFinder or @leanny's Seed Checker.
- Display Animal Crossing turnip prices in a mobile app.
- Show updating game values during a Twitch live stream.
- Setup a PKHeX REST API and live edit Pokemon from a website.
- Create a Discord bot that allows users to interact with the console.
Developing frontend applications
If you want to build frontend applications using this sysmodule as a backend, reading this documentation will help you.
Changelog
v0.1.0 2020/05/31
- Added:
- CORS headers to allow web browsers to work with sys-http.
- /settings/language to get the console language.
- Updated:
- /readHeap is now /heap.
v0.0.1 2020/05/26
- Initial release.
Credits
Thanks to the following groups, individuals, and contributors:
- ReSwitched for Atmosphere-libs.
- Switchbrew for libnx.
- yhirose for cpp-httplib.