A cross-platform Python application with PySide GUI that allows sending free SMS messages to mobile phones worldwide.
- Free SMS Messaging: Send text messages to mobile phones around the world
- Multiple API Integrations: Support for Twilio and TextBelt SMS gateways
- Contact Management: Organize recipients with CSV import/export capability
- Message Scheduling: Set up recurring messages with flexible scheduling options
- Message Templates: Save and reuse common message formats
- Message History: Track all sent messages with delivery status
- Secure Storage: API credentials encrypted in SQLite using Fernet + OS keyring
- Modern UI: Clean, intuitive PySide6 interface
- Notifications: Desktop alerts via plyer with safe fallbacks
- CLI Support: Command-line interface for scripting and automation
- System Tray Integration: Run in the background with quick access
- Cross-Platform: Works on Windows, macOS, and Linux
- Python 3.12 or higher
- Git (for cloning the repository)
-
Clone the repository
git clone https://github.com/tboy1337/FreeSMS.git cd FreeSMS -
Install dependencies
Recommended (editable install with console scripts):
pip install -e .Or install from requirements files:
pip install -r requirements.txt
For development and testing:
pip install -e ".[dev]"(or
pip install -r requirements-dev.txt)After editable install, these commands are available:
freesms— launch GUI or CLI with optional--cliflagfreesms-cli— CLI onlyfreesms-gui— GUI only
-
Register for SMS API services
-
Configure the application
You can configure the application in one of these ways:
- Through the UI: Launch the app and enter your API keys in the Settings tab
- Using environment variables:
TWILIO_ACCOUNT_SID=your_account_sid TWILIO_AUTH_TOKEN=your_auth_token TWILIO_PHONE_NUMBER=your_twilio_phone_number TEXTBELT_API_KEY=your_textbelt_api_key - Using a .env file: Create a
.envfile in the project root with the above variables
Twilio credentials stored in the app database use the
from_numberfield (theTWILIO_PHONE_NUMBERenvironment variable maps to this automatically).Application data is stored under
~/.freesms/(config, database, logs). -
Run the application
freesms-gui
FreeSMS provides a CLI for automation and integration with other tools:
Get help with available commands:
freesms-cli --helpSend a message directly from the command line:
freesms-cli send "+1234567890" "Hello from FreeSMS"-
Send Messages
freesms-cli send RECIPIENT MESSAGE [--service SERVICE]
-
Manage Contacts
freesms-cli contacts list freesms-cli contacts add NAME PHONE [--country COUNTRY] [--notes NOTES] freesms-cli contacts delete ID
-
View Message History
freesms-cli history list [--limit LIMIT] freesms-cli history export OUTPUT_FILE [--limit LIMIT]
-
Schedule Messages
freesms-cli schedule list [--all] freesms-cli schedule add RECIPIENT MESSAGE TIME [--service SERVICE] [--recurring {daily,weekly,monthly}] [--interval INTERVAL] freesms-cli schedule cancel ID -
Manage Templates
freesms-cli templates list freesms-cli templates add NAME CONTENT freesms-cli templates delete ID
-
Configure SMS Services
freesms-cli services list freesms-cli services configure NAME CREDENTIALS freesms-cli services activate NAME freesms-cli services test [--name SERVICE] -
Export/Import Contacts
freesms-cli contacts export FILENAME freesms-cli contacts import FILENAME
freesms --help
usage: freesms [-h] [--minimized] [--debug] [--config CONFIG] [--cli]
FreeSMS - Free SMS Messaging Application
optional arguments:
-h, --help Show this help message and exit
--minimized Start application minimized to system tray
--debug Enable debug logging
--config CONFIG Path to custom config file
--cli Run in command line mode
- Python: 3.12 or higher
- Disk Space: ~50MB for installation and databases
- Memory: 100MB+ recommended
- Windows: No additional requirements
- macOS: System tray via PySide6
- Linux: May require additional packages for system tray integration
-
Twilio Free Trial:
- Limited credits ($15-$20) for testing
- Recipient phone numbers must be verified before messaging
- Twilio branding on messages
-
TextBelt:
- Free tier: 1 free SMS per day with API key
- $0.05 per message after free quota
-
Rate Limiting:
- Local daily send limits enforced per service based on
daily_limit - Successful sends today are counted from message history before each send
- Local daily send limits enforced per service based on
FreeSMS/
├── .github/ # GitHub configuration (funding)
├── scripts/ # Development verification scripts
├── src/
│ ├── api/ # SMS service interfaces and implementations
│ ├── automation/ # Message scheduling and automation
│ ├── cli/ # Command line interface
│ ├── gui/ # User interface components
│ │ └── assets/ # Images and UI resources
│ ├── models/ # Data models and database interaction
│ ├── security/ # Encryption and input validation
│ ├── services/ # Application services
│ └── utils/ # Utility functions and helpers
├── tests/ # Unit and integration tests
├── LICENSE.md # Commercial Restricted License
├── README.md # This file
├── pyproject.toml # Package metadata, console scripts, and tool configuration
├── requirements.txt # Python dependencies
├── requirements-dev.txt
├── pytest.ini
├── mypy.ini
├── .coveragerc
Run the full local verification pipeline (formatting, security audit, lint, type check, tests):
py scripts/verify.pyRun the test suite with coverage:
pytest --cov=src tests/GUI tests are marked with @pytest.mark.gui and can be selected or excluded:
pytest -m gui
pytest -m "not gui"Run linting and type checks individually:
pylint src
mypy srcGUI icon assets (sms_icon.png, sms_icon.ico) are shipped in src/gui/assets/. To regenerate them after design changes, install dev dependencies and run:
py src/utils/icon_generator.py- Application Settings:
~/.freesms/config.json - Logs:
~/.freesms/logs/ - Database: SQLite database at
~/.freesms/freesms.db
Legacy data from ~/.sms_sender/ or ~/.message_master/ is migrated automatically on first launch.
API credentials are encrypted with Fernet before storage in SQLite. The encryption key is stored in the OS keyring (service: freesms).
- No message content is sent to third-party servers except your configured SMS providers
- Input validation on phone numbers and messages in GUI and CLI
Contributions are welcome! Please feel free to submit a Pull Request.
License note: This project uses the Commercial Restricted License (CRL). Contributions are accepted for non-commercial use under the same license terms. Commercial use requires a separate license — see LICENSE.md.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Twilio - SMS API provider
- TextBelt - SMS API provider
- All open-source packages listed in requirements.txt
This project is licensed under the Commercial Restricted License (CRL) - see the LICENSE.md file for details.
Project maintained by tboy1337
GitHub: https://github.com/tboy1337/FreeSMS