Work in progress homebrew 3DS port of the lightweight NetSurf web browser.
If you want to try it out in its current state, you can find the latest version as a 3DSX file on the releases page. You will also need to download the resources.zip package, and extract the contents it to /share/netsurf
on your 3DS's SD card. NetSurf will not run properly without the resources.
Nintendo's 3DS browser is based on an old version of Apple's WebKit, and only supports SSL up to 1.1, which many websites are already dropping. Even among websites that it can load, it often hopelessly mangles them. It also doesn't support downloading anything but JPEG images to the SD card, which is unhelpful for downloading homebrew.
This port, while a work in progress, already supports SSL 1.2, and has the potential to be a much better option than the default browser as development continues.
The 3DS (especially the original version) is a very slow, low-memory system (only 64MB is provided to most apps, something more like 80MB to HIMEM apps), so many modern web engines would require an obscene amount of modification to even start running on the handheld.
This is where NetSurf comes in. It is a lightweight, super fast web browser that already can run on systems with memory requirements as low as 32MB. It has a minimal amount of dependencies, and even has a built-in "framebuffer" backend that doesn't require any external toolkits, and it has fairly good support for modern HTML and CSS standards given the constraints.
- browse websites with up to SSL 1.2
- browse the SD card and open local text, html, and image files (go to file:///)
- html and css support
The NetSurf codebase contains some features that don't work yet on 3DS, but might work soon with further porting efforts.
- Font support (FreeType)
- super basic JavaScript support (via internal "duktape" library)
- SVG and WebM support (requires external libraries to be ported first)
- Webpage zoom (+/-)
Here are some things not in the code base, but are planned to be added:
- Downloading of files to the SD card (perhaps with a "save as" dialog)
- Additional 3DS-specific button controls
- SSL implementation is partially broken (i.e. you can visit SSL websites, but you can't view the SSL certificate information)
- some things (e.g. larger images) distort while scrolling.
- Text is often cut off or wraps incorrectly
- JavaScript support is disabled in the build process
- Support for several media types is disabled. (SVG, WebP)
NetSurf is a long way off from a Google Chrome replacement, and (given the processing and memory constraints) will never be close. Here are some things that people might ask about that are probably impossible:
- Playing HTML5/WebGL, Java, or Flash games
- Playing YouTube videos or streaming movies (even though NetSurf has experimental video support in the code).
- Loading and running complex Web 2.0 applications like Google Docs, VS Code, Discord, etc.
- super accurate website rendering on par with desktop and mobile phone browsers.
Building only works in Linux at the moment.
To build, ensure you have the DevKitARM toolchain installed with libctru, citro2d, citro3d, etc. You will also need the following libraries:
- 3ds-sdl
- 3ds-mbedtls
- 3ds-curl
- 3ds-libpng
- 3ds-libjpeg-turbo
- 3ds-libiconv
- 3ds-freetype (for future font support)
Ensure your environment has the DEVKITARM
and DEVKITPRO
variables set, and that DevKitARM's bin
directory is in your PATH
. You should then be able to build NetSurf with the make
command. Using multiple jobs (-j <cpu cores>
) is reccomended to speed up compilation.
Thanks to the NetSurf developers for making such an awesome lightweight and portable browser! Also thanks to DevKitPro for making the 3DS homebrew toolchain and library ports.