Skip to content

Commit

Permalink
Update stickers, squash commits to save space
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Dec 31, 2024
0 parents commit 77f82c1
Show file tree
Hide file tree
Showing 264 changed files with 1,672 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Update stickers

on:
schedule:
- cron: "2 0 * * *"
push:

jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
submodules: recursive
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
allow-prereleases: true
- name: Update stickers
env:
SIGNAL_PASSWORD: ${{ secrets.SIGNAL_PASSWORD }}
SIGNAL_UUID: ${{ secrets.SIGNAL_UUID }}
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
TELEGRAM_USERID: ${{ secrets.TELEGRAM_USERID }}
run: |
pip install -r requirements.txt
python update.py
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: Update stickers
branch: ${{ steps.extract_branch.outputs.branch }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
emoji.txt
*.apng
*.png
*.webm
*.webp
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lihkg-icons"]
path = lihkg-icons
url = https://github.com/laggykiller/lihkg-icons.git
72 changes: 72 additions & 0 deletions README.md

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions README_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Lihkg icons sticker packs
Unofficial [LIHKG (連登)](https://lihkg.com/) icons sticker packs, automatically regenerated when there is update. Updated periodically with github action.

Note that this repo is not official. To get official stickers,
please download LIHKG official application.

LIHKG icons from https://github.com/laggykiller/lihkg-icons
Conversion to sticker packs by https://github.com/laggykiller/sticker-convert

## Downloads
{body}

## Importing .wastickers into WhatsApp
1. Download Sticker maker on your phone [[iOS version](https://apps.apple.com/us/app/sticker-maker-studio/id1443326857) | [Android version](https://play.google.com/store/apps/details?id=com.marsvard.stickermakerforwhatsapp)]
2. Transfer the .wastickers file into your phone
3. Share the file to Sticker Maker app
4. Inside Sticker Maker app, you can then import the stickers into WhatsApp

## For developers
To manually update:
1. `pip install -r requirements.txt`
2. `python update.py`

If you want to force update specifc pack(s), you can specify on command line. Examples:
```
python update.py mouse-signal-gif dog-telegram-png
python update.py mouse-signal # gif and png of mouse, Signal sticker pack
python update.py "mouse-*-gif" # gif of mouse, all supported sticker pack
python update.py mouse # gif and png of mouse, all supported sticker pack
python update.py "*-signal-gif" # gif of all packs, all supported sticker pack
python update.py "*" # Everything
```

Note that the following secrets have to be set for Github action to work:
- SIGNAL_UUID
- SIGNAL_PASSWORD
- TELEGRAM_TOKEN
- TELEGRAM_USERID
140 changes: 140 additions & 0 deletions custom_preset.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
{
"signal": {
"size_max": {
"img": 300000,
"vid": 300000
},
"format": {
"img": ".png",
"vid": ".apng"
},
"fps": {
"min": 30,
"max": 30,
"power": -0.5
},
"res": {
"w": {
"min": 128,
"max": 512
},
"h": {
"min": 128,
"max": 512
},
"power": 3
},
"quality": {
"min": 10,
"max": 95,
"power": 3
},
"color": {
"min": 32,
"max": 257,
"power": 3
},
"duration": {
"min": 0,
"max": 3000
},
"bg_color": "00000000",
"steps": 16,
"fake_vid": false,
"scale_filter": "nearest",
"quantize_method": "fastoctree",
"default_emoji": "😀"
},
"telegram": {
"size_max": {
"img": 512000,
"vid": 256000
},
"format": {
"img": ".png",
"vid": ".webm"
},
"fps": {
"min": 30,
"max": 30,
"power": -0.5
},
"res": {
"w": {
"min": 512,
"max": 512
},
"h": {
"min": 512,
"max": 512
},
"power": 3
},
"quality": {
"min": 10,
"max": 95,
"power": 3
},
"color": {
"min": 32,
"max": 257,
"power": 3
},
"duration": {
"min": 0,
"max": 3000
},
"bg_color": "00000000",
"steps": 16,
"fake_vid": false,
"scale_filter": "nearest",
"quantize_method": "fastoctree",
"default_emoji": "😀"
},
"whatsapp": {
"size_max": {
"img": 100000,
"vid": 500000
},
"format": {
"img": ".webp",
"vid": ".webp"
},
"fps": {
"min": 30,
"max": 30,
"power": -0.5
},
"res": {
"w": {
"min": 512,
"max": 512
},
"h": {
"min": 512,
"max": 512
},
"power": 3
},
"quality": {
"min": 0,
"max": 100,
"power": 3
},
"color": {
"min": 32,
"max": 257,
"power": 3
},
"duration": {
"min": 8,
"max": 10000
},
"bg_color": "00000000",
"steps": 16,
"fake_vid": true,
"scale_filter": "nearest",
"quantize_method": "fastoctree",
"default_emoji": "😀"
}
}
1 change: 1 addition & 0 deletions lihkg-icons
Submodule lihkg-icons added at 804629
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sticker-convert
1 change: 1 addition & 0 deletions sticker_packs/big/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=f02c37a4491bcc4ffcf1e53fa051173c&pack_key=28606925103442f6ee6d9dfb3316ebd91f56d54b91edfdae40ec2998eebbe03a
1 change: 1 addition & 0 deletions sticker_packs/big/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=1dcb5de6214514ef48f8a1b04d335240&pack_key=138f1851924efac184d585b1cc203b17e34552374bddde4b1a17ecf306d083f4
2 changes: 2 additions & 0 deletions sticker_packs/big/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://t.me/addstickers/LIHKG_big_by_laggykillerstickerbot
https://t.me/addstickers/LIHKG_big_1_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/big/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_big_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/cat/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=9635e0dce5ddff8ccaef48beb5790408&pack_key=5d4f71f16b05d1a60c957706e98eafe8f9bcef3b791dde488a5f407fa35cfb55
1 change: 1 addition & 0 deletions sticker_packs/cat/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=67ddcc1d175aac74e7c706bf84a86fac&pack_key=934d7bae36356f26206ad79ef64755f4094257a0e7db1fa7c7f5fbfac1e9597e
1 change: 1 addition & 0 deletions sticker_packs/cat/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_cat_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/cat/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_cat_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/catxm/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=4aa8a43e02c9c67505873bf0fc230413&pack_key=7547b9e54781768becf46b5746d09c637937f7730a3f2455527a40b9dcb9d678
1 change: 1 addition & 0 deletions sticker_packs/catxm/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=2843659db88c4d1b4c6fb1727b3b7061&pack_key=fa57ebc25dce5f5d42f2777aec410c6149a7ed4fd1fc1fa374717c48798c9a67
1 change: 1 addition & 0 deletions sticker_packs/catxm/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_catxm_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/catxm/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_catxm_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/cow/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=01c4a288d827286785453c85c3b16fc5&pack_key=36ff6f50455a4585619b0f1a608df609e487768cbcdb625193fca71b251369bd
1 change: 1 addition & 0 deletions sticker_packs/cow/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=32b7835546fd7d1d60967a9ba7c738d9&pack_key=20d5f733a4d0d91b98f651fb46a0dd5c842148a4b3e3f6cce55f02ac15243b5f
1 change: 1 addition & 0 deletions sticker_packs/cow/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_cow_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/cow/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_cow_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/cowxm/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=298bafd82e42f81d149f1068a0003b99&pack_key=19e55fc805f521a4f4fdb5a749f9e333ae30634c099aee7d08a1655b8ecd2178
1 change: 1 addition & 0 deletions sticker_packs/cowxm/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=101a44d136f63e99d4ad86aff8e29782&pack_key=178798f232b59ebe405929f073fd80e13779eb87949c58bf4b84acef5b4a138b
1 change: 1 addition & 0 deletions sticker_packs/cowxm/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_cowxm_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/cowxm/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_cowxm_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/dog/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=c858bda51aec1bbbf688ea10d59afdc6&pack_key=dcb095c20c7f3fb182eff869cfa8378ed489e5d11f18658be8538e56b45821ba
1 change: 1 addition & 0 deletions sticker_packs/dog/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=383b28fbf7054ff42a055754e9326a92&pack_key=67e2904e198255f101c6c73f4b9d6e7881d11393b5d5d154ec68e2f7268ddc7d
2 changes: 2 additions & 0 deletions sticker_packs/dog/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://t.me/addstickers/LIHKG_dog_by_laggykillerstickerbot
https://t.me/addstickers/LIHKG_dog_1_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/dog/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_dog_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/dogxm/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=843df93d041c3e9f82726be2e7f0e983&pack_key=a4fa4e14c76c3fe422b6018d25660131676c1ecffe9bdde712714e81fee817e2
1 change: 1 addition & 0 deletions sticker_packs/dogxm/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=c7c2c480ef215c50d7ef3feb0bac7344&pack_key=0e46e51155f0bfd8316e420df29a4d5f069ddaad83718dbe2b58524b454792b7
2 changes: 2 additions & 0 deletions sticker_packs/dogxm/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://t.me/addstickers/LIHKG_dogxm_by_laggykillerstickerbot
https://t.me/addstickers/LIHKG_dogxm_1_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/dogxm/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_dogxm_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/dragon/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=c95f1c605cb2f1c1f4d92fa7d1695f0a&pack_key=85206e4adf0750d201ab9a83e949e0b1f58d52ea1908a52d27bd609e1fcf627a
1 change: 1 addition & 0 deletions sticker_packs/dragon/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=a860208a0cbf7622cb560b15186f534a&pack_key=b6c0054e7ee47b3d810433c4fc91bb80745204d45b6968759e12c96f002fc9f9
1 change: 1 addition & 0 deletions sticker_packs/dragon/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_dragon_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/dragon/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_dragon_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/dragonxm/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=86c3df3379734a275e0483db59d806d9&pack_key=e77f2588acbf34dd32705f74deca38069bb343e72dd3a976f96a46782c790d11
1 change: 1 addition & 0 deletions sticker_packs/dragonxm/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=92feec64c38f06f64c726b030a2b03a6&pack_key=8c4ebd736de929ce2bc744c0112fb19e7ff534c047154e825e2778a184c8ee11
1 change: 1 addition & 0 deletions sticker_packs/dragonxm/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_dragonxm_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/dragonxm/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_dragonxm_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/fatcmoji/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=876a030b0f8dfb075c9868b22b58142b&pack_key=afd214e1ca8bf49cf993587926efae301abcc66a06a059a927b81fb9d3228d70
1 change: 1 addition & 0 deletions sticker_packs/fatcmoji/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=00e6144456bd8433bf994010f852e65e&pack_key=61dc176d5b5b0908468446a778a924e938fba89e1cf98fe53a4d9b1893d1b052
1 change: 1 addition & 0 deletions sticker_packs/fatcmoji/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_fatcmoji_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/fatcmoji/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_fatcmoji_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/fifa/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=ebe99f9ee1b262fc6ce8e65159e73f6a&pack_key=81ee889e35b8980c9983353f5b15e9e415f6bdfe889b721e3c79cda4425d845f
1 change: 1 addition & 0 deletions sticker_packs/fifa/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=bb02ce022e267ccb2379b6fadf93578f&pack_key=d80ca822d5b5d1fcdcd69ee237c810cb2bbb6299b9e2e002d64d1b38a71a8bb5
2 changes: 2 additions & 0 deletions sticker_packs/fifa/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://t.me/addstickers/LIHKG_fifa_by_laggykillerstickerbot
https://t.me/addstickers/LIHKG_fifa_1_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/fifa/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_fifa_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/fs/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=bf91f417970dee8256d5cc8cc328b13f&pack_key=00f0e3bbe26099b7e7059cd4d9eeb1c575fcb20c9e494eaa3659ad8a5bbd4a9e
1 change: 1 addition & 0 deletions sticker_packs/fs/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=f99e3996f050462beca9837f9e6a20d7&pack_key=5ffac30f059c04c409c0726050fdd91e99a6d1fc37016bcd5ba963bb493d3e97
1 change: 1 addition & 0 deletions sticker_packs/fs/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_fs_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/fs/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_fs_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions sticker_packs/hb/signal/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=b914c1376f018a8d9572028d03cf2053&pack_key=49800c89bfca073d06cd519cc95ff2d6b15cbf10d27abc9b81920313b8c7f451
1 change: 1 addition & 0 deletions sticker_packs/hb/signal/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://signal.art/addstickers/#pack_id=6ffac0f99e359bbfea23253456fc9a4d&pack_key=7ee8ddd67cefca84e42ea30a5b4257aabd5ab767e0a5f203d14b991554b2926c
1 change: 1 addition & 0 deletions sticker_packs/hb/telegram/gif/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_hb_by_laggykillerstickerbot
1 change: 1 addition & 0 deletions sticker_packs/hb/telegram/png/export-result.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://t.me/addstickers/LIHKG_hb_static_by_laggykillerstickerbot
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 77f82c1

Please sign in to comment.