Skip to content

Changing Twitter profile cover every sunrise and sunset with the image from Unsplash and NASA respectively.

Notifications You must be signed in to change notification settings

ThewApp/auto-twitter-cover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-twitter-cover

GitHub go.mod Go version .github/workflows/go.yml

Changing Twitter cover every sunrise and sunset with images from Unsplash and Nasa respectively.

Usage

Set env

export TWITTER_CONSUMER_KEY=""
export TWITTER_CONSUMER_SECRET=""
export TWITTER_ACCESS_TOKEN=""
export TWITTER_ACCESS_TOKEN_SECRET=""
export UNSPLASH_ACCESS_KEY=""

Start

  1. Use online image
docker pull ghcr.io/thewapp/auto-twitter-cover:main
docker run -d --restart always --name auto-twitter-cover \
    -e TWITTER_CONSUMER_KEY -e TWITTER_CONSUMER_SECRET \
    -e TWITTER_ACCESS_TOKEN -e TWITTER_ACCESS_TOKEN_SECRET \
    -e UNSPLASH_ACCESS_KEY \
    ghcr.io/thewapp/auto-twitter-cover:main
  1. Use local image
docker build https://github.com/ThewApp/auto-twitter-cover.git#main -t auto-twitter-cover:main
docker run -d --restart always --name auto-twitter-cover \
    -e TWITTER_CONSUMER_KEY -e TWITTER_CONSUMER_SECRET \
    -e TWITTER_ACCESS_TOKEN -e TWITTER_ACCESS_TOKEN_SECRET \
    -e UNSPLASH_ACCESS_KEY \
    auto-twitter-cover:main

Stop

docker stop auto-twitter-cover && docker rm auto-twitter-cover

About

Changing Twitter profile cover every sunrise and sunset with the image from Unsplash and NASA respectively.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages