matrix-org / matrix-org/matrix-widget-api

Authenticated media / MSC3916 support.

Open
#115 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
95
Forks
24
Avg merge
16h 16m
Merged PRs (30d)
1

Description

Media across matrix is slowly starting to require authentication, with the major servers out there now requiring new media to be accessed with a bearer token. Widgets obviously do not have access to the client's access token, so will be unable to access this media.

I suspect a good solution here would be to provide APIs for download / thumbnail APIs, and pass along a buffer with the media.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading MSC3916 and the existing widget media API surface, focusing on the download and thumbnail APIs mentioned in the issue. The work is done when widgets can access authenticated media through a defined API and receive the media buffer without access to the client's token.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.