Project

reparty

0.0
No commit activity in last 3 years
No release in over 3 years
Stupid easy business analytics
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Reparty Build Status Dependency Status Code Climate

A business analytics reporting party!

Although initially concentrating on a daily email report, Reparty intends to be an easy tool for generating reports focused on business analytics about your app.

A modular design is used, so reporting on a variety of different data sources is possible. Custom modules can be created within your app. The currently bundled modules are:

  • ActiveRecord, including arbitrary sum/count columns
  • SendGrid
  • Mixpanel (funnels and engagement for now)

Other modules will be added over time. This is in use in production at my company, SalesLoft, so focus will be on the modules that best suit our needs. Feel free to submit a pull request with any modules you have created.

Configuration

You can configure Reparty in an initalizer using a config block:

Reparty.config do |config|
  config.from = "test@test.com"
  config.subject = "SalesLoft JCA Daily Report"

  config.add_report Reparty::Report::ActiveRecord, "New User Signups", :user
end

Better documentation of Reparty and each individual module's configuration is coming. For now, you'll just have to read the code (sorry!). Check the test suite for examples.

Usage

Generating an email is as simple as a rake task:

rake reparty:email[someone@somewhere.com]

You can run this in a cron job or other scheduling system. A weekly email is currently hacked in to the code, which you can run using it's separate rake task:

rake reparty:weekly_email[someone@somewhere.com]

This will likely change in the future, so watch out when upgrading!