More actions
(Created page with "{{Infobox 3DS Homebrews |title=3DWEB |image=3ds.png |description=A flexible web server that can handle sd card file reads, crypto operations, system requests and raw memory operations. |author=WLHQ |lastupdated=2024/08/29 |type=Utilities |version=1.0.1 |license=MIT |download=https://dlhb.gamebrew.org/3dshomebrews/3DWEB3DS.7z |website=https://github.com/WLHQ/3DWEB |source=https://github.com/WLHQ/3DWEB |donation= }} {{#seo: |title= (Utilities) - GameBrew |title_mode=append...") |
No edit summary |
||
Line 21: | Line 21: | ||
3DWEB is an HTTP server written in C, designed for the 3DS. It is a continuation of [https://github.com/dimaguy/3ds-httpd 3ds-httpd] by dimaguy. | 3DWEB is an HTTP server written in C, designed for the 3DS. It is a continuation of [https://github.com/dimaguy/3ds-httpd 3ds-httpd] by dimaguy. | ||
It creates a directory called "Websites" & an index.html file when the server starts. You can add your own files in the Websites directory on your SD Card. The files put onto your SD Card in the Websites directory will not be overwritten. | |||
== | ==User guide== | ||
==== Default Handler ==== | ==== Default Handler ==== | ||
<pre>- Path: / | <pre>- Path: / | ||
- Description: | - Description: | ||
Returns a hardcoded HTML response | Returns a hardcoded HTML response | ||
</pre> | |||
==== Favicon Handler ==== | ==== Favicon Handler ==== | ||
<pre>- Path: /favicon.ico | <pre>- Path: /favicon.ico | ||
- Description: | - Description: | ||
Returns a hardcoded SVG favicon | Returns a hardcoded SVG favicon | ||
</pre> | |||
==== System Handler ==== | ==== System Handler ==== | ||
<pre>- Path: /system/ | <pre>- Path: /system/ | ||
Line 44: | Line 39: | ||
/system/exit - Exits app | /system/exit - Exits app | ||
/system/reboot - Reboots system | /system/reboot - Reboots system | ||
</pre> | |||
==== SDMC Handler ==== | ==== SDMC Handler ==== | ||
<pre>- Path: /sdcard/ | <pre>- Path: /sdcard/ | ||
- Description: | - 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 | Returns content of requested file in SD Card with content-type text/html, if file is missing returns 404. Path starts at SDMC root | ||
</pre> | |||
==== Memory R/W Handler ==== | ==== Memory R/W Handler ==== | ||
<pre>- Path: /readmem/ || /writemem/ | <pre>- Path: /readmem/ || /writemem/ | ||
- Description: | - Description: | ||
Reads and writes system memory. Honestly you're more likely to crash your 3DS. Check source code for details | Reads and writes system memory. Honestly you're more likely to crash your 3DS. Check source code for details | ||
</pre> | |||
==== Encryption Handler ==== | ==== Encryption Handler ==== | ||
<pre>- Path: /crypt/ | <pre>- Path: /crypt/ | ||
- Description: | - Description: | ||
Uses native AES Encryption/Decryption Algorithms to do CBC/CTR/CTM. Check source code for details. | Uses native AES Encryption/Decryption Algorithms to do CBC/CTR/CTM. Check source code for details. | ||
</pre> | |||
==Changelog== | ==Changelog== | ||
'''v1.0.1''' | '''v1.0.1''' | ||
* Changed the Banner & Icon for 3DWEB | * Changed the Banner & Icon for 3DWEB. | ||
* Minor updates to code. | * Minor updates to code. | ||
'''v1.0''' | '''v1.0''' | ||
Line 70: | Line 64: | ||
== External links == | == External links == | ||
* | * GitHub - https://github.com/WLHQ/3DWEB |
Latest revision as of 13:28, 12 October 2024
3DWEB | |
---|---|
General | |
Author | WLHQ |
Type | Utilities |
Version | 1.0.1 |
License | MIT License |
Last Updated | 2024/08/29 |
Links | |
Download | |
Website | |
Source | |
3DWEB is an HTTP server written in C, designed for the 3DS. It is a continuation of 3ds-httpd by dimaguy.
It creates a directory called "Websites" & an index.html file when the server starts. You can add your own files in the Websites directory on your SD Card. The files put onto your SD Card in the Websites directory will not be overwritten.
User guide
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
v1.0.1
- Changed the Banner & Icon for 3DWEB.
- Minor updates to code.
v1.0
- First Release.
External links
- GitHub - https://github.com/WLHQ/3DWEB