An open API service indexing awesome lists of open source software.

https://github.com/toasterofbread/discordimageindex


https://github.com/toasterofbread/discordimageindex

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# discordimageindex
Used in https://github.com/toasterofbread/spmp


### Currently hosted as a [Supabase](https://supabase.com/) edge function

The Supabase URL and api key can be found here: https://github.com/toasterofbread/spmp/blob/main/keys.properties


**To directly view the source code of the hosted function (get-images):**

- Send a get request to `https://api.supabase.com/v1/projects/opdupqbpxdfaqgdffyun/functions/get-images/body` with the `Authorization` header set to `Bearer: `
- Decode Brotli-encoded response

As a curl command:
```
curl 'https://api.supabase.com/v1/projects/opdupqbpxdfaqgdffyun/functions/get-images/body' -H "Authorization: Bearer " --output - | brotli -d -o source_code.js
```