{"id":26134301,"url":"https://github.com/kleinpanic/smsh","last_synced_at":"2026-06-11T08:31:03.376Z","repository":{"id":279476062,"uuid":"864779473","full_name":"kleinpanic/SMsh","owner":"kleinpanic","description":"SMsh.sh is a lightweight Bash script that sends SMS messages via email-to-SMS gateways using msmtp. ","archived":false,"fork":false,"pushed_at":"2025-05-11T00:12:24.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-27T01:32:36.407Z","etag":null,"topics":["bash","communications","sms","text"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/kleinpanic.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-29T06:21:15.000Z","updated_at":"2025-05-11T00:12:27.000Z","dependencies_parsed_at":"2025-02-25T19:35:27.851Z","dependency_job_id":"050ae9a4-65c4-49df-bf97-795a300f7b9b","html_url":"https://github.com/kleinpanic/SMsh","commit_stats":null,"previous_names":["kleinpanic/textscripts","kleinpanic/smsh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kleinpanic/SMsh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleinpanic%2FSMsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleinpanic%2FSMsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleinpanic%2FSMsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleinpanic%2FSMsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kleinpanic","download_url":"https://codeload.github.com/kleinpanic/SMsh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleinpanic%2FSMsh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34190582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bash","communications","sms","text"],"created_at":"2025-03-10T23:53:25.879Z","updated_at":"2026-06-11T08:31:03.354Z","avatar_url":"https://github.com/kleinpanic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMsh.sh\n\nSMsh.sh is a Bash script for sending SMS messages via email-to-SMS gateways using **msmtp**. It supports sending messages to individual 10-digit phone numbers or to multiple numbers listed in a text file. With built-in options for custom messages, subjects, dry runs, and interactive mode, SMsh.sh provides a flexible way to send SMS notifications through your email service.\n\n## Features\n\n- **SMS via Email Gateways:** Leverage email-to-SMS gateways for various carriers.\n- **Concurrent Processing:** Send messages concurrently with rate limiting.\n- **Interactive Mode:** Prompt users for inputs interactively.\n- **Customizable Options:** Override default message, subject, repeat count, and carrier domain.\n- **Dry Run Mode:** Test the command without actually sending messages.\n- **Signal Handling:** Cleanly handles SIGINT/SIGTERM and terminates child processes.\n\n## Prerequisites\n\n- **msmtp:** Ensure msmtp is installed and configured for your email service.\n- **Bash:** The script is written for Bash and tested on Unix-like systems.\n\n## Usage\n\n```bash\n./SMsh.sh \u003cphone_number|path_to_file.txt\u003e [options]\n```\n\nOptions\n\n    -m, --message \"custom message\"\n    Set a custom message (default: \"Hello, this is a test message from bash!\").\n\n    -s, --subject \"custom subject\"\n    Set a custom subject (default: \"SMS\").\n\n    -i, --interactive\n    Run the script in interactive mode to prompt for inputs.\n\n    --dry-run\n    Run the script without sending any actual messages (test mode).\n\n    -r, --repeat count\n    Specify the number of times to repeat the message (default: 1).\n\n    -c, --carrier \"carrier domain\"\n    Use a specific carrier domain instead of the default list.\n\nExamples\n\nSend a test SMS to a single phone number:\n\n./SMsh.sh 1234567890 --dry-run\n\nSend a custom message to all numbers in a file:\n\n./SMsh.sh numbers.txt -m \"Your custom message\" -s \"Alert\" -r 3\n\nFuture Improvements\n\nSee the TODO.md file for a list of planned enhancements.\nLicense\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleinpanic%2Fsmsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkleinpanic%2Fsmsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleinpanic%2Fsmsh/lists"}