{"id":15768035,"url":"https://github.com/thk2b/twilio-cli","last_synced_at":"2025-03-31T11:16:55.773Z","repository":{"id":138601086,"uuid":"186695270","full_name":"thk2b/twilio-cli","owner":"thk2b","description":"Send text messages from the command line with twilio","archived":false,"fork":false,"pushed_at":"2019-05-15T07:33:55.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-10-11T14:01:21.903Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/thk2b.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-05-14T20:27:50.000Z","updated_at":"2019-05-15T07:42:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc6f9518-8207-4695-9ea6-1d449cb6d341","html_url":"https://github.com/thk2b/twilio-cli","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/thk2b%2Ftwilio-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thk2b%2Ftwilio-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thk2b%2Ftwilio-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thk2b%2Ftwilio-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thk2b","download_url":"https://codeload.github.com/thk2b/twilio-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246458009,"owners_count":20780678,"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-10-04T14:00:26.333Z","updated_at":"2025-03-31T11:16:55.729Z","avatar_url":"https://github.com/thk2b.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twilio-cli\nSend text messages from the command line using twilio.\n\nThe script reads from stdin, from a file or directly from an argument.\nSpecify your twilio credentials as environment variables as options.\n\n## Usage\n\n```\nusage: twilio [-h] [--account ACCOUNT_SID] [--token AUTH_TOKEN] [--from FROM]\n              [--msg MSG | --path PATH] [-v | -q]\n              to [to ...]\n\nsend text messages from the command line\n\npositional arguments:\n  to\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --account ACCOUNT_SID, -a ACCOUNT_SID\n                        your twilio account sid. defaults to the\n                        TWILIO_ACCOUNT_SID environment variable\n  --token AUTH_TOKEN, -t AUTH_TOKEN\n                        your twilio auth token. defaults to the\n                        TWILIO_AUTH_TOKEN environment variable\n  --from FROM, -f FROM  your twilio origin number. defaults to the TWILIO_FROM\n                        environment variable\n  --msg MSG, -m MSG     a message to be sent. defaults to stdin if -p is not\n                        specified\n  --path PATH, -p PATH  a path to a file containing the message to be sent.\n                        defaults to stdin if -m is not specified\n  -v                    verbose output\n  -q                    supress output\n```\n\n## Quick Start\n\n```bash\n# install the twilio package\n$ pip3 install --user twilio\n\n# export environment variables. See usage for alternatives\n$ export TWILIO_ACCOUNT_SID=\u003cyour account sid\u003e\n$ export TWILIO_AUTH_TOKEN=\u003cyour auth token\u003e\n$ export TWILIO_FROM=\u003cyour twilio number\u003e\n\n$ ./twilio -v \"+1 234 567 8912\" -m \"Hello, World\"\nsending body:\nHello, World\nsent sms \u003cmessage SID\u003e to +1 234 567 8912\n\n# write message to a file\n$ echo \"Hello, World, but in a file\" \u003e message.txt\n$ ./twilio -v \"+1 234 567 8912\" \"+1 9876 543 2109\" -p message.txt\nsending body:\nHello, World, but in a file\nsent sms \u003cmessage SID\u003e to +1 234 567 8912\nsent sms \u003cmessage SID\u003e to +1 9876 543 2109\n\n# reads message from stdin in combination with quiet mode\n$ cat message.txt |./twilio -q \"+1 234 567 8912\" \"+1 9876 543 2109\"\n\u003cmessage0 SID\u003e\n\u003cmessage1 SID\u003e\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthk2b%2Ftwilio-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthk2b%2Ftwilio-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthk2b%2Ftwilio-cli/lists"}