Stickers for Nextcloud Talk (a Nextcloud app and its open-licensed packs)
  • PHP 76.2%
  • JavaScript 17.1%
  • CSS 4.3%
  • Shell 2.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dawid Ciepiela 6a38a57142
All checks were successful
CI / php (dev-master) (push) Successful in 1m29s
CI / php (dev-stable32) (push) Successful in 1m27s
CI / php (dev-stable33) (push) Successful in 1m26s
CI / php (dev-stable34) (push) Successful in 1m26s
CI / php (dev-stable35) (push) Successful in 1m30s
CI / standards (push) Successful in 1m33s
CI / server (32) (push) Successful in 2s
CI / server (35) (push) Successful in 2s
CI / javascript (push) Successful in 45s
Merge pull request 'chore(deps): update dependency vimeo/psalm to v7.22.1' (#19) from renovate/all-minor-patch into main
Reviewed-on: #19
2026-12-02 21:12:59 +00:00
.forgejo chore(psalm): the share listener as Psalm 7.12 reads it, stubs instead of a baseline for Imagick 2026-11-23 07:12:07 +01:00
app/talk_stickers chore(release): 1.10.2 2026-11-30 06:30:33 +00:00
docs feat(picker): small previews, a search across all packs and an index the browser keeps 2026-11-28 21:27:33 +01:00
screenshots chore: the screenshots in Git LFS, info.xml links them by their /media/ URLs 2026-11-20 18:46:04 +01:00
tests fix(psalm): stub the Imagick methods Thumbnail uses, on which Psalm 7.12 crashes 2026-11-29 07:47:53 +01:00
.cz.toml ci: the release bot's Commitizen configuration, and Conventional Commits from now on 2026-11-05 19:21:30 +01:00
.editorconfig README in the shared order, details in docs/; .editorconfig, AGENTS.md, SECURITY.md 2026-11-03 07:18:07 +01:00
.gitattributes chore: the screenshots in Git LFS, info.xml links them by their /media/ URLs 2026-11-20 18:46:04 +01:00
.gitignore php-cs-fixer (Nextcloud's coding standard) and Psalm with composer scripts, markdownlint in CI, SPDX lines 2026-11-03 07:16:19 +01:00
.markdownlint.yaml markdownlint: 100-character lines, repeated changelog headings under different versions; CHANGELOG.md spaced as it wants 2026-11-02 13:22:19 +01:00
.php-cs-fixer.dist.php ci: the PHP checks on PHP 8.6 2026-11-21 09:40:10 +01:00
AGENTS.md ci: the PHP checks on PHP 8.6 2026-11-21 09:40:10 +01:00
CHANGELOG.md chore(release): 1.10.2 2026-11-30 06:30:33 +00:00
composer.json chore(deps): update dependency phpunit/phpunit to v13 (#3) 2026-11-10 10:04:35 +00:00
composer.lock chore(deps): update dependency vimeo/psalm to v7.22.1 2026-11-30 03:44:50 +00:00
LICENSE Stickers for Nextcloud Talk: the app and its pack builder 2026-10-14 09:51:58 +02:00
NOTICE.md Markdown: tables aligned 2026-11-02 14:16:29 +01:00
phpunit.xml php-cs-fixer (Nextcloud's coding standard) and Psalm with composer scripts, markdownlint in CI, SPDX lines 2026-11-03 07:16:19 +01:00
psalm-baseline.xml chore(psalm): the baseline as the new Psalm records it 2026-11-30 09:40:30 +00:00
psalm.xml chore(psalm): the share listener as Psalm 7.12 reads it, stubs instead of a baseline for Imagick 2026-11-23 07:12:07 +01:00
README.md perf: send still stickers at 256 pixels as palette PNGs, and say in the README who the app suits 2026-11-28 23:40:55 +01:00
renovate.json Stickers for Nextcloud Talk: the app and its pack builder 2026-10-14 09:51:58 +02:00
SECURITY.md README in the shared order, details in docs/; .editorconfig, AGENTS.md, SECURITY.md 2026-11-03 07:18:07 +01:00

Stickers for Nextcloud Talk

Send stickers and GIFs in Nextcloud Talk, from the browser, the desktop app and the Talk apps for Android and iOS.

  • About 8,400 stickers in five open-licensed packs: Fluent Emoji (3D), Noto Emoji (animated and still), OpenMoji and Twemoji. Your server downloads them after installation.
  • Your own stickers: upload images to a shared folder, and everyone who can read the folder can send them.
  • Stickers arrive as pictures: animated ones keep moving, and there's no link text around them.
  • /sticker party or /sticker 🎉 sends a sticker from any Talk client, phones included.
  • /gif happy dance sends a GIF from GIPHY, if the GIPHY integration is set up.
  • A sticker page for phones: you can add it to your home screen and share a sticker to Talk through the phone's share sheet.

Who it suits

Families, clubs and small teams. A sticker is sent the way Talk sends a picture: as a file in the sender's folder of the conversation, which Talk shares with it, because Talk's phone apps show only files as pictures (a sticker's link shows as a link card there). So each sender needs a little free storage, and in a conversation of hundreds of people every sticker costs the server what an attachment costs. The app keeps that small: a sticker sent again by the same person in the same conversation reuses its file, and a sent sticker is at most 256 pixels (a still one some 5 to 40 KB; an animated one, a GIF, is larger). For large installations with very large conversations it is not a good fit.

Screenshots

The sticker picker in a Talk conversation Stickers sent in a conversation
Searching a pack The sticker page for phones

Requirements

  • Nextcloud 32 to 36 with Talk. Talk 25 or later sends stickers and GIFs as pictures; older versions send them as links.
  • PHP 8.2 or later with the zip extension. Imagick (with SVG and WebP support) converts animated stickers to GIF, which Talk animates; without it, those stickers are sent as links. It also makes the picker's small previews; without it the picker loads the full images.
  • Background jobs run by cron, as Nextcloud recommends. The sticker packs are built by a background job.
  • About 500 MB of disk space in the app data for the packs and their previews, twice that while they are rebuilt after an update. The server downloads about 550 MB from GitHub, unicode.org and fonts.gstatic.com to build them.

Installing

  1. Install Talk stickers from the app store (Apps, Social & communication). Or unpack a release's talk_stickers-X.Y.Z.tar.gz into custom_apps/ and run occ app:enable talk_stickers.

  2. Wait for the packs. A background job downloads and builds them; this takes a few minutes, up to a quarter of an hour. To build them at once instead, run:

    occ talk_stickers:packs
    
  3. Optional, for your own stickers: install Team folders, create a team folder named Stickers and share it with the people who should see them.

  4. Optional, for GIFs: install the GIPHY integration and enter its API key in the admin settings.

Its settings are under Administration settings → Additional settings → Talk stickers (the team folder, the packs, the pack /sticker prefers); they and the troubleshooting are described in docs/admin.md.

Using it

In the browser and the desktop app: in a Talk conversation, type /sticker and press Enter, or choose the paperclip, Smart picker, Stickers. Pick a sticker, then press Enter to send it. The picker has a tab per pack, categories, search, and a Recent tab for the stickers you sent last; it opens on the first tab with stickers. A search finds stickers in every pack, the open tab's first. The picker shows small still previews; an animated sticker plays while the pointer is on it, and the sticker you send is the full one. The picker also works in other apps with the Smart Picker, such as Text, where it inserts the sticker's link.

In any client, phones included, send a message that starts with /sticker:

Message Sends
/sticker 🎉 that emoji's sticker
/sticker party the sticker whose name or keywords fit best (English words)
/sticker twemoji cat a sticker from the pack named first (fluent, noto, openmoji, twemoji, or ours for your own)
/sticker a link to the sticker page
/gif happy dance the first GIF GIPHY finds (words in your language)

The message is replaced before it's saved, so nobody sees what you typed. Words that fit no sticker are sent as you typed them. /stickers and /gifs work too, and so do /giphy and /naklejka (Polish).

On a phone, you can also open the sticker page, https://<your cloud>/apps/talk_stickers/ (Stickers in the app menu), and add it to your home screen. Tap a sticker, then Share and choose Talk and the conversation, or Copy link and paste it into Talk.

Your own stickers: put PNG, JPEG, GIF or WebP images in a subfolder of the Stickers folder. Each subfolder is a pack, for example Stickers/Dog/Happy.png.

Where sent stickers are kept, and more on your own stickers: docs/user.md.

How it works

The app (app/talk_stickers/) is PHP and plain JavaScript, with no build step.

  • Picker: a custom element of the Smart Picker, js/talk_stickers.js. A reference provider, lib/Reference/StickerReferenceProvider.php, shows a sticker link (/apps/talk_stickers/s/<pack>/<id>) as the sticker.
  • /sticker and /gif: lib/Listener/StickerCommandListener.php listens to Talk's BeforeChatMessageSentEvent. It finds the sticker (StickerService::search()) or the GIF (GifService), saves it in the sender's conversation folder (made and shared with Talk's own ConversationFolderService when missing; QuietFolderShareListener keeps Talk from announcing that share and has files_sharing mount it for the recipients, as Talk's attachments are), and rewrites the message into Talk's own message of that file, which refers to it by file id, as Talk 25's attachments do. WebP and SVG stickers are converted with Imagick; the results are kept in the app data.
  • Packs: lib/Packs/Builder.php builds them into the app data from the sources pinned in lib/Packs/manifest.json. Archives are checked against their SHA-256, and Unicode's emoji list supplies names and categories. Noto's images come from Google's emoji CDN, which has no pinned versions. Skin-tone variants are left out. A build goes into a new folder, which is used only once it's complete.
  • Images: /apps/talk_stickers/img/<pack>/<file> serves the packs' images, public and cached, because the phone apps load previews without a login; <id>.thumb.webp beside a large image is the picker's preview (lib/Packs/Thumbnail.php: 128 pixels, the first frame of an animated one).
  • Catalogue: /api/packs is the person's own packs and the address of the shipped packs' index, /api/index/<build>, which names the build and is cached for a year: the browser downloads the index once per build.

Developing

composer install
vendor/bin/phpunit && node tests/l10n.js
composer cs:check && composer psalm
npx --yes markdownlint-cli2 "*.md" "docs/**/*.md"

The tests need neither Nextcloud nor network. CI (.forgejo/workflows/ci.yml) also lints the PHP and JavaScript, checks appinfo/info.xml against the app store's schema, runs the tests against each supported Nextcloud (their results go to a pull request as a comment per version) and checks the app on a real Nextcloud with PostgreSQL. The layout, the checks and releasing are in docs/developer.md. The code lives at git.ciepiela.org; GitHub has a copy.

Reporting problems

Please open an issue on GitHub, sarumaj/nextcloud-talk-stickers, or on git.ciepiela.org; both are read. Say which versions of Nextcloud, Talk and this app you use, and which Talk client. Security problems go privately, as SECURITY.md says.

Licence

The app is licensed under the AGPL-3.0-or-later. The sticker packs keep their own licences; see NOTICE.md. The picker shows each pack's attribution.