1.1.1 • Published 4 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-screenshot
To Use
One URL with --thread
(captures entire Tweet thread)
twitter-screenshot [url here] --thread
One 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 .txt
Screenshots 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
--thread
flag will capture and take individual screenshots of each sub-tweet- creates
tweets.csv
andtable.html
tweets.csv
contains- username
- timestamp
- text
- tweet id
- tweet URL
- local filepath to screenshot
table.html
is 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
URL
and saving to file URL
will be parsed and the firstpath
will be used as the directory
TODO
- Read from a
links.txt
file 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
timestamp
format to allow easy sort - enable sortable columns on HTML table