{"id":20432918,"url":"https://github.com/cdzombak/a2-foia-rss","last_synced_at":"2025-04-12T20:53:09.037Z","repository":{"id":66912859,"uuid":"144224636","full_name":"cdzombak/a2-foia-rss","owner":"cdzombak","description":"Feed generator for Ann Arbor's online FOIA database","archived":false,"fork":false,"pushed_at":"2025-04-07T14:06:38.000Z","size":65,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T20:53:03.848Z","etag":null,"topics":["ann-arbor","foia","rss"],"latest_commit_sha":null,"homepage":"https://www.dzombak.com/local/feed/a2-foia.rss","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdzombak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-08-10T02:07:38.000Z","updated_at":"2025-02-17T17:11:54.000Z","dependencies_parsed_at":"2024-02-06T16:26:32.587Z","dependency_job_id":"94b83564-6eab-4698-83ac-bf2c7978b7b7","html_url":"https://github.com/cdzombak/a2-foia-rss","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2Fa2-foia-rss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2Fa2-foia-rss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2Fa2-foia-rss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2Fa2-foia-rss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdzombak","download_url":"https://codeload.github.com/cdzombak/a2-foia-rss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631725,"owners_count":21136560,"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":["ann-arbor","foia","rss"],"created_at":"2024-11-15T08:17:10.924Z","updated_at":"2025-04-12T20:53:09.031Z","avatar_url":"https://github.com/cdzombak.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ann Arbor FOIA RSS/JSON Feed\n\nGenerates an RSS feed and a [JSON feed](https://jsonfeed.org) from Ann Arbor's public [FOIA request database](https://www.a2gov.org/departments/city-clerk/Pages/FOIA-Requests.aspx).\n\n## Subscribing to the feed\n\nAdd [`https://www.dzombak.com/local/feed/a2-foia.rss`](https://www.dzombak.com/local/feed/a2-foia.rss) to your feed reader of choice.\n\n(Or use [`https://www.dzombak.com/local/feed/a2-foia.json`](https://www.dzombak.com/local/feed/a2-foia.json) if you prefer a [JSON Feed](https://jsonfeed.org).)\n\n## Deployment (Docker)\n\nPre-built Docker images are available for linux/amd64, linux/arm64, and linux/386; see [Docker Hub](https://hub.docker.com/r/cdzombak/a2-foia-rss) or [GHCR](https://github.com/cdzombak/a2-foia-rss/pkgs/container/a2-foia-rss) for details. This is the preferred deployment method, as it avoids the need to deal with Ruby versions or building Nokogiri.\n\nRun the image like the following:\n\n```shell\ndocker run --rm \\\n    -v /srv/a2-foia-public:/app/public \\\n    --user=www-data:www-data \\\n    cdzombak/a2-foia-rss:1\n```\n\nSchedule it periodically with a crontab entry like:\n\n```text\n*/30  *  *  *  *  docker run --rm -v /srv/a2-foia-public:/app/public --user=www-data:www-data cdzombak/a2-foia-rss:main\n```\n\nOr, using [runner](https://github.com/cdzombak/runner) to retry in case of errors and suppress output on successful runs:\n\n```text\n*/30  *  *  *  *  runner -retries 2 -job-name \"A2 FOIA RSS Feed\" -- docker run --rm -v /srv/a2-foia-public:/app/public --user=www-data:www-data cdzombak/a2-foia-rss:main\n```\n\n## Deployment (local Ruby)\n\n1. Clone the repo and change to the `a2-foia-rss` directory\n1. `bundle install --path Vendor/bundle`\n1. Refer to [the Nokogiri docs](http://www.nokogiri.org/tutorials/installing_nokogiri.html) to troubleshoot installation.\n1. Schedule periodically via cron, with something like:\n\n```text\n0  *  *  *  *  cd /home/cdzombak/scripts/a2-foia-rss \u0026\u0026 /usr/local/bin/bundle exec /usr/bin/ruby build_rss.rb`\n```\n\n## Author \u0026 Contributors\n\nAuthor: [Chris Dzombak](https://www.dzombak.com) ([GitHub @cdzombak](https://www.github.com/cdzombak))\n\nThank you to the contributors who have helped keep this running reliably:\n\n- [Andy Blyler](https://github.com/ablyler)\n\n## License\n\nMIT; see `LICENSE` in this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdzombak%2Fa2-foia-rss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdzombak%2Fa2-foia-rss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdzombak%2Fa2-foia-rss/lists"}