Skip to content

demand-progress/pool-party

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pool Party

Pool Party allows non-profits to run their own secure email swaps for free.

Instructions

# 1) Install dependencies with NPM.
npm install

# 2) Start the swap.
. ./swap.sh

Inputs

The inputs/ directory has been filled with sample files. You'll want to replace these files before running your own swap.

input/config.json

This file defines which organizations, suppression lists, state preferences, and referral codes will be considered.

input/suppression/organization_a.csv

This file defines a list of email hashes which Organization A is not interested in. All organizations participating in the swap ({"swapping": true}) should have at least one suppression list.

input/submissions.csv

This file defines a list of signature events. Ideally, petitions will have an opt-out checkbox. If this is the case, then the swappable column should have a value of "constent" if the user is opted-in. Other columns include state, which is considered when an organization prefers members from certain states. The other columns should be relatively self-explanatory.

About

Pool Party allows non-profits to run their own secure email swaps for free.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 99.7%
  • Shell 0.3%