Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyle-verhoog/sink
sink things
https://github.com/kyle-verhoog/sink
Last synced: about 2 months ago
JSON representation
sink things
- Host: GitHub
- URL: https://github.com/kyle-verhoog/sink
- Owner: Kyle-Verhoog
- Created: 2015-12-12T04:04:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-05T03:14:12.000Z (about 9 years ago)
- Last Synced: 2024-10-13T02:11:56.546Z (3 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/Kyle-Verhoog/sink.svg)](https://travis-ci.org/kyle-verhoog/sink) [![Made with Spacemacs](https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg)](http://github.com/syl20bnr/spacemacs) [![Gitter](https://badges.gitter.im/Kyle-Verhoog/sink.svg)](https://gitter.im/Kyle-Verhoog/sink?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
# sink
sink thingsaccess your dropbox from the comforts of your terminal
## Install
```sh
$ git clone https://github.com/kyle-verhoog/sink && cd sink
$ python setup.py
$ export PATH=/path/to/sink/sink.py/:$PATH
```Hopefully in the future...
```sh
$ pip install sink
```## Usage
Examples
```sh
$ # Upload some taytay to dropbox
$ cd music/taylor swift/singles
$ sink cd music/taytay
$ sink up bad_blood.mp3
``````sh
$ # Share your spacemacs configuration
$ cd
$ sink share .spacemacs
```
## Development### Code Formatting
Style: see https://www.python.org/dev/peps/pep-0008
Formatter: Google's [YAPF](https://github.com/google/yapf)
```sh
$ pip install yapf
```Usage
```sh
$ # Apply the formatter to a file in-place (-i)
$ yapf -i --style="pep8"
```### Tokens
In order to use the Dropbox API you need an OAuth2 token to be generated for your dropbox account. You can generate one for development by creating an app and generating an access token.