{"id":16914997,"url":"https://github.com/yparitcher/sms-bot","last_synced_at":"2026-05-20T10:37:41.307Z","repository":{"id":121677612,"uuid":"131943574","full_name":"yparitcher/sms-bot","owner":"yparitcher","description":"a modular sms query bot written in C for responding to sms commands via email","archived":false,"fork":false,"pushed_at":"2018-05-22T08:05:06.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T20:14:02.156Z","etag":null,"topics":["c","email","sms","sms-api","sms-commands","sms-gateway"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yparitcher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","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-05-03T04:55:57.000Z","updated_at":"2021-02-01T05:17:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"0597bc01-37a0-4c1b-9b67-becf489e3e43","html_url":"https://github.com/yparitcher/sms-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yparitcher/sms-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yparitcher%2Fsms-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yparitcher%2Fsms-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yparitcher%2Fsms-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yparitcher%2Fsms-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yparitcher","download_url":"https://codeload.github.com/yparitcher/sms-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yparitcher%2Fsms-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33255819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T04:48:54.280Z","status":"ssl_error","status_checked_at":"2026-05-20T04:48:10.851Z","response_time":356,"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":["c","email","sms","sms-api","sms-commands","sms-gateway"],"created_at":"2024-10-13T19:15:48.376Z","updated_at":"2026-05-20T10:37:41.301Z","avatar_url":"https://github.com/yparitcher.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sms-bot\nsms-bot is a modular sms query bot for responding to sms commands via email.\n\nThis is a work in progress so there will be updates and changes coming.\n\n## About\nsms-bot uses a Gmail account to listen for texts and respond based on the query.\nIt is designed to be run as a daemon that will check the email for new texts, parse them and respond.\n\n## Dependency\nsms-bot requires:\n- [libcurl](https://curl.haxx.se/libcurl/) (for the network library).\n- libsystemd-dev (to interface with systemd).\n- To use as a service [systemd](https://www.freedesktop.org/wiki/Software/systemd/) must be your init system.\n- [Gmail](https://www.google.com/gmail)\n- [Weather underground api](https://www.wunderground.com/weather/api/)\n\n## Setup\n- make a [Gmail](https://www.google.com/gmail) account (preferable to use a dedicated one so as not to interfere with regular emails).\n- turn on support for [less secure apps](https://myaccount.google.com/lesssecureapps).\n- sign up for [Weather underground api](https://www.wunderground.com/weather/api/) and get your api key.\n- edit the systemd service file to your liking see [`smsbot.service.example`](smsbot.service.example).\n- edit the .conf file by adding your:\n    - email\n    - user:password\n    - prefered mms response suffix (for messages over 160 characters)\n    - weather underground key\nsee [`smsbot.conf.example`](smsbot.conf.example).\n\n## Installation\n- run `git clone https://github.com/yparitcher/sms-bot`.\n- you may need to run `git submodules init` and `git submodules update` to get the submodule libraries.\n- run `make`.\n- copy the resulting `smsbot` file to `/usr/bin/`.\n- copy your `smsbot.service` to `/etc/systemd/system/`.\n- copy your `smsbot.conf` to `/etc/smsbot/` (you may have to make the folder).\n- to start the service run `systemctl start smsbot.service`.\n\n## Usage\n- for the current weather send a text to the email address with the zipcode `#weather 00501`\n- for the forecast send a text to the email address with the zipcode `#forecast 00501`, \noptionally including the amount of days `#forecast 00501 5`. the default is 2 days. \n\n## Acknowledgements\nsms-bot uses the following ibraries:\n\n- [parson](https://github.com/kgabis/parson) library to parse json.\nCopyright (c) 2012 - 2017 [Krzysztof Gabis](https://github.com/kgabis)\nlicensed under the MIT licence\n- [ini](https://github.com/rxi/ini) library for the config file.\nCopyright (c) 2016 [rxi](https://github.com/rxi)\nlicensed under the MIT licence\n\nThank you\n\n## License\nsms-bot is Copyright (c) 2018 [Yparitcher](https://github.com/yparitcher)\nlicensed under [The MIT License (MIT)](http://opensource.org/licenses/mit-license.php) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyparitcher%2Fsms-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyparitcher%2Fsms-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyparitcher%2Fsms-bot/lists"}