Current collected state Current
Observed since 20 Oct, 21:53 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0010capacity/reddit-cli
A powerful CLI client for Reddit
A powerful CLI client for Reddit, written in Rust.
npm install -g @0010capacity/reddit-cli
# View hot posts
reddit hot
# View a specific subreddit
reddit subreddit show rust
# Search Reddit
reddit search "rust programming" --subreddit rust
# Login for full access
reddit auth login
# After login, access your account
reddit me
reddit me karma
# Subscribe to a subreddit
reddit subscribe rust
| Command | Description |
|---|---|
reddit hot | View hot posts |
reddit new | View new posts |
reddit top [--time hour/day/week/month/year/all] | View top posts |
reddit rising | View rising posts |
reddit controversial | View controversial posts |
reddit subreddit show <name> | View subreddit info |
reddit user show <username> | View user info |
reddit search <query> | Search Reddit |
| Command | Description |
|---|---|
reddit me | View your account info |
reddit me karma | View karma breakdown |
reddit me subreddits | View subscribed subreddits |
| Command | Description |
|---|---|
reddit upvote <id> | Upvote a post/comment |
reddit downvote <id> | Downvote a post/comment |
reddit save <id> | Save a post/comment |
reddit subscribe <subreddit> | Subscribe to subreddit |
| Command | Description |
|---|---|
reddit submit link -r <sr> -t <title> -u <url> | Submit a link |
reddit submit text -r <sr> -t <title> --text <body> | Submit a text post |
reddit comment <parent> --text <text> | Post a comment |
| Command | Description |
|---|---|
reddit mod reports <subreddit> | View reports |
reddit mod queue <subreddit> | View mod queue |
reddit mod approve <id> | Approve post/comment |
reddit mod remove <id> | Remove post/comment |
# Table format (default)
reddit hot
# JSON output
reddit hot --format json
# Plain text
reddit hot --format plain
Reddit CLI uses OAuth2 for authentication. On first use:
reddit auth login
This will open your browser for authentication.
MIT
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
avaEnvironment{
"local_name": "ava",
"alias": false,
"peer_metadata": null
} | ^5.3.1 | development |
Source distribution
{
"shasum": "69e8225b85804588b0b4f4abe433cc1a64b84796",
"tarball": "https://registry.npmjs.org/@0010capacity/reddit-cli/-/reddit-cli-0.1.1.tgz",
"fileCount": 4,
"integrity": "sha512-0rZdD9beA2BeT3fUxHWXze6K6ZpbT2s1KlUL24vo1FQIvbI91RHaJ/gAkDwIXvrwx54ChWgz3ZVO3duRnO14UQ==",
"signatures": [
{
"sig": "MEYCIQCQmzKJHzG/F06Ao8DlgBc75m5G0ypjzm4z256dRW6LggIhAIpkcSTh0faIfs+WOgm7z+yeXMVnooRzMP4k1QCe0Zpt",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"unpackedSize": 5826
}Observed since 20 Oct, 21:53 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:7815d221bcb3b25d751e24fc4b4aaa8046ffefa452528e2275a2d7216fc66376