| English | Русский |
Tray app (v0.5)
desktop/ holds sberdisk-tray, an unofficial tray app built with Wails v3 on the same
core client. It is a separate Go module, like rclone/.
Unofficial. Not affiliated with SberBank or the SberDisk operator. The web API is undocumented and can change without notice.
What it does
The menu is kept small: Войти в СберДиск… (until signed in), Открыть СберДиск (mounts the disk if needed and opens it in Finder), Отключить СберДиск, a line about uploads (“Загружаю на СберДиск: 2 файла…” → “Все файлы на СберДиске ✓”), Открыть сайт СберДиска, Обновить, Запускать при входе в систему, Выйти из аккаунта, Закрыть SberDisk Bridge. A disk left open is opened again at the next start.
| Status in the tray menu and tooltip: used and total space, or “signed out”, “session expired”, “offline” | ✅ |
| Sign in inside the app’s own window: you log in on the SberDisk site, the app takes the session from the window | ✅ macOS; ❌ Windows and Linux not written yet — the menu says so |
| Session kept in the system secret store (Keychain on macOS), never in a file | ✅ |
| Sign out: forgets the saved session and the window’s SberDisk cookies | ✅ the session is not ended on the service |
| Load | one quota request at start, then every 10 minutes or on “Обновить” (refresh) |
The disk as a folder — “Открыть СберДиск” mounts the whole disk at ~/SberDisk and opens it in Finder; “Отключить СберДиск” ejects it |
✅ macOS and Linux through rclone’s NFS mount on localhost: no macFUSE or kernel extension needed. Written files go to a local cache and are uploaded a few seconds after they are closed; ejecting waits for them (up to 2 minutes), and anything left is uploaded at the next mount. A busy disk (a copy onto it, an open file) is not ejected from the menu: the menu says so; quitting waits 15 seconds, then ejects anyway. On macOS the cache is in ~/Library/Application Support/sberdisk-bridge/cache, not in ~/Library/Caches, which cleaners such as Mole empty. Reads stream from the service; seeking in a large file re-reads it from the start (the service serves no ranges). Folder listings are cached for a minute |
| Own icon — a folder with a cloud — for light and dark menu bars and taskbars; grey while the disk is not mounted | ✅ desktop/icons/, drawn by gen.py (uv run --with pillow gen.py); not SberBank’s logo or colors |
| Start at login — menu checkbox | ✅ macOS (a LaunchAgent in ~/Library/LaunchAgents), Linux (~/.config/autostart); Windows not done yet |
| Log | ~/Library/Logs/sberdisk-bridge/tray.log on macOS, the user cache folder elsewhere; no session values |
| Two-way sync, encryption | ❌ not done yet; two-way sync is not planned while the service keeps no hashes or modification times — changes of the same size could not be told apart |
The app never types or stores your password: you sign in on the SberDisk site yourself.
Settings (whether the disk was open) are in tray.json in the user config folder (macOS:
~/Library/Application Support/sberdisk-bridge/), readable only by you; no secrets go there.
Download (macOS)
SberDisk-Bridge-macos.zip — the latest release, Apple Silicon and Intel, macOS 12 or newer; its SHA-256 is next to it on the releases page.
- Unzip it and move SberDisk Bridge to Applications.
- Open it. The app is not signed by Apple, so macOS stops it the first time.
- Open System Settings → Privacy & Security, scroll down to the message about SberDisk Bridge and click Open Anyway, then confirm. This is needed once.
Or, in Terminal: xattr -dr com.apple.quarantine "/Applications/SberDisk Bridge.app".
Build
cd desktop
go build -o sberdisk-tray . # macOS needs Xcode command line tools (cgo, WebKit)
macOS app
cd desktop
scripts/bundle-macos.sh 0.5.1 # → dist/SberDisk Bridge.app (Apple Silicon + Intel) and dist/SberDisk-Bridge-macos.zip
cp -R "dist/SberDisk Bridge.app" ~/Applications/
The app is not signed or notarized (ad-hoc signature only). Built on your own Mac it starts as is; a
downloaded copy is stopped by macOS on the first start — see Download. It has no
Dock icon: it lives in the menu bar. A new build may ask once for access to the sberdisk-bridge Keychain item.
Windows builds without cgo (GOOS=windows go build .), but sign-in there is not done yet. Linux needs GTK 3 and
WebKitGTK development packages. App bundles, signing and notarization are not set up.
Tests
cd desktop
go test ./...
Tested without a window system: what the menu shows in every state (internal/menu: signed out, signed in,
opening, open, uploading, upload failed, error, session expired), the status texts, settings, autostart files,
the secret store wrapper (on an in-memory mock), the mount folder guard. With SBERDISK_LIVE_MOUNT=1 and
SBERDISK_COOKIE, TestMountLive mounts the live disk, writes a file under /rclone-test/mount-* and checks it
is on the service.