{"id":22010154,"url":"https://github.com/beldar/can-roca-checker","last_synced_at":"2026-04-14T00:03:41.229Z","repository":{"id":145774112,"uuid":"141349021","full_name":"beldar/can-roca-checker","owner":"beldar","description":"Node script to check availability for the Celler de Can Roca restaurant","archived":false,"fork":false,"pushed_at":"2018-07-17T21:50:22.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T14:22:37.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/beldar.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":"2018-07-17T21:49:16.000Z","updated_at":"2018-07-17T21:50:24.000Z","dependencies_parsed_at":"2023-05-09T16:52:52.375Z","dependency_job_id":null,"html_url":"https://github.com/beldar/can-roca-checker","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/beldar%2Fcan-roca-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beldar%2Fcan-roca-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beldar%2Fcan-roca-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beldar%2Fcan-roca-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beldar","download_url":"https://codeload.github.com/beldar/can-roca-checker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245072250,"owners_count":20556353,"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-11-30T02:12:08.312Z","updated_at":"2026-04-14T00:03:41.199Z","avatar_url":"https://github.com/beldar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Can Roca Checker\n\nEl Celler de Can Roca is one of the best restaurants of the world, but its only\nimpossible to get a reservation. They only book 11 months in advance, every 1st day\nof the month a new month opens for reservations (11 months from now), and they get sold\nout very fast.\n\nSo I created this little node script, using puppeteer to check for availability every month,\nand send you an email if there is any.\n\n## Email sending\n\nTo send the emails the script uses [Sparkpost](http://www.sparkpost.com), you can create an account for free.\n\nYou will also need these environmental variables for the email sending to work:\n\n| Name | Description | Required |\n| ---- | ----------- | -------- |\n| EMAIL_FROM | Email to send from | Yes |\n| EMAIL_TO | Email to send to | Yes |\n| SPARKPOST_API_KEY | [API key](https://app.sparkpost.com/account/api-keys) to send emails using Sparkpost | Yes |\n\n\n## Crontab\n\nTo run this script the last day of the month at 23:01pm (UK time, which is 00:01pm in Spain)\nyou can use the following crontab format. Modify the time depending on your timezone.\n\n```\n01 23 28-31 * * ['$(date +%d -d tomorrow)' == '01' ] \u0026\u0026 node /path/to/index.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeldar%2Fcan-roca-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeldar%2Fcan-roca-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeldar%2Fcan-roca-checker/lists"}