{"id":16832495,"url":"https://github.com/kennethormandy/call-your-mp","last_synced_at":"2025-07-04T15:38:30.748Z","repository":{"id":81734595,"uuid":"80378354","full_name":"kennethormandy/call-your-mp","owner":"kennethormandy","description":"Prefill Canadian MP details in your phone call scripts and emails.","archived":false,"fork":false,"pushed_at":"2017-02-05T19:28:06.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T09:41:34.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://call-your-mp.surge.sh","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kennethormandy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-29T22:48:29.000Z","updated_at":"2017-02-05T19:25:32.000Z","dependencies_parsed_at":"2023-07-09T08:00:31.355Z","dependency_job_id":null,"html_url":"https://github.com/kennethormandy/call-your-mp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Fcall-your-mp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Fcall-your-mp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Fcall-your-mp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethormandy%2Fcall-your-mp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kennethormandy","download_url":"https://codeload.github.com/kennethormandy/call-your-mp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244141479,"owners_count":20404837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T11:49:17.464Z","updated_at":"2025-03-18T02:19:27.698Z","avatar_url":"https://github.com/kennethormandy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Call Your MP](https://call-your-mp.surge.sh)\n\nPrefill Canadian MP details in your phone call scripts and emails.\n\n[![](https://cloud.githubusercontent.com/assets/1581276/22622690/882a39fe-eaf6-11e6-814a-c97a654ca3d5.gif)](https://call-your-mp.surge.sh)\n\nIf you have any questions about the website, feel free to [open an issue](https://github.com/kennethormandy/call-your-mp/issues).\n\n## MP letters\n\nThe content for this letter is pulled from [skeskali/MPFormLetters](https://github.com/skeskali/MPFormLetters). Thanks [@skeskali](https://twitter.com/skeskali) and [@freyburg](https://twitter.com/freyburg)! Future iterations of this site should support other letters.\n\n## Getting started\n\nTo get started, clone this project locally by running the following command in your terminal:\n\n```sh\ngit clone https://github.com/kennethormandy/call-your-mp\ncd call-your-mp\n```\n\nRunning this static site locally will require a recent stable version of [Node.js](https://nodejs.org) installed. (Node.js isn’t used in production and you don’t really need to know much about it to contribute to the site. [hjs-webpack](https://github.com/HenrikJoreteg/hjs-webpack), a preconfigured version of [Webpack](https://github.com/webpack/webpack), is used as the static site generator and compile the Sass files, metadata, and React components into HTML, CSS, and JavaScript using Node.js.\n\nNode.js comes with [npm](https://npmjs.org), the package manager for JavaScript. Use it to install the project’s dependencies (the other JavaScript libraries and tools listed in the `package.json` file) by running the following command:\n\n```sh\n# Install dependencies\nnpm install\n```\n\n## Serving the site\n\nTo run the site locally, run the following commands in your terminal:\n\n```sh\n# Start the project\nnpm start\n\n# Now available at http://localhost:3000\n```\n\n## Compiling the site\n\nYou can compile the site to static HTML, CSS, and JavaScript at any point using the following command:\n\n```sh\nnpm run build\n```\n\nThis will compile the site to a `./build` directory using Webpack.\n\n## Deploying the site\n\nThe deployment process for publishing the site to [Surge.sh](https://surge.sh) is already set up.\n\nThis should also be triggered automatically via [Travis CI](http://travis-ci.com). When you push to the `master` branch, the dependencies are installed, the `npm run build` command is run, and then deployment is handled via [Surge.sh](https://surge.sh).\n\n### Deploy to staging\n\nRunning the following command will automatically compile the site, add a `robots.txt` file and publish it to the staging domain, so the site can be previewed in the production environment:\n\n```sh\nnpm run stage\n```\n\n### Deploy to production\n\nRunning the following command will automatically compile the site and deploy to the production domain:\n\n```sh\nnpm run deploy\n```\n\nYou’ll need an [invitation](https://surge.sh/help/adding-collaborators) from [@kennethormandy](https://github.com/kennethormandy) to publish.\n\n## License\n\nCopyright © 2017 [Kenneth Ormandy](http://kennethormandy.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethormandy%2Fcall-your-mp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkennethormandy%2Fcall-your-mp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethormandy%2Fcall-your-mp/lists"}