Skip to main content

Adbnik — ADB device workspace: shell, APK install, SSH, serial, files, USB screen (PyQt5 desktop).

Project description

Adbnik

Adbnik

Adbnik is a desktop control room for Android and embedded work: ADB shell tabs, SSH sessions, serial (COM) consoles, device and remote file browsing, and USB screen mirroring (via scrcpy or another tool you install)—in one window with tabs and bookmarks.

It is not made by Google. It does not bundle ADB, OpenSSH, or scrcpy. Install those yourself (or use existing installs) and set paths under File → Preferences if they are not on your PATH.

Positioning: Adbnik is an ADB device workspace—an ADB explorer–style workflow in one window: shells, on-device files, optional APK push via adb install, plus SSH, serial, and launching your mirroring binary. The product name stays Adbnik everywhere.

Why “Adbnik”

The name keeps ADB visible and uses ‑nik as a short, memorable suffix (a compact “nickname” for an ADB‑centric desktop). It is not a Google or Android trademark; the project is Adbnik only.


What you can do

Goal In Adbnik
Shell, APK install, device commands ADB: pick a device, shell tabs, Session → ADB → Install APK, bookmarks, shortcuts.
Remote servers SSH tabs using the ssh client on your PATH.
Boards / firmware logs over COM Serial: port and baud in the same UI.
Files on phone or server File explorer workflows (Android / remote).
Mirror the device screen on PC Screen: launch your mirroring tool (e.g. scrcpy).

Before you install

  • Python 3.9+ (64-bit recommended on Windows).
  • Platform-tools (ADB) on PATH, USB debugging on the device.
  • OpenSSH client (ssh) on PATH for SSH tabs.
  • scrcpy (or similar) for mirroring, on PATH or set in Preferences.
  • COM hardware + driver for serial.

Install

Use the same Python for pip and for running the app. On Windows this avoids broken Scripts\adbnik.exe installs.

Recommended:

py -m pip install --upgrade pip
py -m pip install adbnik
py -m adbnik

If you use a specific Python installation, use that interpreter for both pip and adbnik:

"C:\Path\To\Python\python.exe" -m pip install --upgrade pip
"C:\Path\To\Python\python.exe" -m pip install adbnik
"C:\Path\To\Python\python.exe" -m adbnik

Always prefer python -m adbnik if double-clicking adbnik.exe ever fails.


First run

  1. Start the app with py -m adbnik (or python -m adbnik from the environment where you installed the package).
  2. Set ADB / scrcpy paths in File → Preferences if not on PATH.
  3. Open ADB, SSH, Serial, Files, or Screen from the UI.

Settings are stored in a .adbnik.json file under your user profile. If you previously used an older config named .devicedeck.json, it is migrated when you save preferences.


Fix: ModuleNotFoundError: No module named 'adbnik'

The package is not installed for the same Python that runs your command or shortcut (often mixed pip / mixed Python). Reinstall using that interpreter:

"C:\Path\To\Python\python.exe" -m pip uninstall adbnik -y
"C:\Path\To\Python\python.exe" -m pip install --force-reinstall adbnik
"C:\Path\To\Python\python.exe" -c "import adbnik; print(adbnik.__file__)"
"C:\Path\To\Python\python.exe" -m adbnik

Use python.exe -m pip for the same python.exe you use to run the app—not a different pip on PATH.

On Windows, list interpreters: py -0p.


Development

From a clone of this repository:

git clone https://github.com/nvnkennedy/adbnik.git
cd adbnik
py -m venv .venv
.venv\Scripts\activate
py -m pip install -e ".[dev]"
py -m pytest tests -q
py -m adbnik

Optional Windows installers or other distribution formats may be published via GitHub Releases or the project site (see links below)—not part of the PyPI package.


Links

Repository github.com/nvnkennedy/adbnik
PyPI pypi.org/project/adbnik
Site nvnkennedy.github.io/adbnik

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adbnik-0.2.7.tar.gz (81.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adbnik-0.2.7-py3-none-any.whl (85.9 kB view details)

Uploaded Python 3

File details

Details for the file adbnik-0.2.7.tar.gz.

File metadata

  • Download URL: adbnik-0.2.7.tar.gz
  • Upload date:
  • Size: 81.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.8

File hashes

Hashes for adbnik-0.2.7.tar.gz
Algorithm Hash digest
SHA256 5bc3cd3853bd34c8abc410ddcaa1dd886fe6e9dce7a58c35b568216f26801b7c
MD5 4dc0ea6b6c3cc2b932b18ac3ab24aad5
BLAKE2b-256 07d546b1e92cc5c3131f4db6bd6f96a1929016f69861e68cb17ed17733326b27

See more details on using hashes here.

File details

Details for the file adbnik-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: adbnik-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 85.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.8

File hashes

Hashes for adbnik-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 87cce27310c0f65cbe57c7e42a35dd09772bafbd1555472dcdb4aba1ee1868f1
MD5 08408408dda7bd3090024ce4e195f697
BLAKE2b-256 9d74ceef6c286ee7d2c287bba43754004c8ebb6c2b163b38ba9b0a85188caabe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page