Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viveksahu26/twigo
Play with twilio features such as SMS, WhatUp, Voice note, etc.
https://github.com/viveksahu26/twigo
golang twilio-api twilio-sms twilio-sms-api twilio-voice
Last synced: 1 day ago
JSON representation
Play with twilio features such as SMS, WhatUp, Voice note, etc.
- Host: GitHub
- URL: https://github.com/viveksahu26/twigo
- Owner: viveksahu26
- License: apache-2.0
- Created: 2024-02-15T06:32:25.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-14T08:44:38.000Z (7 months ago)
- Last Synced: 2024-06-20T19:36:05.418Z (5 months ago)
- Topics: golang, twilio-api, twilio-sms, twilio-sms-api, twilio-voice
- Language: Go
- Homepage:
- Size: 10 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/viveksahu26/url_shortner/badge)](https://securityscorecards.dev/viewer/?uri=github.com/viveksahu26/url_shortner)
# twigo CLI
twigo is a cli to send sms/whatapps in golang
## How to use it
### Send SMS
Suppose you want to send SMS to your friend:
```bash
# twigo chat --type sms --to "+9XXXXXXXXXXX6" --from "+19519774919" --body "hey buddy !!"
go run ./cmd/twigo/main.go send sms --to "+919XXXXXXXX6" --from "+19519774919" --body "hey buddy..."twigo send sms --to "+919XXXXXXXX6" --from "+19519774919" --body "hey buddy !!"
# send join from whatapps and you will get your virtual whatapps number:
go run ./cmd/twigo/main.go send whatsup --to "+9197XXXXXXX76" --from "+14155238886" --body "hey buddy..."twigo send voice --to "+9197XXXXXX76" --from "+19519774919" --body "hey buddy !!"
twigo send sms --to "+9197XXXXXXX76" --from "+19519774919" --body "hey buddy !!"
```
Understand the above commad:
- twigo: root command
- chat: sub-command
- type: flag-
- to: flag - destination mobile no.
- from: flag - source mobile no.
- body: flag - message### Send whatapps msg
Suppose you want to send whatapps to your friend:
` twigo chat --type whatapps `
### Send voice note
Suppose you want to send voice to your friend:
` twigo chat --type voice `
### Send verification/2FA msg
Suppose you want to send verify to your friend:
` twigo chat --type voice `