• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Newsletter Rails engine

Chaskiq

A Rails engine to send newsletters.

The Chasquis (also Chaskiq (Quechua word)) were agile and highly trained runners that delivered messages royal delicacies such as fish and other objects throughout the Inca Empire, principally in the service of the Sapa Inca.

Motivation.

I really don't like the idea of paying ~50USD/mo to send a simple newsletter, I find that commercial alternatives are really awesome, but those solutions have nothing that the OS community can't achieve.

How it works.

Chaskiq works with Amazon SES to send mails and Amazon SNS service to get the bounces & complaints. The SNS integration is optional but recommended in order to get those features.

Features:

  • Email template editor out of the box.
  • Mustache tags enables use of variables in templates.
  • Reusable templates.
  • Reusable email lists.
  • Tracks opens and clicks.
  • Tracks bounces and complaints (via AWS SNS).
  • Displays reports on:
    • % of deliveries.
    • clicks, opens, bounces, complaints.
    • Detail list of who opens, clicks, bounces & complains.

How to install:

Use chaskiq as a gem in a rails project.

  • gem 'chaskiq' in your Gemfile and execute bundle install

  • rails generate chaskiq:install will add an initializer, route & migrations

  • rake db:migrate

  • config/initializers/active_job.rb ActiveJob::Base.queue_adapter = :sidekiq

Secure system:

You can use any authentication system, just configure the Chaskiq authentication method for controllers.

Assuming you are using Devise, to protect the admin paths you will use the Devise authenticate_*! method for controllers as is.

In config/initializers/chaskiq.rb:

Chaskiq::Config.setup do |config|
  config.authentication_method = :authenticate_user!
end

Read about Heroku, VPS installs, Amazon integration and more on the wiki https://github.com/michelson/chaskiq/wiki

TODO:

  • API support.
  • more insightful reporting
  • scheduled deliveries via (sidetiq or whenever).
  • send to many lists in one campaign and send to list segments (like mailchimp).

Miguel Michelson Martinez. released under MIT.

More Repositories

1

Dante

Just another Medium wysiwyg editor clone
JavaScript
2,004
star
2

lazy_high_charts

Make highcharts a la ruby , works in rails 5.X / 4.X / 3.X, and other ruby web frameworks
Ruby
1,048
star
3

dante2

A complete rewrite of dante editor in draft-js
JavaScript
910
star
4

espinita

Audit activerecord models like a boss (and works with rails 4!)
Ruby
220
star
5

BigBroda

GoogleBig Query ActiveRecord Adapter & API client
Ruby
110
star
6

rails-ui

A collection of components based on Ruby ViewComponent & Stimulus, heavily inspired by shadcn/ui
HTML
27
star
7

lazy_google_analytics

google analytics api client for the lazy
Ruby
22
star
8

autocontext

An Elixir Ecto utility library that provides ActiveRecord-like callbacks, simplifying the management of database operations. This includes before_save, after_save, create, update, and delete functions.
Elixir
12
star
9

detached-carrot

A port of SimplifiedStarling plugin for push-pop active_record tasks with RabbitMQ
Ruby
11
star
10

acts_as_uploaded

a simple rails plugin for upload_nginx module and amazon s3 service, inspired in attachment_fu, (work in progress but in production in artenlinea.com)
Ruby
8
star
11

osc-puredata-ruby

JavaScript
5
star
12

dante2-tests

dante tests using es6 modules
JavaScript
3
star
13

apidone-client

api done client made in ruby (coding) dojo
Ruby
3
star
14

ws-celluloid

JavaScript
3
star
15

discobolo

ruby worker system for disque
Ruby
3
star
16

needish-gem

this gem provides basic methods to access needish.com api, profile, friends, needs and helps
Ruby
3
star
17

faye-tests

Ruby
2
star
18

go_4_live

Go and ableton live OSC experiment
Go
2
star
19

componium-beat

a set of gui abstractions for PD
Pure Data
2
star
20

sinatra-oa-consumer

sinatra-oauth-consumer
1
star
21

LoadTester

This is a simple package to benchmark http requests, This especially shows you how many requests per second a http server is capable of serving.
Go
1
star
22

code-test

Ruby
1
star
23

mongo_mail_store

Rails plugin to catch outcoming emails and store it in MongoDB
Ruby
1
star
24

nginx-chef

clone of nginx-chef v 2.7.5
Ruby
1
star