# mice Download Server

Simple Node.js server to host mice 3DS homebrew files for easy download via QR code.

## Quick Start

1. **Install dependencies:**
   ```bash
   cd server
   npm install
   ```

2. **Build mice first:****
   ```bash
   cd ..
   make
   ```

3. **Start the server:**
   ```bash
   cd server
   npm start
   ```

4. **Access the download page:**
   - Open browser to `http://localhost:3000`
   - Use QR codes to download on 3DS browser
   - Or find your local IP and access from any device on the network

## Features

- 📱 QR codes for easy 3DS browser access
- 📦 Automatic detection of build files (.3dsx, .cia, .3ds, .elf)
- 🎮 Installation instructions included
- 📊 File size information
- 🌐 Network accessible from any device

## Usage on 3DS

1. Connect your 3DS to the same WiFi network as your computer
2. Open the Internet Browser on your 3DS
3. Scan the QR code or manually enter the URL
4. Download the .3dsx or .cia file
5. Install according to the instructions on the page

## Development

```bash
npm run dev  # Uses nodemon for auto-restart
```

## File Types

- **.3dsx** - Homebrew Launcher format (copy to `/3ds/` folder)
- **.cia** - Installable format (use FBI or similar installer)
- **.3ds** - 3DS ROM format
- **.elf** - Debug/development format