{"id":39189257,"url":"https://github.com/toby1991/sms-forwarder","last_synced_at":"2026-01-17T22:41:39.102Z","repository":{"id":79218222,"uuid":"203438153","full_name":"toby1991/sms-forwarder","owner":"toby1991","description":"A notifier that forward your sms from chip sim800c.","archived":false,"fork":false,"pushed_at":"2022-01-25T16:38:47.000Z","size":2533,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T12:04:02.177Z","etag":null,"topics":["chip","forwarder","pdu","pushover","sim800c","sms","usb-serial"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toby1991.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":"2019-08-20T19:07:27.000Z","updated_at":"2024-05-15T13:53:25.000Z","dependencies_parsed_at":"2023-03-13T20:10:51.176Z","dependency_job_id":null,"html_url":"https://github.com/toby1991/sms-forwarder","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"totoval/totoval","purl":"pkg:github/toby1991/sms-forwarder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toby1991%2Fsms-forwarder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toby1991%2Fsms-forwarder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toby1991%2Fsms-forwarder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toby1991%2Fsms-forwarder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toby1991","download_url":"https://codeload.github.com/toby1991/sms-forwarder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toby1991%2Fsms-forwarder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28521165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["chip","forwarder","pdu","pushover","sim800c","sms","usb-serial"],"created_at":"2026-01-17T22:41:38.511Z","updated_at":"2026-01-17T22:41:39.097Z","avatar_url":"https://github.com/toby1991.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMS Serial Chip Forwarder\n\n## ScreenShot\n![sms-forwarder](https://raw.githubusercontent.com/toby1991/sms-forwarder/master/.github/readme_assets/7.png)\n\n* sim800c [I bought here](https://item.taobao.com/item.htm?id=584802370108) ¥44.50\n\n```bash\n\u003e ./sms-notifier sms:read /dev/ttyUSB1\nINFO[2019-08-21T02:44:49+08:00] Send Bytes                                    bytes=\"ATE0\\r\\n\" length=6\nINFO[2019-08-21T02:44:49+08:00] Send Bytes                                    bytes=\"AT+CMEE=1\\r\\n\" length=11\nINFO[2019-08-21T02:44:49+08:00] Send Bytes                                    bytes=\"AT+CMGF=0\\r\\n\" length=11\nINFO[2019-08-21T02:44:49+08:00] Listening                                     com_port=/dev/ttyUSB1\nINFO[2019-08-21T02:44:49+08:00] Incoming data                                 data=OK\n```\n\n## How To Use\n1. Plug in your USB chip\n2. find your serial port name -\u003e `ls -l /dev/ttyUSB*`\n```bash\n\u003e ls -l /dev/ttyUSB*\ncrw-rw----. 1 root dialout 188, 1 8月  21 02:47 /dev/ttyUSB0\n```\n3. Copy `.env.example.json` -\u003e `.env.json`\n4. Save your `pushover` config in `.env.json`\n5. `go run artisan.go sms:read /dev/YOUR-SERIAL`, such as `/dev/ttyUSB0`\n\n## Docker\n```shell\ndocker run --rm -it -d \\\n          --device=/dev/ttyUSB0 \\\n          -e TOTOVAL_PUSHOVER_USER=YOUR_PUSHOVER_USER \\\n          -e TOTOVAL_PUSHOVER_TOKEN=YOUR_PUSHOVER_TOKEN \\\n          -e TOTOVAL_PUSHOVER_DEVICE=\"\" \\\n          toby1991/sms-forwarder:latest\n```\n\n\n## Implement your own NOTIFIER\n`/app/logics/phone/interfaces/notifier.go`  \n```go\npackage interfaces\n\ntype Notifier interface {\n\tNotify(sender, content string) error\n}\n```\n\n## Thanks\n* http://www.sendsms.cn/pdu/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoby1991%2Fsms-forwarder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoby1991%2Fsms-forwarder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoby1991%2Fsms-forwarder/lists"}