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

@telepat/rilo

v0.1.7

Published

<p align="center"><img src="./assets/avatar/rilo-logo.webp" width="128" alt="Rilo"></p> <h1 align="center">Rilo</h1> <p align="center"><em>将故事转化为成品视频——AI 生成脚本、配音、关键帧和合成,一条命令完成。</em></p>

Readme

Rilo 将故事转化为成品视频——AI 生成脚本、配音、关键帧和合成,一条命令完成。

用纯文本写下您的故事。Rilo 处理剩下的部分:脚本生成、旁白配音、视觉关键帧、视频片段和最终合成——以及可选的字幕对齐与烧录。

专为需要大规模、可复现、高质量视频生产而无需手动编辑的创作者和团队打造。

功能特性

  • 完整流水线,一条命令 — 故事 → 脚本 → 配音 → 关键帧 → 片段 → 最终视频。rilo --project demo --story-file ./story.txt
  • 检查点运行 — 每个阶段保存产物。可恢复或选择性重新生成任何阶段。rilo --project demo --force
  • 您的模型,您做主 — 选择 T2I 和 I2V 模型。覆盖每个模型的选项。随时切换。
  • 代码驱动的工作流 — 确定性编排、检查点和产物管理。Token 用于生成,而非基础设施。
  • 字幕对齐与烧录 — 自动将字幕对齐到配音时间轴。烧录到最终视频中。
  • 预览控制台 — Web 界面用于项目管理、重新生成和资产预览。rilo preview
  • HTTP API 与 Webhook — Bearer 令牌认证、OpenAPI 3.1 规范、Webhook 订阅。支持 Firebase 或本地。
  • 跨平台 — macOS、Linux、Windows。需要 Node.js 22+ 和 ffmpeg。

快速开始

环境要求:Node.js 22+、PATH 中有 ffmpeg、Replicate API token。

npm install -g @telepat/rilo
rilo settings
rilo --project demo --story-file ./story.txt

预期结果:

  • projects/demo/ 下创建项目文件夹。
  • 完整流水线依次运行脚本、配音、关键帧、片段和合成。
  • 最终视频写入 projects/demo/final.mp4
  • 可通过 rilo preview 打开仪表板预览。

环境要求

  • Node.js 22+
  • PATH 中有 ffmpeg
  • Replicate API token
  • macOS、Linux 或 Windows

工作原理

Rilo 运行分阶段流水线:脚本生成、语音合成、镜头提示生成、关键帧渲染、片段生成和最终视频合成。每个阶段都会写入检查点产物,因此你可以恢复或有选择地重新生成。

配置会合并 CLI 标志、环境变量和 ~/.rilo/config.json,并以模式默认值兜底。预览仪表板(rilo preview)启动本地 API、worker 和 Vite React 前端,用于监控和编辑。

与 AI Agent 一起使用

Rilo 为智能体和自动化工作流提供多种接口:

  • CLI 自动化 — 所有生成均由 CLI 标志和环境变量驱动。初始设置后无需交互式提示。
  • HTTP APIrilo preview 启动 Express API,提供完整的 job 和 project CRUD、资源服务和 webhook 端点。通过 Authorization: Bearer <API_BEARER_TOKEN> 进行 Bearer token 认证。
  • OpenAPI 规范 — 自动生成 OpenAPI 3.1 规范,支持基于模式的智能体集成。
  • Webhook — 订阅 job 生命周期事件,用于外部编排。
  • Firebase Functions — 部署 src/api/firebaseFunction.js 实现无服务器 API 托管。
  • Agent 文档API 参考 涵盖端点、认证和 webhook。

安全与信任

  • API token 和 Replicate 凭证在 OS 密钥库可用时保存(macOS Keychain、Windows Credential Manager、Linux Secret Service)。
  • 如果无原生密钥库可用,则回退到 ~/.rilo/.secrets 的 AES-256 加密文件。
  • 环境变量(RILO_REPLICATE_API_TOKENRILO_API_BEARER_TOKEN)优先级最高,会覆盖已存储的值。
  • Preview --expose 模式应仅在可信网络或隔离环境中使用。

文档与支持

贡献

欢迎贡献。请参阅开发指南了解本地环境搭建、构建命令和测试工作流。

许可证

MIT。详见 LICENSE