A plugin to add gif avatars in Discourse
Find a file
Amanda Alves Branquinho aee1c1714c
Some checks failed
Discourse Plugin / ci (push) Has been cancelled
FIX: Update compatibility file (#74)
2026-05-05 16:51:35 -03:00
.github/workflows DEV: Add the d-compat branch workflow (#65) 2026-03-10 19:11:25 +00:00
assets/javascripts DEV: Update linting 2026-03-26 13:25:04 +00:00
config FEATURE: allow always-animated avatars 2022-12-16 15:31:13 -08:00
lib/discourse_animated_avatars FIX: Preserve animation in optimized GIF avatars (#71) 2026-04-27 12:57:19 -03:00
scripts install.sh executable 2022-01-26 11:23:56 -08:00
spec FIX: Preserve animation in optimized GIF avatars (#71) 2026-04-27 12:57:19 -03:00
test/javascripts DEV: Update linting (#66) 2026-03-13 12:27:40 +00:00
.discourse-compatibility FIX: Update compatibility file (#74) 2026-05-05 16:51:35 -03:00
.gitignore DEV: Update linting and add types (#62) 2026-01-28 11:47:41 +00:00
.npmrc DEV: Switch to use pnpm (#35) 2024-10-14 13:37:37 +02:00
.prettierrc.cjs DEV: Update linting (#22) 2023-12-13 20:04:57 +01:00
.rubocop.yml DEV: Introduce syntax_tree for ruby formatting (#8) 2022-12-29 13:29:44 +01:00
.streerc DEV: Introduce syntax_tree for ruby formatting (#8) 2022-12-29 13:29:44 +01:00
.template-lintrc.cjs DEV: Update linting (#22) 2023-12-13 20:04:57 +01:00
eslint.config.mjs DEV: Update eslint config (#38) 2024-11-19 11:18:51 +01:00
Gemfile DEV: Introduce syntax_tree for ruby formatting (#8) 2022-12-29 13:29:44 +01:00
Gemfile.lock DEV: Update linting 2026-03-26 13:25:04 +00:00
LICENSE DEV: Update license (#47) 2025-02-24 11:20:14 +08:00
package.json DEV: Update linting 2026-03-26 13:25:04 +00:00
plugin.rb DEV: Update rubocop-discourse to latest version 2024-05-15 18:08:48 +02:00
pnpm-lock.yaml DEV: Update linting 2026-03-26 13:25:04 +00:00
README.md update readme 2022-03-08 09:49:25 -08:00
stylelint.config.mjs DEV: Update linting (#50) 2025-03-13 13:25:43 +00:00
tsconfig.json DEV: Update linting and add types (#62) 2026-01-28 11:47:41 +00:00

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