Coder Social home page Coder Social logo

reparty's Introduction

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 = "[email protected]"
  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[[email protected]]

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[[email protected]]

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

reparty's People

Contributors

timdorr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

reparty's Issues

Graph changes depending on type

Here are some changes to make to the graphs:

  • Gauges should be bar graphs
  • Counters should be area line graphs
  • Apply to Sendgrid report

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.