{"id":24849395,"url":"https://github.com/ivantjh/sgshowtimesapi","last_synced_at":"2025-10-14T21:30:36.805Z","repository":{"id":19940469,"uuid":"86993282","full_name":"ivantjh/sgShowtimesApi","owner":"ivantjh","description":"Scrapes Singapore movie showtimes","archived":false,"fork":false,"pushed_at":"2023-01-18T19:16:18.000Z","size":553,"stargazers_count":6,"open_issues_count":9,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T12:52:16.449Z","etag":null,"topics":["movies","ruby","showtimes","singapore"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/ivantjh.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}},"created_at":"2017-04-02T14:54:12.000Z","updated_at":"2024-09-13T15:50:30.000Z","dependencies_parsed_at":"2023-02-10T17:05:14.301Z","dependency_job_id":null,"html_url":"https://github.com/ivantjh/sgShowtimesApi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ivantjh/sgShowtimesApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2FsgShowtimesApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2FsgShowtimesApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2FsgShowtimesApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2FsgShowtimesApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivantjh","download_url":"https://codeload.github.com/ivantjh/sgShowtimesApi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivantjh%2FsgShowtimesApi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021373,"owners_count":26087022,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["movies","ruby","showtimes","singapore"],"created_at":"2025-01-31T12:46:39.924Z","updated_at":"2025-10-14T21:30:36.487Z","avatar_url":"https://github.com/ivantjh.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sgShowtimesApi\n\nScrapes Singapore showtimes\n\n## Development\n1. Install `phantomjs` and `ruby 2.7`\n2. Install the `bundler` gem and run `bundle install`\n3. Set up database\n4. Run `ruby server.rb`\n\n### To test web scraper\n1. Run `irb` (`ruby` interpreter) in home directory\n2. Type `load \"./app/scraper/scraper.rb\"` into `irb`\n3. Type `Scraper.start_scraper` to test\n\n### To set up database\n1. Run `rake db:environment:set` if needed\n2. Run `rake db:setup`\n\n## Deployment\n1. Install `phantomjs` and `ruby 2.7`\n2. Install the `bundler` gem and run `bundle install --production`\n3. Add the scraper and maintenance task to cron using `bundle exec whenever -w`\n\n### Database\n1. Install `postgresql` and create a new database according to `config/database.yml`. Follow the production section for configuration\n2. Run `RACK_ENV='production' bundle exec rake db:setup` to setup and seed the database\n\nLastly, run the server in production using\n`RACK_ENV='production' ruby server.rb`\n\n[API Documentation](docs/api-ref.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivantjh%2Fsgshowtimesapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivantjh%2Fsgshowtimesapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivantjh%2Fsgshowtimesapi/lists"}