Automic VaultAutomic Vault

brew

Installer weaver avec Homebrew, Nix, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de weaver pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install weaver

local Homebrew formula metadata

Linux

Nixvérifié · 92%
nix profile install nixpkgs#weaver

nixpkgs package indexes · pkgs/by-name/we/weaver/package.nix · Source: api.github.com

Windows

Windows Package Managervérifié · 92%
winget install --id OpenTelemetry.Weaver -e

Windows Package Manager source index · OpenTelemetry.Weaver · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Command-line tool for Weaver

Commandes et alias

  • weaver

historique

Historique du projet et usages

Weaver is Scribd's declarative dependency-injection framework and command-line code generator for Swift projects. It scans Swift sources for dependency annotations, builds a dependency graph, validates it at compile time, and generates the boilerplate needed to wire dependencies into iOS, macOS, and Linux Swift code.

The package's command-line identity matters: the brew formula installs the weaver executable that runs in an Xcode build phase or from developer tooling to generate Swift source before compilation.

Historique du projet

Scribd introduced Weaver publicly in 2018 in a technology blog post titled 'A Painless Dependency Injection Framework for Swift.' The post framed Weaver as a response to growing Swift applications where manual dependency passing and singleton fallback patterns become hard to maintain.

The original design used comment annotations such as weaver: movieManager <- MovieManaging to declare dependencies in source code. The README later describes both property-wrapper and comment-based declarations, SourceKitten-backed scanning via Apple's SourceKit, dependency-graph linking, validation, and generated source output.

The project was eventually deprecated by Scribd. The current README begins with a deprecation notice saying Scribd no longer uses the technology internally, has decided to archive the repository, and will leave the code and resources available for reference or independent forks.

Historique d'adoption

Weaver's adoption was strongest in the Swift/iOS architecture community rather than across general-purpose backend development. Its README links tutorials, a demo video, and an SF SLUG talk about maintaining a dependency graph with Weaver.

Its value proposition was compile-time safety. The Scribd blog contrasts Weaver with dependency-injection containers that can crash at runtime, arguing that Weaver validates the graph before the app runs and lets dependencies remain non-optional.

Modes d'utilisation

A typical project adds Weaver to an Xcode build phase before Compile Sources, then invokes weaver swift with project and output paths. The generated dependency container code is compiled with the application, giving app code typed access to registered dependencies.

Weaver can be installed through Homebrew, CocoaPods, Mint, prebuilt release binaries, or from source. The README notes that CocoaPods was useful when a project needed a specific Weaver version because Homebrew did not automatically install specific historical versions.

Pourquoi les passionnés de paquets s'y intéressent

Weaver is notable as an iOS-era code-generation answer to dependency injection: instead of relying on reflection-heavy runtime containers, it uses Swift source scanning and compile-time generated containers to keep app wiring explicit and type checked.

Its deprecation also makes it useful history. It captures a period before Swift macros and newer DI patterns, when SourceKit-based tooling and build-phase generators were a common way to add static analysis and boilerplate generation to Swift projects.

Chronologie

  • 2018: Scribd introduces Weaver as a lightweight dependency-injection framework for Swift.
  • 2018-2019: Scribd publishes tutorial material showing Weaver in iOS dependency-injection and unit-testing workflows.
  • Later project history: the README gains a deprecation notice stating that Scribd no longer uses Weaver internally and has archived the project for reference.

Related projects

  • Weaver is related to Swift, SourceKit, SourceKitten, Xcode build phases, CocoaPods, Mint, Swinject, and other dependency-injection approaches for iOS and macOS applications.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
weavercliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire1.1.7
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectée1.1.7

https://github.com/scribd/Weaver

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:weaver
Version1.1.7
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/weaver
Page d'accueilhttps://github.com/scribd/Weaver
Dépôthttps://github.com/scribd/Weaver
Docs amonthttps://github.com/scribd/Weaver#readme
LicenceMIT
Archive sourcehttps://github.com/scribd/Weaver/archive/refs/tags/1.1.7.tar.gz
Bibliothèques fournies par macOSswift
Bouteilledisponible (sur arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameweaver
Version Scheme0
Revision0
Conflicts With
  • service-weaver
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

weaver

nix profile install nixpkgs#weaver
  • normalized package name match
  • Correspondance par : Weaver
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/we/weaver/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget95%

OpenTelemetry.Weaver

winget install --id OpenTelemetry.Weaver -e
  • normalized package name match
  • Correspondance par : Weaver
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: OpenTelemetry.Weaver from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment