macOS
brew install twarclocal Homebrew formula metadata
安装
brew install twarclocal Homebrew formula metadata
概览
Command-line tool and Python library for archiving Twitter JSON
历史
twarc is a command-line tool and Python library from the Documenting the Now ecosystem for collecting and archiving Twitter JSON data through the Twitter API. In package-manager culture it sits at the intersection of social-media research, archival practice, and reproducible command-line data collection.
The project was developed under DocNow with Mellon Foundation support, and its README defines its purpose narrowly: collection and archiving of Twitter data through the API. The project eventually exposed two command families: `twarc` for the older Twitter API v1.1 surface and `twarc2` for Twitter API v2 and Academic Access.
In 2021 DocNow announced twarc2 as a ground-up redesign for Twitter API v2 and the Academic Research track. The redesign responded to changes in Twitter's data model, rate limits, and full-archive access, while keeping the old v1.1-oriented command available for users who still depended on it.
The repository now notes that twarc is no longer actively supported after Twitter API quota changes made it unusable for its original research and archiving workflows.
twarc was adopted by researchers, archivists, journalists, and digital-humanities users who needed a repeatable way to collect Twitter data as JSON without writing their own API client. The official tutorial is aimed at researchers new to command-line social-media data collection and walks through search, JSON output, CSV conversion, and sharing tweet identifier datasets.
The twarc2 release notes describe a community around the tool, including code and design contributors and early feedback from researchers and practitioners. That community use case was shaped by the Twitter Academic Research track, which opened full-history search to approved researchers before later API changes reduced the tool's practical usefulness.
Common package-nerd usage is installing the CLI, configuring Twitter/X developer credentials, and running commands such as `twarc2 search ... > tweets.jsonl` or using twarc as a Python library. The tool stores tweet data as line-oriented JSON and delegates rate-limit handling and high-fidelity v2 field expansion to the library.
twarc also became a base for small data-processing plugins. The README explicitly points users with use-case-specific needs toward external packages that hook into `twarc2` through `click-plugins`, keeping the core tool focused on acquisition and archival JSON.
twarc matters to package nerds because it turned a fragile web-API workflow into a packaged, scriptable Unix-style tool: install it, configure credentials, stream JSON, and compose the result with CSV converters, Python, pandas, jq, and archival pipelines.
Its history also records a hard lesson for API-dependent packages: a well-packaged tool can be technically sound and widely used, yet still be constrained or broken by upstream platform policy and quota changes.
安全态势
没有找到 twarc 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
twarc | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
twarc2 | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:twarc |
|---|---|
| 版本 | 2.14.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/DocNow/twarc |
| 最后更新 | 2026-05-15T11:13:46Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.