New plugin: FavouriteAnything - #4444
Open
Davr1 wants to merge 18 commits into
Open
Conversation
sadan4
reviewed
Jul 31, 2026
sadan4
reviewed
Aug 6, 2026
Co-authored-by: sadan <117494111+sadan4@users.noreply.github.com>
…into favouriteAnything
Contributor
Author
Contributor
Author
Contributor
|
does it work on iPhone |
Contributor
Author
|
Mobile can't render inline svgs I think (haven't tested on iphone) Maybe I could add a toggle to choose between inline svg and external bitmap thumbnails (which would have to use an external service, since storing a bitmap in the protobuf would be really wasteful) |
Contributor
Author
|
Added mobile compatible thumbnails generated with placeholder.nin0.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This plugin allows you to add common media and file types to your favourites (including images, videos, audio files, text files, content within rich embeds, external youtube/tiktok embeds, cv2 file/media components, clips, etc), and is compatible with the vanilla client, so anything you favourite will be displayed in the gif picker as a regular image/video (if possible) or a simple thumbnail with the proper source url.
Favorite button is displayed either on the left for basic attachments, or on the right grouped with other actions



Favourite files live in a separate tab, and are fully interactive. Plugin is made to be extensible so adding another type of favouritable item would take ~50 lines tops, however the split between "media" and "files" already covers most use cases
What custom non-media items look like with the plugin disabled. Clicking on the thumbnail will send the original attachment url. Attachments are still searchable given the fact that the filename is used in the thumbnail url itself
This plugin has been in Equicord (and vencor #unofficial-plugins) for a while now so most edge cases are already handled correctly.
Supersedes #2091.
Checklist before submitting