Skip to content

AndrewYatzkan/reddit-comment-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reddit-comment-renderer

Renders a Reddit comment as a png file.

Usage

const render = require("reddit-comment-renderer");
render(
		"AWildSketchAppeared" /* Username */,
		"Lorem ipsum dolor sit amet" /* Comment */,
		"16.5k" /* Upvotes */, "8h" /* Timestamp */,
		1920 /* Image Width */,
		1080 /* Image Height */,
		3 /* "Zoom" */,
		"out.png" /* Output File */
	);

Example

Example

Expect future updates, planning on adding:

  • auto-centering + auto-scaling
  • dark mode + custom colors
  • desktop theme (currently mobile theme)
  • replies to comments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published