{"id":20753614,"url":"https://github.com/vharmain/finland-aurora-notifier-lambda","last_synced_at":"2025-03-11T14:52:15.686Z","repository":{"id":40732432,"uuid":"143695237","full_name":"vharmain/finland-aurora-notifier-lambda","owner":"vharmain","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-25T08:36:00.000Z","size":50,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T04:13:12.460Z","etag":null,"topics":["aws-lambda","clojurescript","serverless-framework"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/vharmain.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":"2018-08-06T07:57:27.000Z","updated_at":"2021-08-17T06:40:03.000Z","dependencies_parsed_at":"2022-08-19T10:12:32.804Z","dependency_job_id":null,"html_url":"https://github.com/vharmain/finland-aurora-notifier-lambda","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/vharmain%2Ffinland-aurora-notifier-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vharmain%2Ffinland-aurora-notifier-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vharmain%2Ffinland-aurora-notifier-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vharmain%2Ffinland-aurora-notifier-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vharmain","download_url":"https://codeload.github.com/vharmain/finland-aurora-notifier-lambda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243057255,"owners_count":20229174,"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":["aws-lambda","clojurescript","serverless-framework"],"created_at":"2024-11-17T09:14:19.361Z","updated_at":"2025-03-11T14:52:15.661Z","avatar_url":"https://github.com/vharmain.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Finland Aurora Notifier Lambda\n\nAWS Lambda web-scraper which sends notification to pre-defined email/sms address if the [Finnish Meteorological Institute Aurora Forecast](http://aurorasnow.fmi.fi/public_service/magforecast_en.html) shows promising activity at selected observation station.\n\nRead more information about the [forecast](http://aurorasnow.fmi.fi/public_service/forecast_description_en.html).\n\nThe code is written for personal use.\n\n## Prerequisites\n\n* [node](https://nodejs.org/en/download/)\n\nOn a Mac you can install node easily with [Homebrew](https://brew.sh/).\n\n``` shell\n$ brew install node\n```\n\n## Install dependencies\n\n```shell\n$ npm install\n```\n\n## SES email setup\n\nYou need to [verify](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses-procedure.html) sender and recipient email addresses in order to send email through SES. If you want to send emails to non-verified recipients you need to [move out of the sandbox](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html).\n\n## Set environment variables\n\n``` shell\n$ cp .env.sample.sh .env.sh\n\n# Fill in config variables\n$ $EDITOR .env.sh\n```\n\n## Deploy\n\n```shell\n$ source .env.sh\n$ npm run deploy\n```\n\n## Set invoke schedule\n\nYou can't see the auroras if the sky is not dark. Therefore it makes sense to trigger the check only during the aurora season and limit checks to evenings and nights.\n\nSee [AWS Lambda docs on cron syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html) and edit trigger in `serverless.yml` accordingly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvharmain%2Ffinland-aurora-notifier-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvharmain%2Ffinland-aurora-notifier-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvharmain%2Ffinland-aurora-notifier-lambda/lists"}