0.0.11 • Published 2 years ago

@urban-zoo/spread-the-word v0.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

spread-the-word

dev

# twitter:
export CONSUMER_KEY=""
export CONSUMER_SECRET=""
export ACCESS_TOKEN=""
export ACCESS_TOKEN_SECRET=""
export TWITTER_USERNAME=""
# linkedin access token
export LINKEDIN=""
export LINKEDIN_ID=""
# instagram
export INSTA_USERNAME=""
export INSTA_PASSWORD=""
# blogs
export BLOG_MEDIUM=""
export BLOG_DEVTO=""
export BLOG_HASHNODE=""
export BLOG_HASHNODE_USERNAME=""

usage

simple example:

async function main() {
  const shareController = new ShareController({
    entries: {
      path: [__dirname],
      file: 'entries',
    },
    store: {
      path: [__dirname],
      file: 'store',
    },
    markdownPath: `${__dirname}/markdown`,
    imgPath: `${__dirname}/img`,
  })
  await shareController.shareScheduled()
}

main()

instagram example:

[
  {
    "targets": "instagram",
    "ts": "2021-12-02",
    "content": {
      "entries": ["Trees of Life", "#nft #opensea"],
      "image": {
        "path": "0.jpg",
        "alt": "Trees of Life"
      },
      "url": {
        "url": "https://opensea.io/",
        "title": "Trees of Life"
      }
    }
  }
]

get credentials

roadmap

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago