An Android app for browsing SMB2/3 shares on a local network. It has a dark interface, encrypted saved connections, folder search and sorting, and an image viewer for photos and animated GIFs.
The launcher icon's editable source is [artwork/app-icon.svg](artwork/app-icon.svg); Android uses matching vector drawables for the adaptive and monochrome icon.
- Browse folders, use breadcrumbs, search the current folder, filter by file type, sort by name in either direction, newest/oldest, largest/smallest, or file type, and refresh a listing.
- Reuse an SMB session while browsing and viewing images, keep up to 20 recent folder listings in memory, and preload nearby images in the viewer. Still images are decoded ahead of swipes within a bounded memory cache.
Download the APK from the latest [Gitea release](https://codealvin.xyz/Alvin-Zilverstand/smb-explorer/releases). Without release signing secrets, the workflow attaches a debug-signed test APK; with them, it attaches a release-signed APK. Android 9 or newer is required.
On first launch, enter the NAS address, share name, and credentials, then tap **Test & save connection**. The device must be able to reach the SMB server, usually on port 445. Open the saved share from the home screen. The connection menu (`⋮`) contains **Edit connection** and **Remove connection**.
Requirements: JDK 17, Android SDK platform 37, and Android build tools 36.0.0. Set `ANDROID_HOME` or create a local `local.properties` pointing to the SDK.
On Windows, run `gradlew.bat :app:assembleDebug`. The APK is written to `app/build/outputs/apk/debug/app-debug.apk`. Install it with `adb install -r app/build/outputs/apk/debug/app-debug.apk`.
The optional **Advanced connection test** reads three 64 KiB ranges of a selected file and reports their hashes. It is a diagnostic tool, not part of normal browsing.
## Gitea builds and releases
Every branch push runs [the Android workflow](.gitea/workflows/android-build.yml) on a runner labelled `debian`. The job builds debug and release APKs, uploads them as an Actions artifact, and creates a Gitea pre-release tagged `build-<run ID>-<attempt>` with one installable APK. The runner needs outbound access to the action repositories, Gradle, Maven, and Android SDK downloads. The repository must allow the job token to write releases.
To attach a signed release APK instead of a debug APK, configure these repository Actions secrets:
Keep the keystore and passwords backed up outside the repository. Android updates must use the same signing key. Never commit credentials, keystores, or `local.properties`.
## Contributing and license
See [CONTRIBUTING.md](CONTRIBUTING.md) for development and issue guidance. Copyright (C) 2026 Alvin Zilverstand. SMB Explorer is licensed under the [GNU General Public License, version 3 only](LICENSE) (`GPL-3.0-only`).