Code Monkey home page Code Monkey logo

dabble.me's Introduction

Build Status

Painless Rails workshop ionstructions

run make init, and it should setup everything.

In case of problems, take a look inside Makefile and try to execute steps manually one by one

Dabble Me

A private journal over email service.

Dabble Me helps people remember what's happened in their life. Use it as a light-weight journal on a daily, weekly, or even monthly basis...it's up to you! Dabble Me will email you on a time & days you choose - you simply reply to the email to post entries. The app is live at https://dabble.me. This is a great replacement if you had ever used OhLife.

This app utilizes the following 3rd party services:

  • CloudFlare managed DNS + free SSL support (free for basic service)
  • Mailgun for Sending & Receiving Email (free for 50k emails per month)
  • Amazon S3 for Photo Uploads & Storage (free for 1 year)
  • MailChimp for sending updates to all users (free for 2,000 subscribers)
  • Google Analytics for traffic stats (free for standard analytics)
  • Recaptcha to prevent bot signups (free)
  • Clarafai to analyze images for legality (free up to 5,000/mo)

I recommend forking and setting up a server at Heroku. You can generate a free SSL certificate at StartSSL.

You will need to setup Mailgun to receive incoming emails and point them to your app to parse.

In order to turn on scheduled emails in Heroku, you'll need to add an hourly job using the Heroku Scheduler.

rake entry:send_hourly_entries

Your local environment variables at config/local_env.yml (and on Heroku) will need to be something like this (rake db:seed will create the [email protected] account for you):

MAIN_DOMAIN: yourdomain.com
SECRET_KEY_BASE: 1234..1234
DEVISE_SECRET_KEY: 1234..1234
SMTP_DOMAIN: post.yourdomain.com
MAILGUN_API_KEY=api-key
MAILCHIMP_API_KEY: f....3333-ek3
MAILCHIMP_LIST_ID: 9982...112
ADMIN_EMAILS: [email protected],[email protected]
RECAPTCHA_SITE_KEY: 6Lc6BAAAAAAAAChqRbQZcn_yyyyyyyyyyyyyyyyy
RECAPTCHA_SECRET_KEY: 6Lc6BAAAAAAAAKN3DRm6VA_xxxxxxxxxxxxxxxxx
CLARIFAI_V2_API_KEY: asdl2k34jl2kn1l2hn234
CLARIFAI_V2_NSFW_MODEL: asdflkj23498oihlj2n34kn23
GOOGLE_ANALYTICS_ID=UA-12345-67 ## ONLY FOR PRODUCTION

###Things you may want to rip out

If you want to bypass using Mailchimp to collect email addresses, simply don't put a value in for MAILCHIMP_API_KEY. I use Mailchimp to email out new features to the users at Dabble.me, so if you're the only one using your app it doesn't make sense to have Mailchimp.

Same for Recaptcha and Clarafai: simply don't add an environment variables for RECAPTCHA_SITE_KEY, CLARIFAI_V2_API_KEY.

###Tests

There is healthy coverage of the app, which you can run with:

rake

###Administration Portal

The Admin emails are accounts that have access to the Admin Dropdown in the navbar (lock icon) that give you details into the number of entries and users in the system.

###Inspirations and OhLife Importer

If you want random bits of inspiration, you can load up different quotes in the Inspiration table to be shown above the New Posts page and at the bottom of emails. If you plan on using OhLife, the system will tag imported posts with inspiration_id of 1 - so create the first Inspiration with a category name of "OhLife".

Inspiration.create(category: 'OhLife', body: 'Imported from OhLife')

=====

Current features:

  • Read past entries by month/year
  • Create new entries with simple formatting
  • OhLife Importer
  • Email: Reply-to-post new entries on days of the week you choose (with random past entries embedded)
  • Associate 1 image to a specific entry
  • Search with basic analytics around posting
  • Hashtag support for tagging your entries
  • Year in Review

dabble.me's People

Contributors

parterburn avatar tagliala avatar cesidio avatar inem avatar dependabot[bot] avatar shrinkrayio avatar phreeza avatar oleksmarkh avatar code-factor avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.