Code Monkey home page Code Monkey logo

mystickerpicker's Introduction

Aleksana自用Matrix贴纸包

预览

可以在这里

我也想用!

这个picker只支持Element (Web, Electron, Android, iOS) 客户端以及基于它的客户端。

在你的Element (Web或桌面端) 的任意聊天窗口输入/devtools并发送,会打开一个Developer Tools窗口,在其中选择Explore account data,在其中找到m.widgets,在"content"中添加如下内容:

"stickerpicker": {
    "content": {
        "type": "m.stickerpicker",
        "url": "https://aleksanaa.github.io/mystickerpicker/web/?theme=$theme",
        "name": "Stickerpicker",
        "data": {}
    },
    "sender": "@you:matrix.server.name",
    "state_key": "stickerpicker",
    "type": "m.widget",
    "id": "stickerpicker"
}

其中sender可以保持原状,不影响使用。

如果没有找到m.widgets,就直接选择右下角Send custom account data event,event type选择m.widgets,并填入:

{
  "type": "m.widgets",
  "content": {
    "stickerpicker": {
      "content": {
        "type": "m.stickerpicker",
        "url": "https://aleksanaa.github.io/mystickerpicker/web/?theme=$theme",
        "name": "Stickerpicker",
        "data": {}
      },
      "sender": "@you:matrix.server.name",
      "state_key": "stickerpicker",
      "type": "m.widget",
      "id": "stickerpicker"
    }
  }
}

同一个账户应该只需要设置一次。

我还想加别的!

那你自己搭建原版吧。

mystickerpicker's People

Contributors

aleksanaa avatar auscompgeek avatar aweinzierl avatar celogeek avatar p1gp1g avatar salixor avatar spiritcroc avatar tulir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.