Reddit.Console 1.0.0

dotnet tool install --global Reddit.Console --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Reddit.Console --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Reddit.Console&version=1.0.0
                    
nuke :add-package Reddit.Console --version 1.0.0
                    

Reddit.Console

CLI for scraping Reddit posts, comments, communities, and users via Apify. YAML-first output optimized for LLM agent consumption.

Installation

dotnet tool install -g Reddit.Console

Prerequisites

Set your Apify API token:

export APIFY_TOKEN=your-token-here

Or pass it per-command with --api-key.

Usage

# Search for posts
reddit search "dotnet 10"

# Search within a community
reddit search "async await" --community csharp

# Search for comments
reddit search "performance" --comments

# Search for communities
reddit search "programming" --communities

# Search for users
reddit search "devops" --users

# Sort and filter
reddit search "rust vs go" --sort top --time month --max-items 20

Scrape

# Scrape a post with comments
reddit scrape https://www.reddit.com/r/dotnet/comments/abc123/some_post/

# Scrape a community
reddit scrape https://www.reddit.com/r/csharp/ --max-posts 20

# Scrape a user page
reddit scrape https://www.reddit.com/user/someuser/

# Skip comments for faster results
reddit scrape https://www.reddit.com/r/programming/ --skip-comments

# Only posts after a date
reddit scrape https://www.reddit.com/r/dotnet/ --since 2025-01-01

Common options

--api-key <KEY>       Apify token (or set APIFY_TOKEN env var)
--max-items <N>       Maximum items to return (default: 10)
--max-posts <N>       Maximum posts per page (default: 10)
--max-comments <N>    Maximum comments per post (default: 10)
--since <DATE>        Only posts after this date
--comments-since      Only comments after this date

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.0 82 4/30/2026