Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.

PRMU (Puerto Rico Maria Updates) Facebook updates for mobile #24

Open
SnacksOnAPlane opened this issue Oct 9, 2017 · 0 comments
Open

Comments

@SnacksOnAPlane
Copy link

https://github.com/SnacksOnAPlane/prmu (backend code that pushes data to google sheets)
https://github.com/SnacksOnAPlane/prmu-site (frontend code, GH pages hosted site)

This is live and running at https://snacksonaplane.github.io/prmu-site/

Basically, the code pulls the latest updates from the FB group every 20 minutes and populates a big google spreadsheet with anything that has certain keywords + city names in it. The frontend asks for that spreadsheet in JSONP format and displays it in a mobile-friendly way.

It runs on a micro EC2 instance with a SQLite database (went for the cheap-n-easy setup).

The sheets are appended to, so people can manually go in and delete any redundant/spammy entries.

Suggestions welcome, including ways to incorporate FB comments (which aren't currently processed) without making the data too big to download.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant