repeater

module
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: AGPL-3.0

README

Escape repeater

A simple repeater that can be used to allow escape to connect to some APIs.

Requirements

You need to have an Escape account.

Before installing the repeater, you need to retrieve your repeater id.

  • ESCAPE_REPEATER_ID : Your repeater id, read the documentation to know how to retrieve it.

Install

You have multiple options to install the repeater:

  • Docker image (covered in this tutorial)
  • From source (go to releases)

You now need to run the repeater with the following environment variables:

  • ESCAPE_REPEATER_ID: Your repeater id.
docker run -it --rm --name escape-repeater \
    -e ESCAPE_REPEATER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
    escapetech/repeater:latest

You can find in the example folder more deployment examples. Feel free to contribute and add your own.

If you need to add a custom ca certificate, you can mount it in the container:

docker run -it --rm --name escape-repeater \
    -v /path/to/ca.crt:/usr/local/share/ca-certificates/ca.crt \
    -e ESCAPE_REPEATER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
    escapetech/repeater:latest

Usage

You can now go to the escape documentation follow the steps to use your repeater.

Contributing

Feel free to contribute to this project by creating a pull request.

If you want to test it locally, you can use the ESCAPE_REPEATER_URL to point to another repeater.

Directories

Path Synopsis
cmd
repeater command
pkg
proto

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL