Git Product home page Git Product logo

function-templates's Introduction

Twilio Function Templates

A Twilio Labs Project Learn with TwilioQuest

Twilio Functions are a serverless environment to build and run Twilio applications so you can get to production faster. You provide the Node.js code to perform the task you need and Twilio runs it. You can read more about Twilio Functions and how to use them in the introductory blog post.

This repo

This repo is intended to be a collection of useful Twilio Functions that are tested and documented. The intention is that you can take any of these Functions and drop them into a project, confident they will work, whether you are a developer looking for a particular building block or a builder who just needs a particular Function. These templates are also available through twilio-run new inside the twilio-run CLI.

Usage

Each Function lives in its own directory within this repo. The easiest way to use the templates is through the Twilio CLI. Check out our docs for the different ways you can use these templates.

Available Functions

This is the list of Functions available in this repo:

Github Pages

The Quick Deploy Functions in this repo contain an index.html asset that is displayed after a deployment succeeds. That index.html file is served by the Function itself, but several static assets shared by every index.html are served by Github Pages from the /docs/static directory of this repo. These files all follow semver versioning, and are located in a subdirectory of /docs/static named after their semver major version number. For example, a file of version 1.2.3 should have a comment header containing Version: 1.2.3 (if possible), and be located in the v1 subdirectory of /docs/static.

Todo

  • Forward message to email with other API providers
  • Generate Twilio Client access token
  • Inbound calls for SIP registration
  • Outbound calls for SIP registration
  • Translate webhook from application/x-www-form-urlencoded into application/json and forward on to another service

Please add ideas if you have them.

Contributing

This project welcomes contributions. Please check out our Contributing guide to learn more on how to get started.

License

MIT © Twilio Inc.

function-templates's People

Contributors

annthurium avatar benstein avatar bharat123rox avatar bharatmurali avatar bochoi-twlo avatar craigsdennis avatar dani190 avatar dependabot[bot] avatar dkundel avatar eric-brechemier avatar evantheterriblewarrior avatar gagandeepp avatar garethpaul avatar iaggarwal27 avatar jamesscaggs avatar jme783 avatar jmulcahey-twilio avatar kmskelton avatar mattkohl avatar michizhou avatar mjg123 avatar myfancypants avatar philnash avatar pranjalv9 avatar robinske avatar stefanjudis avatar thorsten-stripe avatar tingaloo avatar tingiris avatar twilio-labs-ci avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.