hxlnt / tweetcollector

Node.js script to create a pretty HTML grid of tweets (and screenshots!)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Node.js script to create a pretty HTML grid of tweets (and screenshots!)

License:MIT License


Languages

Language:JavaScript 65.6%Language:HTML 34.4%