PictoSwap icon indicating copy to clipboard operation
PictoSwap copied to clipboard

Clone of Nintendo Letter Box/Swapnote for the Nintendo 3DS web browser

What's this?

PictoSwap is a web app intended to be used in the Nintendo 3DS Browser. It's essentially a clone of Nintendo Letter Box (or "Swapnote" in the US), which let you scribble little drawings and send them to other 3DS users. Unfortunately, Nintendo suddenly stopped the "SpotPass" feature of the app in 2013, due to abuse of the service. Hence I decided to clone it.

Where does the name come from?

I posted a thread on reddit's /r/3DS subreddit to try and find a name. I liked /u/TengenToppa's "PictoPass" suggestion, and changed it slightly to "PictoSwap". The suggestion was, presumably, a reference to note passing and PictoChat (a feature on the original Nintendo DS).

How do I set it up on the server?

Basic requirements

PHP 7.0 with Gd, PDO and SQLite3 (for Ubuntu systems with Ondřej Surý's PPA: sudo apt-get install php7.0 php7.0-gd php7.0-sqlite3)

Setup

  1. Create the SQLite3 database at /pictoswap.sqlite using the schema in /schema.sql. This should also be writeable.
  2. Set up autoloading with composer install in the root of this repository. (Get Composer here)
  3. Point your webserver (nginx preferred ;) at /htdocs/, and make sure /previews/ is writeable.

Development

PHPUnit is used for tests. Run phpunit to run the PictoSwap test suite, it will have been installed by Composer.