Homebrew RELEASE sys-http - Build tools that communicate with the Switch over http

zaksabeast

Well-Known Member
OP
Member
Joined
May 24, 2016
Messages
346
Trophies
0
XP
1,228
Country
United States
sys-http - Switch HTTP backend
What is sys-http?

sys-http is a sysmodule that allows communicating with the Nintendo Switch using http. This sysmodule brings a few advantages that don't currently exist with alternative solutions:
  • 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 super new, and more functionality can be added in the future. Currently the sysmodule can read values from memory and get a game's title Id.

v0.1.0 changelog:
  • Renamed /readHeap to /heap
  • Added /settings/lanuage
  • Added CORS headers so web browsers can use sys-http
Projects using sys-http
Example future use cases
  • Read Pokemon Sword/Shield den seeds into computer applications
  • Display Animal Crossing turnip prices in a mobile app
  • Show updating game values during a 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
Installing
  1. Download the zip from the latest releases
  2. 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 for resource and security purposes.

Developing frontend applications

If you want to build frontend applications using this sysmodule as a backend, reading this documentation will help you.
 
Last edited by zaksabeast,
General chit-chat
Help Users
  • DinohScene @ DinohScene:
    One mighty click of a button!
    +1
  • K3N1 @ K3N1:
    This Chinese bot had lv bags on sale for $20 and all I got was a box of air :(
  • DinohScene @ DinohScene:
    I'm sorry for your loss mate
  • K3N1 @ K3N1:
    They had a phone number and everything that didn't work after I made the purchase:(
  • DinohScene @ DinohScene:
    Would it help if I slept with you?
  • K3N1 @ K3N1:
    That's worth more than $20
  • K3N1 @ K3N1:
    Oh just got another box it's filled with adult toys from China my day is complete
  • DinohScene @ DinohScene:
    Nice
  • K3N1 @ K3N1:
    Incredibly small for some reason
  • DinohScene @ DinohScene:
    Hey, odd question, what is the life span of a samsung microsd in a raspi running raspi os and pihole?
  • K3N1 @ K3N1:
    Depends on use for some reason but I avoid any SD card that doesn't have a 2 year warranty
  • DinohScene @ DinohScene:
    Sounds fair, don't think I can be arsed sending a small microsd in for warranty but eh
  • K3N1 @ K3N1:
    I'd assume cards that run 24/7 with constant write transfers would fail quicker
  • K3N1 @ K3N1:
    I've had good luck with Team group SD cards cheap and comes with 5 years but void if it's ran 24/7
  • DinohScene @ DinohScene:
    I wonder how bad the microsd is that's in me dashcam
  • DinohScene @ DinohScene:
    I've had it for 8 years
  • DinohScene @ DinohScene:
    Same microsd, 140k km :x
  • K3N1 @ K3N1:
    SanDisk has their own tool for that to check life iirc
  • K3N1 @ K3N1:
    Should work on others
  • DinohScene @ DinohScene:
    Nice cheers
  • K3N1 @ K3N1:
    Can't remember if they force you to pay for those features
  • K3N1 @ K3N1:
    Silicon Power 1TB Micro SD Card U3 Nintendo-Switch, Steam Deck Compatible, SDXC microsdxc High Speed MicroSD Memory Card with Adapter https://a.co/d/2zlSFVO This guys been running fine in my SteamDeck
  • dxtsynx @ dxtsynx:
    I have a question about Medicat if anyone can answer.. My windows install is corrupt and wont boot. Does Medicat allow you to run DISM online or do an inlace upgrade? Trying to do some sort of repair install or recovery without a fresh installation
  • SylverReZ @ SylverReZ:
    @K3N1, Nice.
    SylverReZ @ SylverReZ: @K3N1, Nice.