🚀 SMS CLI Client by GoSMS.ru 📌 Features: 📩Send SMS via command line ⚡Quick integration with GoSMS.ru 🔑API key authentication
- Installation
- Configuration
- Usage
- Additional Commands
- Examples
- Configuration File
- Uninstallation
- Support
- License
To install, run one of the following commands:
# Method 1 (recommended):
curl -sSL https://raw.githubusercontent.com/gosms-ru/cli-client/main/install-gosms.sh -o install-gosms.sh && chmod +x install-gosms.sh && ./install-gosms.sh
# Method 2 (alternative):
bash -c "$(curl -sSL https://raw.githubusercontent.com/gosms-ru/cli-client/main/install-gosms.sh)"The script will automatically:
- Download all necessary files
- Install them in the system
- Configure access permissions
- curl
- sudo (for installation in system directories)
Before using, you need to obtain an API key from GoSMS.ru and configure it:
gosms --editEnter the received API key when prompted.
gosms sendsms -num <number> --text <text> [--device <id>] [--sim <number>]-num <number>- recipient's phone number (required)--text <text>- message text (required)--device <id>- device ID (optional)--sim <number>- SIM card number (optional, requires device specification)
gosms --edit- edit settings (API key)gosms --uninstall- remove CLI clientgosms -horgosms --help- show help
- Simple SMS sending:
gosms sendsms -num "+79001234567" --text "Hello, world!"- Sending SMS with device specification:
gosms sendsms -num "+79001234567" --text "Test message" --device "device123"- Sending SMS with device and SIM card specification:
gosms sendsms -num "+79001234567" --text "Test message" --device "device123" --sim 1The configuration file is located at ~/.gosms.conf and contains:
- API key
- Interface language
To remove the CLI client, run:
gosms --uninstallIf you encounter any issues or have questions, please create an issue in the project repository.
MIT License
🚀 CLI-клиент для отправки SMS от GoSMS.ru 📌 Возможности: 📩 Отправка SMS через командную строку ⚡ Быстрая интеграция с сервисом GoSMS.ru 🔑 Работа с API ключом
- Установка
- Настройка
- Использование
- Дополнительные команды
- Примеры
- Конфигурация
- Удаление
- Поддержка
- Лицензия
Для установки выполните одну из команд:
# Способ 1 (рекомендуется):
curl -sSL https://raw.githubusercontent.com/gosms-ru/cli-client/main/install-gosms.sh -o install-gosms.sh && chmod +x install-gosms.sh && ./install-gosms.sh
# Способ 2 (альтернативный):
bash -c "$(curl -sSL https://raw.githubusercontent.com/gosms-ru/cli-client/main/install-gosms.sh)"Скрипт автоматически:
- Загрузит все необходимые файлы
- Установит их в систему
- Настроит права доступа
- curl
- sudo (для установки в системные директории)
Перед использованием необходимо получить API-ключ на сайте GoSMS.ru и настроить его:
gosms --editВведите полученный API-ключ при запросе.
gosms sendsms -num <номер> --text <текст> [--device <id>] [--sim <номер>]-num <номер>- номер телефона получателя (обязательный)--text <текст>- текст сообщения (обязательный)--device <id>- ID устройства (опциональный)--sim <номер>- номер SIM-карты (опциональный, требует указания device)
gosms --edit- редактировать настройки (API-ключ)gosms --uninstall- удалить CLI-клиентgosms -hилиgosms --help- показать справку
- Простая отправка SMS:
gosms sendsms -num "+79001234567" --text "Привет, мир!"- Отправка SMS с указанием устройства:
gosms sendsms -num "+79001234567" --text "Тестовое сообщение" --device "device123"- Отправка SMS с указанием устройства и SIM-карты:
gosms sendsms -num "+79001234567" --text "Тестовое сообщение" --device "device123" --sim 1Конфигурационный файл находится в ~/.gosms.conf и содержит:
- API-ключ
- Язык интерфейса
Для удаления CLI-клиента выполните:
gosms --uninstallПри возникновении проблем или вопросов, пожалуйста, создайте issue в репозитории проекта.
MIT License