Hi-resolution photos delivered to your Dropbox.
Special thanks to unsplash.com because without them this project would've never existed. This project was initially private and was intended to serve wide audience of users, not a single user. Now being open-source, it could ideally serve an individual or a small group of friends.
Luke Chesser, Product Designer @ Crew Labs
I use Splashbox to store Unsplash photos locally. It makes it so easy to find and drop photos into any design. Splashbox also saves me a ton of time and gives me constant access to high-res photos, regardless of an internet connection.
Pete Heslop, Director @ BrightByte Studio
Splashbox allows us, as a small agency to deliver high quality stock images every time. We no longer have to search through fake, forced and expensive photography, we now have them delivered to our Dropbox. The seamless and simple integration with Dropbox means we never have to think again about our source of imagery.
Matthew Smith, Entrepreneur & Designer
Splashbox has become a part of the innovative internet. Photographers get known and I get hundreds of visually interesting non-stock high-res photos at my disposal whenever I need them. Bonus.
Splashbox delivers you the most beautiful wallpapers you can find online straight into your Dropbox. I dig having hundreds of wallpapers that automatically change on my Mac so I don't see the same thing every day, plus you can use them quickly when you need something for a project! I'll never go back.
I. Create a Dropbox application and grab your DROPBOX_APP_KEY
and DROPBOX_APP_SECRET
.
II. Create an Embedly account and grab your EMBEDLY_KEY
.
III. Setup the following environment variables in your local .env
file and Heroku app(s):
DROPBOX_APP_KEY
DROPBOX_APP_SECRET
EMBEDLY_KEY
APP_HOST
IV. Setup the following scheduled rake tasks in Heroku Scheduler:
rake scrape
rake extract_colors
rake consumers_save_photos
V. Once you've deployed your app to Heroku ensure to run all the migrations using:
heroku run rake db:migrate -a yourappname
VI. To grant a waitlisted user access:
heroku run rails c -a yourappname
# Find the user and set waitlist to false
u=User.find id
u.update_attributes! waitlist: false
VII. Don't wait to wait for the scheduled jobs to run?
# To pull down all the current unsplash.com photos
heroku run rake scrape -a yourappname
# To extract color palettes from the photos in your database
heroku run rake extract_colors -a yourappname
# To sync photos to user dropbox accounts
heroku run rake consumers_save_photos -a yourappname
Easily traverse through your images using the gallery located in the dashboard.
Every photo extracted from http://unsplash.com is sent through a color extraction process which associates an RGB color palette with every photo.
By default a waitlist mechanism is enabled. All new user accounts are put into a "holding" pattern until an admin grants them access (through the console).
- suspenders — A Rails 4 template with Thoughbot standard defaults, ready to deploy to Heroku.
- mechanize — A library used for automating interaction with websites.
- dropbox-api — Dropbox API Ruby Client.
- embedly — Ruby Embedly Client
Christopher Hopkins
You may use the Splashbox project under the terms of the MIT License.