

GitHub - rianhunter/dbxfs: User-space file system for Dropbox
source link: https://github.com/rianhunter/dbxfs
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
dbxfs
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 Linux and macOS but it should run on any POSIX system that provides a FUSE-compatible library or has the ability to mount SMB shares. Windows support is coming very soon. It runs on non-x86 architectures like ARM. It doesn't require a specific file system.
It is written for Python 3.5+ and is licensed under the GPLv3.
Disclaimer: dbxfs is not affiliated with Dropbox, Inc.
Usage
(Optional) Install FUSE
macOS users can skip this. If you are on Linux, you must install your
OS's FUSE library. On Debian/Ubuntu, install the libfuse2
package,
on Fedora install fuse
.
Install and Run dbxfs
$ pip3 install dbxfs
$ dbxfs <mount_point>
You can see the full list of command line options by passing -h
to
the dbxfs
command.
Advanced Access Token Storage
By default dbxfs stores your access token in the system keyring or 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 an access token.
You can obtain an access token by creating a personal app on the
Dropbox developers app console.
Once you have obtained an app 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:
"access_token_command": ["gpg", "--decrypt", "/path/to/access/token/file.gpg"]
Adapt it to a decryption program of your choice. This configuration works great for storing the access token using a OpenPGP card.
Contact
Rian Hunter @cejetvole
Recommend
-
39
README.md dropbox.el, A Dropbox Client for Emacs It's often joked that Emacs is an operating system; well, it might as well have a Dropbox...
-
65
README.md Wasmjit Wasmjit is a small embeddable WebAssembly runtime. Its core is written in C90 and is easily portable to most environments. Its...
-
56
README.md
-
56
dbxfs 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
-
27
README.rst Stone Warning: The documentation is undergoing a rewrite.
-
37
README.org org-web - org mode on the web org-web lets you directly edit your org files online. It syncs with Dropbox and Google Drive and is optimized...
-
25
System design is one of the most important aspect of software engineering. System design problems are usually open-ended discussions. Let’s design a cloud file storage service like Google drive or drop box. These services provides a p...
-
12
Maestral A light-weight and open-source Dropbox client for macOS and Linux. About Maestral is an open-source Dropbox client written in Python. The project's main goal is to provide a client for platforms and file sys...
-
12
git-remote-dropbox git-remote-dropbox is a transparent bidirectional bridge between Git and Dropbox. It lets you use a Dropbox folder or a shared folder as a Git remote! This Git remote helper makes Dropbox act like a...
-
2
Magic Pocket: Dropbox’s Exabyte-Scale Blob Storage System May 15, 2023...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK