You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
src | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
config.example.json | 2 years ago | |
hmac_sha256.py | 2 years ago | |
package-lock.json | 2 years ago | |
package.json | 2 years ago | |
webpack.config.js | 2 years ago | |
wrangler.example.toml | 2 years ago |
README.md
This is a mod_http_upload_external
-compatible XEP-0363 file server for Prosody and eJabberd implemented on Cloudflare Workers with S3-compatible backend support.
To use it, you need to fill in config.prod.json
using config.example.json
as a template, and then create wrangler.prod.toml
based on wrangler.example.toml
. Most of the fields should be pretty self-explanatory. To publish it to your Cloudflare account, run npm run publish-prod
.
To configure eJabberd to use the endpoint exposed by this service, add
mod_http_upload:
put_url: https://<worker_url>/
get_url: https://<worker_url>/
external_secret: <secret_in_config_json>
to ejabberd.yaml
.