GithubHelp home page GithubHelp logo

meldiron / railway-webhook-proxy Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 16.0 1.83 MB

Webhook proxy to trigger Appwrite Function. Hosted for free on Railway.

License: MIT License

HTML 65.87% JavaScript 34.13%

railway-webhook-proxy's Introduction

Railway Webhook Proxy (Appwrite)

Webhook proxy to trigger Appwrite Function. Hosted for free on Railway!

This allows you to host a simple webhook proxy for free that executes Appwrite function each time the proxy is hit.

This is useful for integrations such as Stripe, Revolut Pay, Discord Interaction Bot, GitHub App, Shopify, Slack bot, and muuuuuch more.

Anything that has webhook integration can execute your Appwrite Function thanks to this proxy.

Deploy on Railway

โœจ Features

  • Proxy requests
  • Transform request into Appwrite REST API

๐Ÿ’โ€โ™€๏ธ How to use

  1. Click button 'Deploy on Railway' above
  2. Configure environment variables with details about your Appwrite instance
  3. Visit settings of 'webhook-proxy' service and click 'Generate Domain'
  4. Use generated domain as endpoint for your webhook to trigger Appwrite Function

๐Ÿ“ Notes

  • If you already have domain assigned on Railway under settings, please use that one. No need to re-generate. Also feel free to assign a custom domain if needed

๐Ÿ–ผ๏ธ Screenshots

CleanShot 2022-10-13 at 11 07 15

CleanShot 2022-10-13 at 11 07 42

CleanShot 2022-10-13 at 11 08 38

railway-webhook-proxy's People

Contributors

farazpatankar avatar meldiron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

railway-webhook-proxy's Issues

Stripe not compatible

Stripe is not compatible with this proxy because it reformats the raw body in a way that breaks stripe validating the signature. The stripe SDK uses the signed signature in the header and the raw body itself in the validation process (the docs specifically say json parsing the raw body will break it).

So this web proxy needs to not take responsibility for parsing the body but leave that responsibility to the cloud function.

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.