← 返回
未分类 中文

Tweetnugget

A random inspirational tweet from curated collections of hand-picked wisdom by tech leaders, founders, and philosophers.
精选科技领袖、创始人及哲学家的励志语录,随机推送一条。
acailic acailic 来源
未分类 clawhub v1.2.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 366
下载
💾 0
安装
1
版本
#latest

概述

TweetNugget

When the user asks for a quote, inspiration, or says something like "hit me with a quote" or "give me some wisdom":

How It Works

  1. Run scripts/get_quote.py to pick a quote from references/ directory
  2. Return the output directly to the user

Quote Collections

The references/ folder contains JSON files with this structure:

{
  "name": "Collection Name",
  "description": "...",
  "quotes": [
    {
      "text": "The quote text",
      "author": "@handle",
      "url": "https://x.com/...",
      "tags": ["tag1", "tag2"]
    }
  ]
}

Available collections:

  • swlw-tweets.json - 49 quotes from Software Lead Weekly newsletter (Dec-Jul 2025)
  • twitter-quotes.json - 12 curated Twitter quotes
  • stoic-quotes.json - 6 Stoic philosophy quotes

Step-by-Step Instructions

Basic: Get a random quote

python3 scripts/get_quote.py

Return the output directly to the user. Do not add commentary.

Surprise Me: Random collection, then random quote

For variety across collections:

python3 scripts/get_quote.py --surprise

Filtered: Get a quote by tag

If the user specifies a topic (e.g., "quote about AI", "something about leadership", "coding quote"):

python3 scripts/get_quote.py --tag ai

Replace ai with the user's topic. Uses partial matching (e.g., "lead" matches "leadership"). Falls back to a random quote if no match is found.

Available Tags

Common tags across collections: action, advice, ai, building, career, coding, courage, design, discipline, engineering, focus, happiness, humor, innovation, knowledge, leadership, learning, life, marketing, mindset, motivation, persistence, philosophy, product, programming, resilience, simplicity, startups, stoicism, strategy, thinking, wisdom, work

Response Format

Always return quotes in this format:

> "The quote text" — @handle

If the quote has a URL, you may optionally append it as a link. Keep responses minimal - let the quote speak for itself.

Adding More Quotes

Users can add their own collections by placing new JSON files in the references/ directory following the same format.

版本历史

共 1 个版本

  • v1.2.0 当前
    2026-05-07 07:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

Sonoscli

steipete
控制Sonos音箱(发现/状态/播放/音量/分组)
★ 56 📥 85,148
life-service

Caldav Calendar

asleep123
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
★ 243 📥 30,645
life-service

healthcheck

stellarhold170nt
使用 JSON 文件存储追踪饮水和睡眠
★ 11 📥 30,143