Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hxlnt/tweetcollector
Node.js script to create a pretty HTML grid of tweets (and screenshots!)
https://github.com/hxlnt/tweetcollector
Last synced: about 2 months ago
JSON representation
Node.js script to create a pretty HTML grid of tweets (and screenshots!)
- Host: GitHub
- URL: https://github.com/hxlnt/tweetcollector
- Owner: hxlnt
- License: mit
- Created: 2020-07-16T05:19:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-02T19:57:03.000Z (over 3 years ago)
- Last Synced: 2023-03-24T19:17:29.211Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tweetcollector
This is a small NodeJS script that turns a user-provided text file of tweet URLs into perfectly-cropped individual screenshots as well as an HTML page displaying a grid of embedded tweets. This replaces manually screenshotting of tweets, which can be time-consuming and can result in differently-sized screenshots.## Installation
1. Clone this repo: `git clone https://github.com/hxlnt/tweetcollector`
2. Install from within the project folder: `npm install`## Usage
Add tweet URLs (one per line, no extra query parameters) to a text file, then pass the filename to tweetcollector like so:`node tweetcollector.js "filename.txt"`
Equally-sized screenshots and an HTML file will be generated in the same folder.
## TODO
⬜ Allow easy user customization of layout (ex: Masonry-style layout)