Skip to content

eleco/twitter-link-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter-link-collector

A tool to extract url links from the user's twitter timeline, and email them to a predefined mail box

Todo

  • Monitor state of the websocket opened with Twitter
  • More tests !
  • extract image from the links
  • Dockerise

Pre-requisites

Installation - Option 1: run locally

  • Export the following environment parameters

     * TWITTER_CONSUMER_KEY, TWITTER_CONSUMER_SECRET, TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_TOKEN_SECRET: from the Twitter app console
     
     * MAIL_USER, MAIL_PASSWORD, MAIL_HOST, MAIL_PORT, MAIL_RECIPIENT : the email client settings
    
  • go run Main.go

Installation - Option 2: use systemd on linux

  • Edit the twitter-link-collector.service file with the relevant account details

  • sudo mv twitter-link-collector.service /etc/systemd/system

  • sudo systemctl start twitter-link-collector

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages