3DS httpd: Difference between revisions
From GameBrew
More actions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
|title=3DS httpd | |title=3DS httpd | ||
|image=3ds.png | |image=3ds.png | ||
|description=A | |description=A http server written in C made for the 3DS. | ||
|author=dimaguy | |author=dimaguy | ||
|lastupdated=2022/09/23 | |lastupdated=2022/09/23 | ||
| Line 15: | Line 15: | ||
|license=MIT | |license=MIT | ||
|download=https://dlhb.gamebrew.org/3dshomebrews/3dshttpd3ds.7z | |download=https://dlhb.gamebrew.org/3dshomebrews/3dshttpd3ds.7z | ||
|website=https:// | |website=https://github.com/dimaguy/3ds-httpd | ||
|source=https://github.com/dimaguy/3ds-httpd | |source=https://github.com/dimaguy/3ds-httpd | ||
}} | }} | ||
A http server written in C made for the 3DS. | |||
==Installation== | ==Installation== | ||
Install the CIA or run 3DSX and you're good to go. | |||
=== | Available on [[Universal-Updater_3DS|Universal-Updater]]. | ||
==== Default Handler | |||
==User guide== | |||
===Path Handlers=== | |||
'''Default Handler''' | |||
<pre> | <pre> | ||
- Path: / | - Path: / | ||
| Line 31: | Line 34: | ||
</pre> | </pre> | ||
'''Favicon Handler''' | |||
<pre> | <pre> | ||
- Path: /favicon.ico | - Path: /favicon.ico | ||
| Line 38: | Line 41: | ||
</pre> | </pre> | ||
'''System Handler''' | |||
<pre> | <pre> | ||
- Path: /system/ | - Path: /system/ | ||
| Line 46: | Line 49: | ||
</pre> | </pre> | ||
'''SDMC Handler''' | |||
<pre> | <pre> | ||
- Path: /sdcard/ | - Path: /sdcard/ | ||
| Line 53: | Line 56: | ||
</pre> | </pre> | ||
'''Memory R/W Handler''' | |||
<pre> | <pre> | ||
- Path: /readmem/ || /writemem/ | - Path: /readmem/ || /writemem/ | ||
| Line 60: | Line 63: | ||
</pre> | </pre> | ||
'''Encryption Handler''' | |||
<pre> | <pre> | ||
- Path: /crypt/ | - Path: /crypt/ | ||
| Line 69: | Line 72: | ||
==Changelog== | ==Changelog== | ||
'''nightly''' | '''nightly''' | ||
*ec38a2c: Code reformatting, fix disappearing manual (dimaguy) | *ec38a2c: Code reformatting, fix disappearing manual (dimaguy). | ||
==External Links== | ==External Links== | ||
*GitHub - https://github.com/dimaguy/3ds-httpd | *GitHub - https://github.com/dimaguy/3ds-httpd | ||
Latest revision as of 14:52, 29 December 2022
| 3DS httpd | |
|---|---|
| General | |
| Author | dimaguy |
| Type | Other Apps |
| Version | nightly |
| License | MIT License |
| Last Updated | 2022/09/23 |
| Links | |
| Download | |
| Website | |
| Source | |
A http server written in C made for the 3DS.
Installation
Install the CIA or run 3DSX and you're good to go.
Available on Universal-Updater.
User guide
Path Handlers
Default Handler
- Path: /
- Description:
Returns a hardcoded HTML response
Favicon Handler
- Path: /favicon.ico
- Description:
Returns a hardcoded SVG favicon
System Handler
- Path: /system/
- Description:
/system/exit - Exits app
/system/reboot - Reboots system
SDMC Handler
- Path: /sdcard/
- Description:
Returns content of requested file in SD Card with content-type text/html, if file is missing returns 404. Path starts at SDMC root
Memory R/W Handler
- Path: /readmem/ || /writemem/
- Description:
Reads and writes system memory. Honestly you're more likely to crash your 3DS. Check source code for details
Encryption Handler
- Path: /crypt/
- Description:
Uses native AES Encryption/Decryption Algorithms to do CBC/CTR/CTM. Check source code for details.
Changelog
nightly
- ec38a2c: Code reformatting, fix disappearing manual (dimaguy).
External Links
- GitHub - https://github.com/dimaguy/3ds-httpd