bassrock / social-hackweek-2023-collection-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Curation Bot

This project is a hackweek project for Mozilla.Social and is intended to take a random Collection from Pocket's GraphQL API and post it to a Mastodon Instance.

post

Setup

  1. Copy .env.sample to .env
  2. Setup a Mastodon bot account. 2a. bot account 2b. permissions 2c. client secrets
  3. Add the rest of the variables to .env
  4. npm i
  5. npm run start - this will pick a collection at random and post using provided credentials!

Note: there is no de-duplication, it may post the same one.

Note: This project does use short urls from the api, which is actively discouraged on Mastodon.

About


Languages

Language:TypeScript 97.5%Language:JavaScript 2.5%