0.1.8 • Published 10 years ago

oppi-file v0.1.8

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

oppi-file

A file tentacle for octoppi. It sends a file on the /file path to your dropbox.

Installation

> octippi-server install file



Using the Dropbox api
---------------------
Make your own dropbox app by visiting https://www.dropbox.com/developers/apps

Click _Create app_

Chose Dropbox API app

Name it octoppi_files

In settings chose OAuth2 Redirect URIs `http://localhost:8912/oauth_callback`


Create a config file in `.octoppi-tentacles/node_modules/oppi-file/lib/config.js`

var dropbox_config = { key: "xxx", secret: "xxxx", token: 'xxx' }

module.exports = dropbox_config;

Authenticate your dropbox
-------------------------

`> cd .octoppi-tentacles/node_modules/oppi-file`

`> node lib/authenticate.js`

should open a webbrowser and aks you to confirm authentication of the app.
It will return a token in the terminal. Copy the token into config.js

`> octoppi-server start`
0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago