Skip to main content

dbxfs

dbxfs is not licensed to be hosted on GitHub in response to GitHub's history of exploitative behavior. If you are reading this on GitHub this is an illegal mirror. Do not use and report usage to the author https://twitter.com/cejetvole

dbxfs allows you to mount your Dropbox folder as if it were a local filesystem. It differs from the official Dropbox client in two main ways:

  • Internet connectivity is required for access
  • No disk space is required for access, but will cache if disk space is available

dbxfs has been tested on OpenBSD, Linux, macOS, and Windows but it should run on any POSIX system that provides a FUSE-compatible library or has the ability to mount SMB shares. It runs on non-x86 architectures like ARM. It doesn't require a specific file system.

It is written for Python 3.11+ and is licensed under the GPLv3.

Disclaimer: dbxfs is not affiliated with Dropbox, Inc.

Installation

If you are on Windows, the easiest way to use dbxfs is to download and run the pre-compiled executable. Read the README included with the Windows distribution for Windows-specific instructions.

If you are on Linux, you must install your OS's FUSE library. On Debian/Ubuntu, install the libfuse2 package, on Fedora install fuse.

Run the following command:

$ pip3 install dbxfs

On Arch Linux and derivatives, you can find it in the AUR as dbxfs.

Usage

Use dbxfs like you would use the mount command:

$ dbxfs <mount_point>

To unmount your Dropbox folder on Linux systems, you can use fusermount -u <mount_point>, on all other systems use umount.

You can see the full list of command line options by passing -h to the dbxfs command.

Advanced Refresh Token Storage

By default dbxfs stores your refresh token in an encrypted file but you may want to store it in a GPG encrypted file or something else. To do that you must first obtain a refresh token. You can obtain a refresh token by running the following command:

$ dbxfs --get-refresh-token

Once you have obtained the refresh token, encrypt it with the program of your choice and store the result somewhere. After that, you must edit the dbxfs config file. You can find the location of the config file by running the following command:

$ dbxfs --print-default-config-file

The config file is a JSON encoded file. Add the following JSON key to the top-level JSON object in that file:

"refresh_token_command": ["gpg", "--decrypt", "/path/to/refresh/token/file.gpg"]

Adapt it to a decryption program of your choice. This configuration works great for storing the refresh token using a OpenPGP card.

Contact

Rian Hunter @cejetvole

Metadata

Release files for dbxfs 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbxfs 2.1.2
File Size Uploaded Provenance Actions
dbxfs-2.1.2.tar.gz 83.5 kB Without provenance Details for dbxfs-2.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbxfs 2.1.2
File Interpreter ABI Platform Actions
dbxfs-2.1.2-py3-none-any.whl Python 3 none any Details for dbxfs-2.1.2-py3-none-any.whl

Total release size: 150.4 kB

Release files / dbxfs-2.1.2.tar.gz

Download URL dbxfs-2.1.2.tar.gz
Size 83.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8ee5586a4d1b13d6ac1dae81b2a5fb34f877f092302df565ae7ca99488d112d3
BLAKE2b-256 checksum
How to use checksums
b7ce6edab3088cfa996408061bfbf8dac3487560385c5bb28a5b9e68a3e6d21f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / dbxfs-2.1.2-py3-none-any.whl

Download URL dbxfs-2.1.2-py3-none-any.whl
Size 66.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ae813a1c6b1c96a68d709870322902877ac0d9fb2f4619fa47cd8755e41851b
BLAKE2b-256 checksum
How to use checksums
f1049fd11d6c5216063514e0e07822579e2d7e5b6ada03fcdf441c5bd46fcab1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for dbxfs 2.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page