Worker service for proxying requests
  • TypeScript 97.3%
  • Nix 2.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Airyzz b6ec0e18b1
Merge pull request #6 from commetchat/klipy-support
Add support for KLIPY gif search
2026-03-17 18:49:33 +10:30
src Merge pull request #6 from commetchat/klipy-support 2026-03-17 18:49:33 +10:30
.gitattributes Initial commit 2023-05-27 15:57:05 +09:30
.gitignore Update .gitignore 2024-11-03 09:22:02 +10:30
.prettierrc Initial commit 2023-05-27 15:57:05 +09:30
CODE_OF_CONDUCT.md Updating documents 2023-09-27 08:13:48 +09:30
LICENSE Updating documents 2023-09-27 08:13:48 +09:30
package-lock.json Merge pull request #6 from commetchat/klipy-support 2026-03-17 18:49:33 +10:30
package.json Merge pull request #6 from commetchat/klipy-support 2026-03-17 18:49:33 +10:30
README.md Update README.md 2023-09-27 08:21:51 +09:30
SECURITY.md Updating documents 2023-09-27 08:13:48 +09:30
shell.nix Create shell.nix 2024-11-03 09:42:21 +10:30
tsconfig.json Initial commit 2023-05-27 15:57:05 +09:30
worker-configuration.d.ts Merge pull request #6 from commetchat/klipy-support 2026-03-17 18:49:33 +10:30
wrangler.toml Merge pull request #6 from commetchat/klipy-support 2026-03-17 18:49:33 +10:30

Proxy

Simple service to proxy api requests to third party services

Matrix Mastodon Twitter

Development

This service is built as a Cloudflare Worker. Check out this guide if you are unfamiliar.

For development purposes, you will need to supply your own Tenor API key in .dev.vars file. Have a look at this guide to get started working with Tenor api.

API

Interacting should be nearly identical to working with the third party API itself, but with limited functionality. It will only allow queries that are integral to the functionality required by Commet.

Requests

Requests may not share the exact same path as you might expect for a given api.

For example, the Tenor search api structures a request like so:

https://tenor.googleapis.com/v2/search?q=comet

Making this same request via this proxy would look like this:

https://proxy.commet.chat/proxy/tenor/api/v2/search?q=comet