What if paintings
This is a Node.js bot that posts images on Mastodon at @what_if_paintings and on Twitter at @WhatIfPaintings. The images are pregenerated using Tensorflow and neural-style.
Set up
- Fork this project.
- Create an account for your bot, preferably on botsin.space, a Mastodon instance dedicated to bots.
- Update your
.env
file:
MASTODON_API
: for examplehttps://mastodon.social/api/v1/
, orhttps://botsin.space/api/v1/
, based on where you created your bot.MASTODON_ACCESS_TOKEN
: the Mastodon token you acquired in step 2CONSUMER_KEY
: from the Twitter APICONSUMER_SECRET
: from the Twitter APIACCESS_TOKEN
: from the Twitter APIACCESS_TOKEN_SECRET
: from the Twitter API
- Run
node index.js
ornpm run start