Open-source Dropbox client for macOS and Linux
Go to file
2019-09-25 00:21:13 +01:00
.github/ISSUE_TEMPLATE Update bug_report.md 2019-08-14 18:53:18 +01:00
maestral fixed bug in handling DeleteError's due to invalid path 2019-09-25 00:21:13 +01:00
screenshots added screenshots of setup dialog 2019-09-22 23:29:02 +01:00
.gitattributes Initial commit 2018-11-26 15:50:02 +00:00
.gitignore removed 'notify_mac.py' from gitignore 2019-08-23 20:57:00 +01:00
.travis.yml added python 3.7 to travis 2019-09-15 12:56:18 +01:00
CHANGELOG.md version bump and changelog 2019-09-24 23:56:18 +01:00
LICENSE.txt Initial commit 2018-11-26 15:50:02 +00:00
README.md Update README.md 2019-09-16 19:20:58 +01:00
requirements.txt make systemd support an optional extra 2019-09-15 12:43:12 +01:00
setup.py make PyQt5 an optional extra 2019-09-15 12:43:45 +01:00

PyPi Release Pyversions

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 systems that are no longer directly supported by Dropbox.

Currently, Maestral does not support Dropbox Paper, the management of Dropbox teams and the management of shared folder settings. If you need any of this functionality, please use the Dropbox website or the official client. As of version 0.3.0, Maestral does support the syncing of multiple Dropbox accounts.

The focus on "simple" file syncing does come with advantages: the Maestral App on macOS is 80% smaller than the official Dropbox app (50 MB vs 290 MB) and uses 70% less memory. The app size and memory footprint can be more than halved when installing and running Maestral without a GUI.

Installation

A binary is provided for macOS High Sierra and higher and can be downloaded from the Releases tab. On other platforms, download and install the Python package from PyPI:

$ python3 -m pip install --upgrade maestral

You can also install the latest beta:

$ python3 -m pip install --upgrade --pre maestral

If you intend to use the graphical user interface, you also need to install PyQt5, either from PyPI or form your platforms package manager.

Usage

Run maestral gui in the command line (or open the Maestral app on macOS) to start Maestral with a graphical user interface. On its first run, Maestral will guide you through linking and configuring your Dropbox and will then start syncing.

screenshot macOS screenshot Fedora

Command line usage

After installation, Maestral will be available as a command line script by typing maestral in the command prompt. Type maestral --help to get a full list of available commands. The most important are:

  • maestral gui: Starts the Maestral GUI. Creates a sync daemon if not already running.
  • maestral start|stop: Starts or stops the Maestral sync daemon.
  • maestral pause|resume: Pauses or resumes syncing.
  • maestral status: Gets the current status of Maestral.
  • maestral file-status LOCAL_PATH: Gets the sync status of an individual file or folder.
  • maestral errors: Lists all sync errors.
  • maestral set-dir LOCAL_PATH: Sets the location of your local Dropbox folder.
  • maestral excluded add|remove|list: Command group to manage excluded folders.
  • maestral ls DROPBOX_PATH: Lists the contents of a directory on Dropbox.
  • maestral log show|clear|level: Command group to manage logging.

Maestral currently supports the syncing of multiple Dropbox accounts by running multiple instances. This needs to be configured from the command line. For example, before running maestral gui, one can set up a new configuration with maestral config new. The configuration name should then be given as command line option --config-name before running maestral. For example:

$ maestral config new "personal"
$ maestral config new "work"
$ maestral gui --config-name="personal"
$ maestral gui --config-name="work"

This will start two instances of Maestral, syncing a private and a work account, respectively. Multiple Maestral daemons are supported as well.

By default, the Dropbox folder names will contain the capitalised config-name in braces. In the above case, this will be "Dropbox (Personal)" and "Dropbox (Work)".

Contribute

The following tasks could need your help:

  • Write tests for Maestral.
  • Detect and warn in case of unsupported Dropbox folder locations (network drives, external hard drives, etc).
  • Native Cocoa and GTK interfaces. Maestral currently uses PyQt5.
  • Packaging: improve packing for macOS (reduce app size) and package for other platforms.

Warning:

  • Maestral is still in beta status. Even though highly unlikely, using it may potentially result in loss of data.
  • Network drives and some external hard drives are not supported as locations for the Dropbox folder.

Dependencies

Acknowledgements

  • The config module uses code from the Spyder IDE.
  • The MaestralApiClient is based on the work from Orphilia.