MyGit

v1.10.0

gitroomhq/postiz-app

版本发布时间: 2024-12-09 17:47:24

gitroomhq/postiz-app最新发布版本:v1.22.1(2025-01-03 18:53:31)

This is the new version of plugs! This is a concept that you can find in some other tools that can boost your engagement for you current posts. Here are some examples:

We have created it super simple to add each plug, you can find in each provider something like this:

  @Plug({
    identifier: 'x-autoRepostPost',
    title: 'Auto Repost Posts',
    description:
      'When a post reached a certain number of likes, repost it to increase engagement (1 week old posts)',
    runEveryMilliseconds: 21600000,
    totalRuns: 3,
    fields: [
      {
        name: 'likesAmount',
        type: 'number',
        placeholder: 'Amount of likes',
        description: 'The amount of likes to trigger the repost',
        validation: /^\d+$/,
      },
    ],
  })
  async autoRepostPost(
    integration: Integration,
    id: string,
    fields: { likesAmount: string }
  ) {
  ...code
  }

Once you add an annotation and a function like this, it will automatically reveal it in the frontend, and trigger it when needed. Super simple!


What's Changed

New Contributors

Full Changelog: https://github.com/gitroomhq/postiz-app/compare/v1.9.0...v1.10.0

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-12-09发行的版本