Portable Layout & Data
VoiceDrop stores configuration, Telethon sessions, and its Python virtual environment next to the executable whenever the application folder is writable.
Folder structure
text
VoiceDrop/
voice-drop[.exe]
uv[.exe] (ships with the archives; builds the runtime)
ffmpeg[.exe] (optional: bundled ffmpeg instead of PATH, or under bin/)
data/config.json (created on first run)
data/accounts/*.session
data/instance.lock
runtime/python/ (auto-created venv with telethon)Copy the folder to another machine and your credentials, logged-in accounts, and runtime move with it.
Read-only install fallback
When the executable's directory is not writable — such as a macOS .app bundle inside /Applications or a mounted Linux AppImage — data/ and runtime/ automatically fall back to the per-user data directory:
| OS | Fallback directory |
|---|---|
| Windows | %APPDATA%\VoiceDrop |
| macOS | ~/Library/Application Support/VoiceDrop |
| Linux | $XDG_DATA_HOME/voicedrop (or ~/.local/share/voicedrop when unset) |
Tool discovery order
For companion tools (ffmpeg and uv), VoiceDrop checks:
bin/next to the executable (<app_dir>/bin/<tool>), anduvdirectly next to the executable- Bundled macOS
Contents/Resources/bin/or Linux/usr/lib/voicedrop/bin/ - System
PATH
Locking & isolation
- Single app instance:
data/instance.lockprevents two VoiceDrop windows from running simultaneously against the same session files; a second launch exits immediately. - Session file serialization:
tg_send.pyacquires<session>.locknext to each.sessiondatabase and retriesdatabase is lockederrors so concurrent commands on the same session do not collide, while separate accounts never block each other. - No ambient state: VoiceDrop reads only its own
data/config.jsonanddata/accounts/directory and ignores external Telegram desktop sessions or global Python packages.