https://github.com/tcbyrd/dropbox-webhook-sync
Glitch app to sync local markdown notes to Airtable using Dropbox webhooks
https://github.com/tcbyrd/dropbox-webhook-sync
airtable boostnote dropbox-webhooks glitch
Last synced: 12 months ago
JSON representation
Glitch app to sync local markdown notes to Airtable using Dropbox webhooks
- Host: GitHub
- URL: https://github.com/tcbyrd/dropbox-webhook-sync
- Owner: tcbyrd
- Created: 2017-11-27T00:44:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-27T18:07:43.000Z (about 8 years ago)
- Last Synced: 2025-02-14T22:43:05.093Z (12 months ago)
- Topics: airtable, boostnote, dropbox-webhooks, glitch
- Language: JavaScript
- Homepage: https://dropbox-webhook.glitch.me/
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dropbox-webhook
============
Dropbox example that responds to webhook notifications to synchronize local notes written with Boostnote to Airtable
This project is looking for notes in `.cson` (CoffeeScript Object Notation) format in a Dropbox folder named `/Boostnote/notes`
This project uses an API token for server communication with authorization flow which prompts the user to enter an authorization code from their Dropbox account.
From the [HTTP API documentation](https://www.dropbox.com/developers/reference/oauth-guide):
> The code flow returns a code via the redirect_uri callback which should then be converted into a bearer token using the /oauth2/token call. This is the recommended flow for apps that are running on a server.
View the live app on [https://dropbox-webhook.gomix.me](https://dropbox-webhook.gomix.me).
Setting Up
----------
1. [Remix this project](https://glitch.com/edit/#!/remix/dropbox-webhook).
2. Create an app on your [Dropbox developer account](https://www.dropbox.com/developers/apps).
3. Fill in `DROPBOX_APP_KEY` and `DROPBOX_APP_SECRET` in your .env file with the app key and secret from your Dropbox app.
4. Generate a Dropbox access token and put that in your `.env` file as `DROPBOX_ACCESS_TOKEN`
5. For syncing with Airtable, enter your Airtable API key in `.env` as `AIRTABLE_API_KEY`. This is currently setup to push data to a table in Airtable called 'Raw Data', so make sure you have a table with this name.
Useful Links
------------
* [Dropbox OAuth Guide](https://www.dropbox.com/developers/reference/oauth-guide)
* [Dropbox HTTP API](https://www.dropbox.com/developers/documentation/http/documentation)
* [Dropbox JavaScript SDK](http://dropbox.github.io/dropbox-sdk-js)
* [Airtable Standard API](https://airtable.com/api)
* [Boostnote Source](https://github.com/BoostIO/Boostnote)