{"id":23899162,"url":"https://github.com/fif0o/twilio-app","last_synced_at":"2026-05-17T15:03:31.383Z","repository":{"id":50213695,"uuid":"106827935","full_name":"FiF0o/twilio-app","owner":"FiF0o","description":"📡 Boilerplate python code (flask web server) using Twilio messaging api to send/receive text messages.","archived":false,"fork":false,"pushed_at":"2021-06-01T21:47:23.000Z","size":20147,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T04:44:09.278Z","etag":null,"topics":["flask","python","twilio","twilio-api","twilio-sms-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FiF0o.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-13T13:29:15.000Z","updated_at":"2018-01-19T15:42:45.000Z","dependencies_parsed_at":"2022-09-24T08:22:50.202Z","dependency_job_id":null,"html_url":"https://github.com/FiF0o/twilio-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiF0o%2Ftwilio-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiF0o%2Ftwilio-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiF0o%2Ftwilio-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiF0o%2Ftwilio-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FiF0o","download_url":"https://codeload.github.com/FiF0o/twilio-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240288667,"owners_count":19777706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","python","twilio","twilio-api","twilio-sms-api"],"created_at":"2025-01-04T18:16:08.182Z","updated_at":"2025-11-14T15:03:34.325Z","avatar_url":"https://github.com/FiF0o.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PYTHON APP USING API MESSAGING FROM TWILIO AND ARDUINO WATER SENSOR\u003cbr\u003e\nA (Js) serverless implementation of the back-end is also available.\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Pre-requisites\n-----------------\n\n\n### Deps\ninstall deps: `pip install -r requirements.txt`.\n\n### Twilio configuration\nAdd your own `account_sid`, `auth_token`, `from` (given by twilio when creating a phone number for your servie), `to` numbers to your environment after your registered for a Twilio account.\u003cbr\u003e\nIt can be found in your [console](https://www.twilio.com/console).\u003cbr\u003e\nyour `to` phone number (used to create a twilio account) must be [verified](https://www.twilio.com/console/phone-numbers/incoming).\u003cbr\u003e\n\n### Environment\nCreate your own virtual environment: `virtualenv .venv`.\u003cbr\u003e\nActivate your environment: `source .venv/bin/activate`.\u003cbr\u003e\nAdd your environment variables to a `.env` file.\u003cbr\u003e\nSource environment variables for your project before running it: `source .env` or use `autoenv`.\u003cbr\u003e\n\n\n## Running the project\n----------------------\n\n### Twilio Messaging configuration\nRun webserver with [Twilio SMS Webhook](https://www.twilio.com/console/phone-numbers/).\u003cbr\u003e\nIf you don't want to host your webserver you can use ngrok locally to add your webhook endpoint to the Messaging service `/sms` route on the webserver `PORT:5000`.\u003cbr\u003e\n\n### Available commands\n\nUse the `Makefile` to `serve` and run your project.\n\n### Javascript and serverless endpoint\n`./serverless` directory holds a script using [webtask.io](https://webtask.io/) using Twilio API.\u003cbr\u003e\nAlternatively, you can use [stdlib](https://stdlib.com/).\u003cbr\u003e\u003cbr\u003e\n\nAfter `cd` the directory, you can install the deps `npm i`, and run the npm `deploy` task to update your script on webtask.io.\u003cbr\u003e\nYou will need to provide a `.secrets` file with your API variables: `TWILIO_ACCOUNT_SID`, `TWILIO_AUTH_TOKEN`, `TWILIO_NUMBER_FROM`, `TWILIO_NUMBER_TO` or source them in your environment.\n\n## Examples of implementation\n-----------------------------\n\n* [Leak detector](https://github.com/slyg/leak-detector) - [@slyg](https://github.com/slyg) \u0026 [@fif0o](https://github.com/fif0o)\u003cbr\u003e\n\n![leak detector](https://giphy.com/embed/l4EoO8Tmm5ShB7GdW)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffif0o%2Ftwilio-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffif0o%2Ftwilio-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffif0o%2Ftwilio-app/lists"}