Reddit search agent using the public JSON API.
Two search modes running in parallel:
Subreddit listing — fetches hot/new posts from configured subreddits and filters by keyword.
Reddit search — uses reddit.com/search.json to search across all of Reddit or restricted to configured subreddits.
Deduplication by URL is handled upstream by the Emquest pipeline.
base_capabilities/0 extends em_filter:base_capabilities(). Topic-specific filters extend reddit_filter_app:base_capabilities():
reddit_config.json format: { "subreddits": ["erlang", "programming", "linux"], "search_reddit": true, "listing": "hot" }
listing can be: "hot" | "new" | "top" | "rising"
Handler contract: handle/2 (Body, Memory) -> {RawList, Memory}.| base_capabilities/0 | |
| handle/2 |
base_capabilities() -> [binary()]
handle(Body, Memory) -> any()
Generated by EDoc