Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SYS-HTTP Switch

From GameBrew
Revision as of 11:41, 24 April 2023 by HydeWing (talk | contribs)
sys-http
Syshttpnx.png
General
Authorzaksabeast
TypeSysmodules
Version0.1.0
LicenseGPL-3.0
Last Updated2020/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).

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:

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:

External links

Advertising: