More actions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
*Most languages have at least one http library, so there's not a need to write a wrapper around raw TCP. | *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). | *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== | ==Installation== | ||
Line 26: | Line 28: | ||
==User guide== | ==User guide== | ||
Projects using sys-http | ===Projects using sys-http=== | ||
*https://github.com/zaksabeast/DenCrawler - View Pokemon Sword and Shield event raids in the web browser. | *[https://github.com/zaksabeast/DenCrawler DenCrawler by zaksabeast] - View Pokemon Sword and Shield event raids in the web browser. | ||
Potential future use cases | ===Potential future use cases=== | ||
*Read Pokemon Sword/Shield den seeds directly into @Admiral-Fish's [https://github.com/Admiral-Fish/RaidFinder RaidFinder] or @leanny's [http://leanny.github.io/seedchecker Seed Checker]. | *Read Pokemon Sword/Shield den seeds directly into @Admiral-Fish's [https://github.com/Admiral-Fish/RaidFinder RaidFinder] or @leanny's [http://leanny.github.io/seedchecker Seed Checker]. | ||
*Display Animal Crossing turnip prices in a mobile app. | *Display Animal Crossing turnip prices in a mobile app. | ||
Line 36: | Line 38: | ||
*Create a Discord bot that allows users to interact with the console. | *Create a Discord bot that allows users to interact with the console. | ||
Developing frontend applications | ===Developing frontend applications=== | ||
If you want to build frontend applications using this sysmodule as a backend, [https://github.com/zaksabeast/sys-http#developing-frontend-applications reading this documentation] will help you. | If you want to build frontend applications using this sysmodule as a backend, [https://github.com/zaksabeast/sys-http#developing-frontend-applications reading this documentation] will help you. | ||
Latest revision as of 11:45, 24 April 2023
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.