{"id":43305714,"url":"https://github.com/drehelis/sammy_ofer","last_synced_at":"2026-02-01T20:15:15.686Z","repository":{"id":43089053,"uuid":"240920464","full_name":"drehelis/sammy_ofer","owner":"drehelis","description":"Sammy Ofer Notification Bot 🤖","archived":false,"fork":false,"pushed_at":"2026-01-10T15:30:30.000Z","size":12775,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T04:44:23.099Z","etag":null,"topics":["bot","haifa","notification","ofer","sammy","stadium","telegram"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/drehelis.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-16T16:01:30.000Z","updated_at":"2025-12-27T17:50:31.000Z","dependencies_parsed_at":"2022-09-22T21:30:55.303Z","dependency_job_id":"32a47706-3136-4eec-b617-99abb950801b","html_url":"https://github.com/drehelis/sammy_ofer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drehelis/sammy_ofer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drehelis%2Fsammy_ofer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drehelis%2Fsammy_ofer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drehelis%2Fsammy_ofer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drehelis%2Fsammy_ofer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drehelis","download_url":"https://codeload.github.com/drehelis/sammy_ofer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drehelis%2Fsammy_ofer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28988635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T18:17:03.387Z","status":"ssl_error","status_checked_at":"2026-02-01T18:16:57.287Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bot","haifa","notification","ofer","sammy","stadium","telegram"],"created_at":"2026-02-01T20:15:14.901Z","updated_at":"2026-02-01T20:15:15.679Z","avatar_url":"https://github.com/drehelis.png","language":"CSS","funding_links":["https://www.buymeacoffee.com/drehelis"],"categories":[],"sub_categories":[],"readme":"# Sammy Ofer Notification Bot 🤖\n\n[![\"Buy Me A Coffee\"](https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee\u0026style=plastic)](https://www.buymeacoffee.com/drehelis)\n[![Telegram](https://img.shields.io/endpoint?color=neon\u0026style=plastic\u0026url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Fsammy_ofer_notification_channel\u0026label=Sammy%20Ofer%20Notification%20Channel)](https://t.me/sammy_ofer_notification_channel)\n[![Calendar](https://img.shields.io/badge/-Sammy_Ofer_Notification_Calendar-gray?logo=googlecalendar\u0026style=plastic\u0026logoColor=e9ff70)](https://yeshmishak.top/cal.html)\n\n## Description\n\nA small time scheduled (cron) _web-scraper_ to notify of upcoming game events taking place in [Sammy Ofer Stadium](https://www.haifa-stadium.com/ \"Sammy Ofer Stadium\").\n\nJoin the notification #channel on [Telegram](https://t.me/sammy_ofer_notification_channel) and enjoy:\n\n* ☝️ Single notification for the upcoming event\n* 🚦 Matchup, average attendance and roadblock times\n* ⛔ Spam free service\n* 🌎 Static landing page to be shown on big screen/TV\n* 🗓️ Public Google Calendar\n\n## Web-UI\n\n\u003cimg src=\"img/screenshot.png\"\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"img/screenshot_mobile.png\" width=\"400\" height=\"888\"/\u003e\n\u003c/p\u003e\n\n## Static landing page ([link](https://drehelis.github.io/sammy_ofer/static.html))\n\n![Static screenshot](static.jpeg)\n\n## Google Calendar\n\n![Google Calendar](google_calendar.png)\n\n## Build it\n```\ngit clone https://github.com/autogun/sammy_ofer.git\ncd sammy_ofer\ndocker build . -t sammy_ofer\n```\n\n## Run it\n```\ncat \u003c\u003c EOF \u003e .env\nTELEGRAM_CHANNEL_ID=\u003crequired\u003e\nTELEGRAM_TOKEN=\u003crequired\u003e\nGH_PAT=(optional)\nSKIP_COMMIT=false\nSKIP_CALENDAR=false\nEOF\n\ndocker run -d --name sammy_ofer \\\n    --publish 5000:5000 \\\n    --restart=on-failure \\\n    --env-file ./.env \\\n    --volume $(PWD)/service_account.json:/usr/src/sammy_ofer/service_account.json \\\n    --volume $(PWD)/sammy_ofer.db:/usr/src/sammy_ofer/sammy_ofer.db \\\n    sammy_ofer:latest\n```\n\n## Debug\n```\nuv pip install -r requirements.txt --system\npython init_db.py\n\nflask run --debug --port=5001\n```\n\nManually run cron job\n```\npython -c \"from scheduler import run_job; run_job()\"\n```\n\n## TODO\nI'm out of ideas...\n\n- [x] ~~Use SQLite instead of a dictionary file~~\n- [x] ~~**Delete** option currently does absolutely nothing~~\n- [x] ~~Cron configuation (some sort of UI?)~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrehelis%2Fsammy_ofer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrehelis%2Fsammy_ofer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrehelis%2Fsammy_ofer/lists"}