Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/git719/sms
applescript bash c cli macos python sms
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/git719/sms
- Owner: git719
- License: mit
- Created: 2022-05-04T20:11:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-04T20:12:18.000Z (over 2 years ago)
- Last Synced: 2023-03-22T08:16:25.186Z (almost 2 years ago)
- Topics: applescript, bash, c, cli, macos, python, sms
- Language: C
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SMS
Four different utilities to send SMS text message from the __macos__ command line:* `sms ` : Send text messages via __macos__ Messages application (AppleScript).
* `sms.sh ` : Send text messages via https://textbelt.com service (Bash).
* `smscli ` : Send text messages via https://textbelt.com service (Go).
* `smsclic` : Send text messages via https://textbelt.com service (C).These utilities were more of a quick exercise on how to write HTTP calls using different languages.
## Install
You can install any of these 4 utilities using my Homebrew Tap. For example:`brew install lencap/tools/sms`
Once the tap is registered, the other utilities can easily be installed with just `brew install smsclic`, etc.
Each `Makefile` within the respective language directory also allows an option to install to `/usr/local/bin/`, if you rather do that:
`make install`
CORRECTION: Didn't bother creating a brew formula for the Bash one.
## Compilation
For the ones needing compilation, read the respective `Makefile` for more info.## Configuration
Run each utility without any arguments to see the __usage__, which provides details for what to configure. The simpler `sms` one just requires that you're logged on to your Messages app. The other 3 need a KEY (from the https://textbelt.com service) to be in a text file as:`svckey = KEY`
Checkout the code for the name of the respective file.
## Run
Run with the 2 obvious arguments (cellphone number & the actual message):`sms 2015554444 "Hello world"`
## Notes
These have only been tested on __macos__ 10.15.2