You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5554e77
Browse filesBrowse the repository at this point in the historyBrowse files
All notable changes to this project will be documented in this file.
4
+
5
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+
## [Unreleased]
8
+
9
+
### New Features
10
+
11
+
-**MMS message support** — send MMS messages via the `send` command with media attachments
There are two CLI tools in this repository:`smsgate` and `smsgate-ca`. The first one is for SMS Gateway for Android itself, and the second one is for the Certificate Authority.
63
+
There are two CLI tools in this repository:
57
64
58
-
This CLI provides a robust interface for:
59
-
- Sending and managing SMS messages (including batch operations from CSV and Excel files)
60
-
- Configuring webhook integrations
61
-
- Issuing certificates for private deployments
65
+
-**`smsgate`** -- Interact with the [SMS Gateway for Android](https://sms-gate.app) API to send SMS/MMS messages, manage webhooks, and retrieve logs.
66
+
-**`smsgate-ca`** -- Issue TLS certificates for private deployments (webhook receivers and private servers on RFC 1918 addresses).
<palign="right">(<ahref="#readme-top">back to top</a>)</p>
103
108
104
-
## 💻 Configuration
109
+
## Configuration
105
110
106
-
The CLI can be configured using environment variables or command-line flags. You can also use a `.env` file in the working directory to set these variables.
111
+
The CLI can be configured using environment variables or command-line flags. You can also use a `.env` file in the working directory to set these variables (loaded automatically via [godotenv](https://github.com/joho/godotenv)).
107
112
108
113
### Available Options
109
114
@@ -127,7 +132,7 @@ Please note that when the exit code is not `0`, the error description is printed
127
132
128
133
<palign="right">(<ahref="#readme-top">back to top</a>)</p>
|`--attachment`| Path to an attachment file. Repeatable; MIME type is detected from the file extension. Requires `--mms`. | empty |`/path/to/image.jpg`|
222
252
|**Options**||||
223
253
|`--ttl`| Time-to-live (TTL) for the message. Duration format (e.g., `1h30m`). If not provided, the message will not expire.<br>**Conflicts with `--valid-until`.**| empty |`1h30m`|
224
-
|`--valid-until`| The expiration date and time for the message. RFC3339 format (e.g., `2006-01-02T15:04:05Z07:00`).<br>**Conflicts with `--ttl`.**| empty |`2024-12-31T23:59:59Z`|
254
+
|`--valid-until`| The expiration date and time for the message. RFC3339 format (e.g., `2006-01-02T15:04:05Z07:00`).<br>**Conflicts with `--ttl`.**| empty |`2026-12-31T23:59:59Z`|
225
255
|`--skip-phone-validation`| Skip phone number validation. |`false`|`true`|
226
256
|`--device-active-within`| Time window in hours for device activity filtering. `0` means no filtering. |`0`|`12`|
257
+
|`--schedule-at`| Schedule delivery time (RFC3339 format). If not provided, the message is sent immediately.<br>**Example:**`2026-12-31T23:59:59Z`. | immediate |`2026-12-31T23:59:59Z`|
**Note:** The IP address must be a private/RFC 1918 address (e.g., `10.x.x.x`, `172.16.x.x`, `192.168.x.x`).
510
+
511
+
<palign="right">(<ahref="#readme-top">back to top</a>)</p>
512
+
513
+
## Contributing
422
514
423
515
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
424
516
@@ -433,13 +525,13 @@ Don't forget to give the project a star! Thanks again!
433
525
434
526
<palign="right">(<ahref="#readme-top">back to top</a>)</p>
0 commit comments