Skip to content

hunterowens/california-landscape-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

california-landscape-bot

.env

This should exist with valid Twitter API keys:

CONSUMER_KEY
CONSUMER_SECRET=
ACCESS_TOKEN=
ACCESS_TOKEN_SECRET=

CLI usage

  • node california-landscape-bot.js - tweet a random still image
  • node california-landscape-bot.js --gif - tweet a random GIF
  • node california-landscape-bot.js --site=Axis-Vollmer - tweet a still image from a particular site
  • node california-landscape-bot.js --gif --duration=6h --mode=all - tweet a GIF with a specific duration (15m, 1h, 3h, 6h, 12h) and mode ("all" or "smooth")

Cron Usage

40 * * * * source $HOME/.profile; cd $HOME/california-landscape-bot/; node california-landscape-bot.js --gif >> ~/california-landscape-bot.log 2>&1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors