{"id":23379031,"url":"https://github.com/colevoss/temperature-blanket","last_synced_at":"2025-04-08T05:50:16.366Z","repository":{"id":149223774,"uuid":"587924318","full_name":"colevoss/temperature-blanket","owner":"colevoss","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-12T19:49:35.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T04:17:48.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/colevoss.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":"2023-01-11T22:47:49.000Z","updated_at":"2023-03-10T08:36:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1e5f739-f2b2-4455-8957-10f048af14ac","html_url":"https://github.com/colevoss/temperature-blanket","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/colevoss%2Ftemperature-blanket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colevoss%2Ftemperature-blanket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colevoss%2Ftemperature-blanket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colevoss%2Ftemperature-blanket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colevoss","download_url":"https://codeload.github.com/colevoss/temperature-blanket/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247785942,"owners_count":20995644,"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-12-21T19:16:18.245Z","updated_at":"2025-04-08T05:50:16.340Z","avatar_url":"https://github.com/colevoss.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Temperature Blanket\n\nSmall Go lambda that sends the previous day's High, Low, and Average temperature\nto configured phone numbers via text for the use of crocheting a temperature blanket.\n\nCurrently only works for the Lincoln, NE.\n\nIt will send the text message every morning at 10 AM (CST)\n\n## Integrations\n\n### [Synoptic Weather API](https://synopticdata.com/)\n\nThe [Synoptic Mesonet Timeseries API](https://developers.synopticdata.com/mesonet/) is\nused for gathering the historical air temperature for the previous day.\n\n### Twilio\n\nText messages are sent using Twilio's SMS service\n\n## Build\n\n```bash\nGOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main main.go\n```\n\n## Zip\n```bash\nzip main.zip main\n```\n\n## Test\n\nPhone numbers should be in the `1112223333` format where 1's are the area code, 2's are the\nprefix and 3's are the final four. No need to include `+1`\n\n```bash\nTB_PHONE_NUMBERS=\"\u003cCOMMA DELIMTED LIST OF PHONE NUMBERS\u003e\" go test ./blanket -v\n```\n\n## Lambda\n\nCurrently this lambda is manually deployed using the AWS Lambda console\n\n## Env Variables\n\nThe following environment variables are necessary for the lambda to function properly\n\n* `SYNOPTIC_API_TOKEN` - Private API token for access to the Synoptic weather API\n* `TWILIO_ACCOUNT_SID` - Twilio account ID\n* `TWILIO_API_TOKEN` - Private Twilio API Token\n* `TWILIO_MESSAGE_SERVICE_ID` - Twilio Temperature Blanket Message Service ID\n* `TB_PHONE_NUMBERS` - Comma delimited list of phone numbers to send the text to\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolevoss%2Ftemperature-blanket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolevoss%2Ftemperature-blanket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolevoss%2Ftemperature-blanket/lists"}