Sign inSign up

faiqsohail/reddit-user-comments

By faiqsohail

•Updated almost 2 years ago

Image
0

203

faiqsohail/reddit-user-comments repository overview

⁠Reddit User Comments

A lightweight Dockerized application written in Go that fetches all comments ever made for a specified Reddit user.

⁠Features

  • Minimal Docker Image: Built on a scratch base image for a tiny footprint.
  • Efficient Go Code: Optimized for fast execution and low resource usage.
  • Customizable: Fetch comments for any Reddit user with a simple command.

⁠Usage

⁠Pull the Image
docker pull faiqsohail/reddit-user-comments:latest
⁠Running the Container

To fetch all comments for a specific Reddit user, run the container with the username argument:

docker run --rm faiqsohail/reddit-user-comments --username <reddit-username>
⁠Saving output

Simply redirect standard output to file of your choice.

docker run --rm faiqsohail/reddit-user-comments --username Hello > comments.txt

Note: To avoid being rate-limited, the application includes a one-second delay between API requests, as required by Reddit's API policies.

Tag summary

Content type

Image

Digest

sha256:09a3b25cf…

Size

2 MB

Last updated

almost 2 years ago

docker pull faiqsohail/reddit-user-comments