Skip to content

huokedu/legco-watch

 
 

Repository files navigation

LegCo Watch

Join our mailing list and introduce yourself if you'd like to contribute. Or check out our issue tracker.

Overview

LegCo Watch is a parliamentary monitoring website in the same vein as openparliament.ca, GovTrack.us, and TheyWorkForYou.

One of the first challenges is that we need to parse much of the data that is stored on the LegCo's official website. Some of it is accessible as XML or in an API, but the majority is in HTML or PDF.

Once the data is parsed, we'll store the it in a structured database format, and make it accessible via API and via our site.

Technology stack

We use Django for our backend and various Python packages to conduct our scraping. The Pombola and Poplus projects have been very helpful as a guide for how to implement some of our components in Django.

Contributing

For non-developers, you can contribute by helping us by telling us what you want to use the data for. We're constantly collecting new use cases to guide our design of the site.

For developers, you can contribute by forking this repository. Create a branch on your fork for the feature you want to work on, then submit a pull request when you're ready. Be sure to communicate with us on our mailing list so that we can coordinate our work. We also have a Vagrantfile set up for the local development environment that you can use. Learn more about Vagrant from their docs

Deploying

Certificates and private keys are not stored in this repo. You'll need to copy them into devops/certs or devops/roles/common/files before some of the Ansible deployment scripts will work.

About

Parliamentary monitoring for Hong Kong

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.7%
  • Shell 3.3%