Send anonymous SMS messages on web.
A Flask based web application for sending anonymous SMS messages, featuring real time validation, responsive design, and integration with the Twilio API.
- 🔭 Built with Python, Flask, HTML, and CSS for the web interface.
- 👨💻 Integrates Twilio API for secure SMS delivery.
- 📊 Features real-time form validation, character counters, and flash messages for user feedback.
Anonysmsweb is a web application designed to allow users to send anonymous SMS messages securely. Built with Flask, it offers a modern, responsive interface that works seamlessly across devices. The application includes real-time input validation, live character counting, and clear success/error notifications via flash messages. Integration with the Twilio API ensures reliable message delivery.
-
Clone the repository:
git clone https://github.com/zuck30/anonysmsweb cd anonysmsweb -
Set up a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate -
Install dependencies:
pip install -r requirements.txt -
Set up environment variables:
- Sign up at Twilio to get an Account SID, Auth Token, and Twilio phone number.
- Create a
.envfile in the project root and add your credentials:SECRET_KEY='a-strong-and-secret-key' TWILIO_ACCOUNT_SID='your-account-sid' TWILIO_AUTH_TOKEN='your-auth-token' TWILIO_PHONE_NUMBER='your-twilio-phone-number'
- The application uses
python-dotenvto load these variables for local development.
-
Run the Flask app:
python app.py
This application is ready to deploy on Render.
- Fork this repository to your GitHub account.
- Create a new "Blueprint" on Render and connect it to your forked repository.
- Render will automatically detect the
render.yamlfile and configure the service. - Create a secret group on Render named
twilio-credentialswith your Twilio keys:TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKENTWILIO_PHONE_NUMBER
- Deploy! Your application will be live at the URL provided by Render.
- Launch App: Run
python app.pyand open the provided URL in a browser (typicallyhttp://localhost:5001). - Send Messages: Enter the recipient's phone number and message content in the web form. The interface provides real time validation and a character counter.
- View Feedback: Receive flash messages indicating success or error after sending a message.
- Mobile Responsive: Access the app on phones or tablets with a fully responsive design.
| Feature | Description |
|---|---|
| Modern Web Interface | Clean, responsive design that works on all devices |
| Real time Validation | Instant feedback on form inputs (e.g., valid phone number, message length) |
| Character Counter | Live tracking of message length |
| Flash Messages | Clear success/error notifications after sending messages |
| Mobile Responsive | Optimized for phones, tablets, and desktops |
Languages
Frameworks & Libraries
Tools
Please submit a pull request or open an issue for bug reports, feature requests, or improvements.
This project is licensed under the MIT License. See the LICENSE file for details.
- Buy a twilio phone number
- Donation to keep project alive.