npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nikosv/trustmebro

v1.3.0

Published

Fetch and index social media content for agentic workflows

Readme

TrustMeBro

Turn social media noise into a searchable knowledge base for AI agents.

License: MIT CI npm

Fetch content from YouTube, Reddit, and more — process it with LLMs — and let your AI agent search, analyze, and synthesize insights across all of it.

Supported platforms: YouTube, Reddit, Telegram · Coming soon: Twitter


Why TrustMeBro?

Ever felt that low-key anxiety when you're 47 videos behind on your favorite finance YouTubers, three Reddit threads deep at 2 AM, and you still feel like you're missing something important? The FOMO is real. You can't watch everything, read everything, and remember everything — and yet somehow you're supposed to make informed decisions based on all of it.

We've all been there, and TrustMeBro is here to help.

It fetches all the content you care about, runs it through an LLM, and spits out a searchable, tagged, grep-friendly knowledge base. Then you point ClaudeCode (or any other AI agent) at it and ask questions like a normal person instead of doom-scrolling until 3 AM.

| The pain | The fix | |---|---| | 47 unwatched videos, infinite Reddit scroll | Automated fetching — pulls everything from your tracked sources | | "I saw a great take on NVDA last week... somewhere" | Persistent storage — every piece of content saved as searchable Markdown | | Can't ctrl+F your YouTube watch history | Structured tagging — LLM extracts tickers, sentiment, topics, narratives | | Alt-tabbing between 6 platforms like a maniac | Agent-ready output — ask your AI to synthesize it all in one place |


Quick Start

1. Install

# npm
npm install -g @nikosv/trustmebro

# bun
bun install -g @nikosv/trustmebro

# or run directly without installing
npx @nikosv/trustmebro index
bunx @nikosv/trustmebro index

Prerequisites: yt-dlp is required for YouTube fetching. Reddit requires an OAuth app from reddit.com/prefs/apps. Telegram requires API credentials from my.telegram.org.

2. Create a Workspace

mkdir -p ~/stocks && cd ~/stocks

Create a config.yaml in your workspace directory. See config.template.yaml for a fully documented example with inline comments.

3. Configure the Model

TrustMeBro uses an LLM to process and tag content. It relies on AI SDK providers for model access, so you can choose from a wide range of providers and models based on your needs and budget.

  1. Set your API key as an environment variable:

    export OPENAI_API_KEY="sk-..."
    # or add to ~/.bashrc, ~/.zshrc, etc.
  2. Reference it in config.yaml:

    indexing:
      workers: 5
      model:
        provider: "@ai-sdk/openai"
        model: "gpt-4o-mini"
        options:
          apiKey: "env.OPENAI_API_KEY"  # References environment variable

Tip: Use "env.VARIABLE_NAME" syntax in your config to keep secrets out of config files.

4. Configure Domains

TrustMeBro organizes everything into domains — each domain groups a topic, its sources, and its tag schema. A workspace can have multiple independent domains (e.g. stock-market, crypto, health).

Edit your config.yaml and add a domains array. Each domain supports:

  • name — Kebab-case slug used as the folder name on disk (e.g. stock-market)
  • description — High-level description of the domain for LLM context
  • startDate — Fetch content published on or after this date (YYYY-MM-DD)
  • contentDir(optional) Where to store raw and processed files. Defaults to the domain name. Accepts relative or absolute paths.
  • sources.youtube.publishers — YouTube channel handles (with @ prefix)
  • sources.reddit.publishers — Subreddit names to track
  • sources.reddit.commentsCountThreshold — Minimum comment count to index a post
  • sources.telegram.publishers — Telegram channel usernames (with or without @)
  • sources.telegram.minMessageLength — Minimum character length to index a message (default: 200)
  • tags — Structured metadata to extract per domain (tickers, sentiment, sectors, narratives, etc.)
domains:
  - name: stock-market
    description: "Stock market, investing, and financial markets"
    startDate: 2025-12-01
    sources:
      youtube:
        publishers:
          - "@everythingmoney"
          - "@JosephCarlsonShow"
      reddit:
        publishers:
          - "investing"
        commentsCountThreshold: 10
      telegram:
        publishers:
          - "trend_gen"
        minMessageLength: 200
    tags:
      ticker:
        type: string[]
        description: "Canonical stock tickers, UPPERCASE only."
      sentiment:
        type: enum[]
        description: "Directional stance on the stock/market."
        values: [bullish, bearish]

See config.template.yaml for a fully documented example with multiple domains and all available options.

5. Authenticate Sources

YouTube does not need authentication. Reddit and Telegram require one-time setup.

Reddit

TrustMeBro uses a Reddit OAuth bearer token.

  1. Create a Reddit app at reddit.com/prefs/apps.

  2. Choose a script/web-style app with a client ID. A client secret is supported when your app has one.

  3. Set the redirect URI exactly to:

    http://localhost:53682/reddit/callback
  4. Export your Reddit OAuth settings:

    export REDDIT_CLIENT_ID="your_client_id"
    export REDDIT_CLIENT_SECRET="your_client_secret"        # optional for installed apps
    export REDDIT_USER_AGENT_USERNAME="your_reddit_username"
  5. Run the Reddit login from your workspace:

    cd ~/stocks
    trustmebro auth --source reddit

TrustMeBro opens Reddit in your browser, asks for read access, and saves tokens to .trustmebro/reddit-oauth.json in the workspace.

Telegram

Telegram requires a one-time interactive login using your Telegram account. Set your credentials as environment variables first:

export TELEGRAM_API_ID="12345"        # from my.telegram.org
export TELEGRAM_API_HASH="abc123..."  # from my.telegram.org

Then run:

trustmebro auth --source telegram

This saves a session to .trustmebro/telegram-session.txt. You only need to do this once.

6. Run Indexing

cd ~/stocks

# Continuously index all configured sources
trustmebro index

# Use a different workspace
trustmebro index --workspacePath /path/to/workspace

How It Works

TrustMeBro runs a three-step pipeline:

  1. Fetch — Pulls content since startDate (or last sync) from all configured sources
  2. Process — Chunks, tags, and enriches content with LLMs using your configured tag schema
  3. Write — Outputs grep-friendly Markdown organized by source, publisher, and date

After indexing, your workspace looks like this:

~/stocks/
  .trustmebro/              # Internal state (auto-managed)
  stock-market/             # One folder per domain (contentDir defaults to domain name)
    raw/                    # Original fetched content
      youtube/
        everythingmoney/
          2025-12/
            2025-12-15-nvidia-earnings-analysis.md
      reddit/
        investing/
          2025-12/
            2025-12-20-best-etf-for-long-term-growth.md
      telegram/
        trend_gen/
          2025-12/
            2025-12-18-market-update.md
    processed/              # LLM-enriched, search-optimized content
      youtube/
        everythingmoney/
          2025-12/
            2025-12-15-nvidia-earnings-analysis.md
      reddit/
        investing/
          2025-12/
            2025-12-20-best-etf-for-long-term-growth.md
      telegram/
        trend_gen/
          2025-12/
            2025-12-18-market-update.md
  crypto/              # A second domain with its own sources and tags
    raw/
      youtube/
        ...
    processed/
      ...
  config.yaml

Each domain gets its own directory tree under raw/ and processed/. You can override the path with the contentDir field in the domain config.


AI Agent Integration

The real power of TrustMeBro is pairing indexed content with AI agents that can search and reason over it.

Generate Agent Skills

TrustMeBro can generate skills that teach your agent to search indexed content with ripgrep:

cd ~/stocks
trustmebro generate skills

Select your agent type and TrustMeBro will generate a skill per source (e.g., search-youtube, search-reddit) tailored to your topic, tags, and directory structure.

These skills are a good starting point — customize them to fit your content domain.

Start Chatting

Once set up, ask Claude Code (or any other agent):

"What's the sentiment on NVIDIA in the last month?"

"Find all strong buy recommendations from December 2025"

"Compare sentiment on Tesla across YouTube vs Reddit vs Telegram"

"What narratives are trending in tech stocks this quarter?"

"Show me dividend stock discussions with hold or sell recommendations"

Your agent will use ripgrep to search the indexed content and synthesize insights across sources.


Use Cases

Stock Market Research

  • Create a workspace ~/stocks with your favorite YouTube finance channels, investing subreddits, and Telegram channels
  • Connect finance-related MCP servers (Yahoo Finance, Seeking Alpha, etc.)
  • Store your portfolio holdings and watchlists alongside the indexed content
  • Ask your agent to find sentiment, recommendations, narratives, and insights

Health & Wellness

  • Create a workspace ~/health with YouTube health channels, medical subreddits, and Telegram health communities
  • Connect medical MCP servers (PubMed, Medscape, etc.)
  • Store your medical history and test results in the workspace
  • Ask your agent about trends, new research, supplements, and recommendations specific to your goals

Real Estate

  • Create a workspace ~/realestate with real estate channels and subreddits for your market
  • Connect real estate MCP servers and write skills for accessing government APIs (property records, zoning, etc.)
  • Ask your agent about market trends, specific properties, suburbs, and investment opportunities

License

MIT © Sergii Vashchyshchuk