https://github.com/discourse/discourse-animated-avatars
A plugin to add gif avatars in Discourse
https://github.com/discourse/discourse-animated-avatars
discourse-plugin
Last synced: 11 months ago
JSON representation
A plugin to add gif avatars in Discourse
- Host: GitHub
- URL: https://github.com/discourse/discourse-animated-avatars
- Owner: discourse
- License: mit
- Created: 2021-12-08T00:28:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-07-08T19:44:11.000Z (11 months ago)
- Last Synced: 2025-07-09T20:45:33.160Z (11 months ago)
- Topics: discourse-plugin
- Language: JavaScript
- Homepage:
- Size: 320 KB
- Stars: 6
- Watchers: 18
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discourse-animated-avatars
Adds the ability for users to upload gif avatars which will animate on hover or selection in posts, user cards, and profile pages
## Enable gif resizing
Optionally, your `app.yml` may be configured to install gifsicle in addition to the plugin.
This allows gif uploads to be cropped and resized to fit a square avatar. If the dependency is not included,
gif uploads will keep the original aspect ratio.
```
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/discourse-animated-avatars.git
- exec:
cd: $home/plugins/discourse-animated-avatars
raise_on_fail: false
cmd:
- $home/plugins/discourse-animated-avatars/scripts/install.sh
```