/social-tools

Internal app to create graphics used in Kadena related posts

Primary LanguageTypeScript

Social Tools

Social Tools is an internal application to enrich Kadena-related posts or articles. Iteratively we will add new features to it. But, for now, you can create an image or video by providing specific information about your content.

In the examples below, you will find the JSON object you need to replace. As Ashwin promised, soon, we'll be able to fill out a form that creates the URL where you can find your media.

How to use it

Simply replace your JSON in the content searchParam as shown below.

/update/?content={REPLACE_WITH_YOUR_JSON}

Data Type

type TContent = {
  title: string
  seqUpdate?: string // appends a #{seqUpdate} after the title
  subtitle: string
  profile?: {
    image?: string
    name: string
    title: string
    account?: string
  }[]
  footer?: {
    title: string
    subtitle?: string
  }
  tags?: string[]
  links?: string[]
  theme?: 'dark' | 'light' // dark is default
}

Example #1

{
  "title": "@kadena/fonts",
  "subtitle": "Kode Mono now available as an NPM package",
  "seqUpdate": "2",
  "tags": ["released", "npm"],
  "footer": {
    "title": "Simply import the @kadena/font",
    "subtitle": "to any dApp being created"
  }
}

Example #2

{
  "title": "Academy Platform Workshop",
  "subtitle": "Build the future on Kadena",
  "profile": [
    {
      "image": "https://pbs.twimg.com/profile_images/1631645715943288834/P1rt7Yx5_400x400.png",
      "name": "Davy Engone",
      "title": "Engineer",
      "account": "@davyengone"
    },
    {
      "image": "https://pbs.twimg.com/profile_images/1525968876995022849/RuI_HOx9_400x400.jpg",
      "name": "Randy Daal",
      "title": "DX Team Lead",
      "account": "@Randynamic_4"
    }
  ],
  "tags": ["AvailableNow"],
  "links": ["academy.kadena.io"]
}