news 2026/8/11 17:08:30

Thursday, January 2, 2026

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
Thursday, January 2, 2026

Thursday, January 2, 2026

【免费下载链接】smaugArchive your Twitter/X bookmarks to markdown with AI-powered analysis. Supports Claude Code and OpenCode for multi-model flexibility. Like a dragon hoarding treasure, Smaug collects the valuable things you bookmark.项目地址: https://gitcode.com/gh_mirrors/sma/smaug

@simonw - Gist Host Fork for Rendering GitHub Gists

I forked the wonderful gistpreview.github.io to create gisthost.github.io

  • Tweet:https://x.com/simonw/status/123456789
  • Link:https://gisthost.github.io/
  • Filed:gisthost-gist-rendering.md
  • What:Free GitHub Pages-hosted tool that renders HTML files from Gists.

@tom_doerr - Whisper-Flow Real-time Transcription

This is amazing - real-time transcription with Whisper

  • Tweet:https://x.com/tom_doerr/status/987654321
  • Link:https://github.com/dimastatz/whisper-flow
  • Filed:whisper-flow.md
  • What:Real-time speech-to-text using OpenAI Whisper with streaming support.
### knowledge目录结构 Smaug将不同类型的内容组织到`knowledge`目录下的不同子目录中,形成一个结构化的知识库: #### knowledge/tools/*.md GitHub仓库会生成单独的文件,包含丰富的元数据和关键信息: ```markdown --- title: "whisper-flow" type: tool date_added: 2026-01-02 source: "https://github.com/dimastatz/whisper-flow" tags: [ai, transcription, whisper, streaming] via: "Twitter bookmark from @tom_doerr" --- Real-time speech-to-text transcription using OpenAI Whisper... ## Key Features - Streaming audio input - Multiple language support - Low latency output ## Links - [GitHub](https://github.com/dimastatz/whisper-flow) - [Original Tweet](https://x.com/tom_doerr/status/987654321)
knowledge/articles/*.md

文章类内容同样会生成带有元数据的Markdown文件,保存在knowledge/articles/目录下。

快速开始指南

只需几个简单步骤,即可开始使用Smaug管理你的书签和知识:

  1. 安装bird CLI(Twitter API包装器)请参考https://github.com/steipete/bird获取安装说明

  2. 克隆并安装Smaug

    git clone https://gitcode.com/gh_mirrors/sma/smaug cd smaug npm install
  3. 运行设置向导

    npx smaug setup

    安装向导将:

    • 创建所需目录
    • 指导你获取Twitter凭证
    • 创建配置文件
  4. 运行完整任务(获取+使用Claude处理)

    npx smaug run

高级使用与自动化

Smaug提供了丰富的命令行选项和自动化功能,让你可以根据自己的需求定制使用方式。

手动运行命令

# 完整任务(获取+使用Claude处理) npx smaug run # 从书签获取(默认) npx smaug fetch 20 # 获取所有书签(分页 - 需要git版本的bird CLI) npx smaug fetch --all npx smaug fetch --all --max-pages 5 # 限制为5页 # 从点赞获取 npx smaug fetch --source likes # 同时从书签和点赞获取 npx smaug fetch --source both # 处理已获取的推文 npx smaug process # 强制重新处理(忽略重复) npx smaug process --force # 检查待处理内容 node -e "console.log(require('./.state/pending-bookmarks.json').count)"

自动化设置

Smaug可以设置为每30分钟自动运行,确保你的书签及时得到处理和归档:

选项A:PM2(推荐)
npm install -g pm2 pm2 start "npx smaug run" --cron "*/30 * * * *" --name smaug pm2 save pm2 startup # 设置开机启动
选项B:Cron
crontab -e # 添加: */30 * * * * cd /path/to/smaug && npx smaug run >> smaug.log 2>&1

成本优化与令牌跟踪

使用AI服务会产生一定成本,Smaug提供了令牌使用跟踪功能,帮助你监控和优化支出。

令牌使用跟踪

使用-t标志跟踪API成本:

npx smaug run -t # 或 npx smaug run --track-tokens

运行结束时会显示详细的使用情况:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📊 TOKEN USAGE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Main (sonnet): Input: 85 tokens <$0.01 Output: 5,327 tokens $0.08 Cache Read: 724,991 tokens $0.22 Cache Write: 62,233 tokens $0.23 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 💰 TOTAL COST: $0.53 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

【免费下载链接】smaugArchive your Twitter/X bookmarks to markdown with AI-powered analysis. Supports Claude Code and OpenCode for multi-model flexibility. Like a dragon hoarding treasure, Smaug collects the valuable things you bookmark.项目地址: https://gitcode.com/gh_mirrors/sma/smaug

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/8/11 17:07:10

2026年5个高质量横屏视频素材网站评测:剪辑师与专业团队怎么选?

引言&#xff1a;视频产量越来越高&#xff0c;找素材正在成为新的效率瓶颈2026年的视频制作正在出现一个明显变化&#xff1a;企业需要的视频更多&#xff0c;但制作周期却在不断压缩。Wyzowl 2026年调查显示&#xff0c;59%的企业主要选择内部制作视频&#xff0c;63%的视频营…

作者头像 李华
网站建设 2026/8/11 17:06:33

Unity图片循环滚动优化:从Wrap Mode到Shader的丝滑性能实践

1. 项目概述&#xff1a;为什么图片滚动值得深究&#xff1f;在Unity项目里&#xff0c;尤其是移动端游戏或者UI界面丰富的应用中&#xff0c;实现背景、云层、河流或者公告板的循环滚动效果&#xff0c;简直是家常便饭。SpriteRenderer和RawImage是承载这类图片滚动任务的两个…

作者头像 李华
网站建设 2026/8/11 17:01:47

卷积神经网络(CNN)核心原理:从特征提取到医学图像分割实战

1. 从“看”到“理解”&#xff1a;为什么我们需要卷积神经网络如果你在十年前问我&#xff0c;计算机如何“看懂”一张图片&#xff0c;我可能会跟你扯一大堆关于边缘检测、颜色直方图、SIFT特征点的复杂算法。但今天&#xff0c;任何一个接触过深度学习的人都会脱口而出&…

作者头像 李华
网站建设 2026/8/11 16:57:00

2023最新PhpStorm开发环境搭建与配置指南

1. PhpStorm 开发环境搭建全指南作为JetBrains旗下最专业的PHP集成开发环境&#xff0c;PhpStorm凭借其智能代码补全、实时错误检查和强大的调试功能&#xff0c;已成为现代PHP开发者的标配工具。最近在帮团队新人配置开发环境时&#xff0c;发现网上教程要么过于简略&#xff…

作者头像 李华
网站建设 2026/8/11 16:55:07

resnet101.a1h_in1k图像嵌入实战:2048维特征向量的生成与应用

resnet101.a1h_in1k图像嵌入实战&#xff1a;2048维特征向量的生成与应用 【免费下载链接】resnet101.a1h_in1k 项目地址: https://ai.gitcode.com/hf_mirrors/timm/resnet101.a1h_in1k resnet101.a1h_in1k是一款基于ResNet架构的图像分类模型&#xff0c;能够高效生成…

作者头像 李华