1.1.1 • Published 6 years ago
@tacosandcoffee/twitter-screenshot v1.1.1
twitter-screenshot
An application to hold onto the moment
This application will take screenshots of URLs passed to it.
To Install
npm i -g @tacosandcoffee/twitter-screenshotTo Use
One URL with --thread  (captures entire Tweet thread)
twitter-screenshot [url here] --threadOne URL
npm start [url here]Screenshot will be saved in ~/twitter-screenshot/screenshots/[twitterHandle]
Multiple URLs (via links.txt)
cd
mkdir twitter-screenshot/
touch twitter-screenshot/links.txt
# open links.txt and add all the URLs, newline for each one
# save file
twitter-screenshot .txtScreenshots will be saved in ~/twitter-screenshot/screenshots/[twitterHandle]
Note: If multiple URLs have different handles, the respective screenshots will be in those specific sub-folders
Version Notes
v1.0.0
--threadflag will capture and take individual screenshots of each sub-tweet- creates 
tweets.csvandtable.htmltweets.csvcontains- username
 - timestamp
 - text
 - tweet id
 - tweet URL
 - local filepath to screenshot
 
table.htmlis a simple formatted table which allows visual navigation of screenshots- image thumbnails will navigate to fullsize screenshots saved locally
 
 
- creates 
 
v0.3.0
- Read multiple URLs from 
root/home/twitter-screenshot/links.txt 
v0.2.1
- Initial basic feature of taking a screenshot via 
URLand saving to file URLwill be parsed and the firstpathwill be used as the directory
TODO
- Read from a 
links.txtfile to take multiple screenshots - Save text of respective screenshot
 - Determine a way to store and organize in a spreadsheet-like format
- Capture entire thread of a Tweet in CSV format for spreadsheet import
 
 - Explore integration with Google Sheets API
 - Take one large screenshot of entire thread
 - Update 
timestampformat to allow easy sort - enable sortable columns on HTML table