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

@mawdbotsonsolana/twitter

v0.1.0

Published

MawdBot — Autonomous Twitter/X agent powered by OpenClaw, Grok, and 20+ services

Readme

Twitter/X Extension for Clawdbot

Enable @mawdbot to tweet, search, and interact with Twitter/X autonomously.

🚀 Features

  • Post Tweets - Create new tweets with text and media
  • Reply & Quote - Respond to or quote other tweets
  • Search - Find tweets by keywords
  • Timeline - View your timeline or any user's timeline
  • User Lookup - Get profile information
  • Engagement - Like, retweet, follow/unfollow
  • Mentions - Check who's talking about you

🚀 Migration & Bootstrap

To deploy the autonomous agent on a new server or environment:

  1. Clone the repository and navigate to this folder.

  2. Run the bootstrap script:

    chmod +x bootstrap.sh
    ./bootstrap.sh

    This will:

    • Check for Node.js
    • Create .env from .env.example (if missing)
    • Install dependencies
    • Build the project
  3. Configure Environment: Edit .env and fill in your API keys (Twitter, Gemini, Birdeye, etc.).

  4. Start the Agent:

    npx pm2 start mawdbot-autonomous.ts --name mawdbot-autonomous

🔐 Environment Variables

Copy .env.example to .env and configure:

# Twitter (OAuth 1.0a - "Read and Write" permissions required)
TWITTER_CONSUMER_KEY=...
TWITTER_CONSUMER_KEY_SECRET=...
TWITTER_ACCESS_TOKEN=...
TWITTER_ACCESS_TOKEN_SECRET=...

# Google Gemini (Image Generation)
GOOGLE_API_KEY=...

# Solana Data
HELIUS_RPC_URL=...
BIRDEYE_API_KEY=...

🤖 Autonomous Mode

The mawdbot-autonomous.ts script runs the agent 24/7 with the following schedule:

  • Images: Every 60 mins (Gemini Nano Banana Pro)
  • Market Updates: Every 17 mins (Birdeye liquidity)
  • Hourly Trending: Top 5 tokens every hour
  • Engagement: Monitors @0rdlibrary and mentions every 1-2 mins

🎯 AI Agent Tools

The extension registers these tools for natural language interaction:

| Tool | Description | |------|-------------| | twitter_tweet | Post a new tweet | | twitter_tweet_with_media | Post tweet with images | | twitter_reply | Reply to a tweet | | twitter_quote | Quote tweet | | twitter_delete | Delete a tweet | | twitter_search | Search for tweets | | twitter_get_tweet | Get tweet details by ID | | twitter_get_user | Get user profile | | twitter_get_timeline | Get user's timeline | | twitter_get_my_timeline | Get your own timeline | | twitter_like | Like a tweet | | twitter_unlike | Unlike a tweet | | twitter_retweet | Retweet | | twitter_unretweet | Undo retweet | | twitter_follow | Follow a user | | twitter_unfollow | Unfollow a user | | twitter_get_mentions | Get mentions | | twitter_get_profile | Get your profile |

💬 Usage Examples

Talk to the bot naturally via Telegram:

"Tweet: Hello World! 👋"
"Reply to tweet 123456 saying thanks!"
"Search for tweets about Solana"
"What's @elonmusk latest tweet?"
"Like the tweet 789012"
"Who mentioned me recently?"

🏗️ Build

cd extensions/twitter
pnpm install
pnpm build

📁 Structure

extensions/twitter/
├── src/
│   ├── services/
│   │   └── twitter-service.ts    # Twitter API wrapper
│   ├── tools/
│   │   └── twitter-tools.ts      # AI agent tools
│   ├── plugin.ts                 # Plugin registration
│   └── index.ts                  # Main export
├── package.json
├── tsconfig.json
└── README.md

🔗 Links

📄 License

MIT