Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pbrisbin/drync
Google Drive Sync
https://github.com/pbrisbin/drync
Last synced: about 2 months ago
JSON representation
Google Drive Sync
- Host: GitHub
- URL: https://github.com/pbrisbin/drync
- Owner: pbrisbin
- License: mit
- Created: 2014-10-29T00:46:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-06-08T19:23:22.000Z (over 3 years ago)
- Last Synced: 2024-10-09T09:44:07.729Z (3 months ago)
- Language: Haskell
- Homepage:
- Size: 411 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drync: Google Drive Sync
![drynk](images/boozetime.gif)
Sync a local directory with Google Drive.
## Installation
`drync` is packaged as a static binary suitable for 64 bit Arch Linux.
```
% curl -O https://github.com/pbrisbin/drync/blob/master/pkg/PKGBUILD
% makepkg -s -c -i
% man 1 drync
% drync --help
```## Development Installation and Usage
- Create a project in the [Google Developers Console][console]
- Enable OAuth2 for the project
- Enable the Drive API for the project
- Create `src/Drync/Client.hs` with the following contents:```hs
module Drync.Client (client) whereimport Network.Google.OAuth2 (OAuth2Client(..))
client :: OAuth2Client
client = OAuth2Client
{ clientId = "..."
, clientSecret = "..."
}
```[console]: https://console.developers.google.com
```
% cabal sandbox init
% cabal install --dependencies-only
% cabal run -- --help
```Optionally, `cp` (or `ln`) `dist/build/drync/drync` into `$PATH`.