Giter Site home page Giter Site logo

onedrive-d's Introduction

onedrive-d

This project aims to deliver a Microsoft OneDrive (formerly SkyDrive) client that runs on major Linux distros. The API is based on Mike Kazantsev's project python-onedrive.

Currently the reference environment is Ubuntu x64, while support for RHEL/CentOS/Fedora is on the way.

Branches

  • master: the main branch
  • wip: the newest work

For Users

Installation

  • Download or git clone the source from GitHub repo
  • In the source directory, run ./inst install and go with the prompts
  • If you are upgrading from a previous version, run ./inst reinstall instead
  • If the daemon fails to register, you may run onedrive-d command to start the

Notes:

Since the package is still under development, it will not run at system startup.

Usage

  • To start the daemon manually, issue command onedrive-d
  • To configure the program, issue command onedrive-prefs
  • To use the command-line tools, issue command onedrive-cli for more details

Notes for RHEL / CentOS / Fedora Users

I've decided to support RHEL / CentOS / Fedora distros, and there are many tests to be done. Please do give me feedback. I really appreciate your help.

How can I find the "Tray Icon" of OneDrive-D on Fedora?

On Fedora Gnome 20, press Super + M (default keyboard shortcut) to call out the messaging tray and you will find the familiar OneDrive cloud icon in it.

Notes about Usage

There are some notes regarding the usage.

  • OneDrive uses NTFS file naming rules. i.e., case insensitive, and the following characters are reserved in file names: <, >, :, ", \,/, |, ?, and *. As a result, files containing those special characters will be ignored by the program. As for case insensitivity, the program will rename files that conflict in cases.

For Developers

Components

The major components in this program are:

  • DirScanner scans the differences between the local and remote dirs, and merges them if needed
    • It does not delete files.
    • May undo file deletion or mess up the repo. But by far we prefer the safest approach.
  • TaskWorker
    • It executes the tasks issued by DirScanner objects
    • and waits to handle new tasks
      • Tasks are wrapped as objects
  • LocalMonitor
    • It forks a inotifywait process to monitor the OneDrive local repository.
    • and issue tasks for TaskWorkers to perform if there are any changes detected.
  • RemoteMonitor
    • Pull the recent updates from server and merge the new ones
    • Periodically update the quota information
  • Linux Service
    • The service will be installed to /etc/init.d/onedrive-d

More Links

Links

Contact

onedrive-d's People

Contributors

omair18 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.