Skip to content

ys/moments

Repository files navigation

Share your moments, over dropbox.

Heroku + Dropbox + your pictures = ❤️

Requirements

  • A dropbox account
  • Nice pictures to show

Setup

Dropbox

Heroku

Deploy to Heroku

Use the token generated in the dropbox part in setup

Dropbox Webhook

This will clean the cache when you add new pictures or moments to your dropbox folder. You can do it manually via the settings of your app on heroku also but this is the recommended way.

  • Get FLUSH_TOKEN via $ heroku config
  • Fill the Webhook URIs field with http://[YOUR_APP].herokuapp.com/cache/flush?t=[FLUSH_TOKEN]

Usage

  • Go to [DROPBOX_FOLDER]/Apps/[THE_APP_CREATED_IN_DROPBOX]
  • Create folder for new moments you want to share.
  • Add a cover picture by naming a picture _cover and any extension you want.
  • Want password protection? Add a password.txt file. Content is the password.
  • Add pictures to the folder.
  • Enjoy!

See it in action

Setup Locally

DROPBOX_TOKEN=INSERT_TOKEN bin/setup
foreman start
open localhost:5000

About

Heroku + Dropbox + pictures = ♥︎

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •