Skip to content

OSS Sustain Guard Documentation

OSS Sustain Guard is a multi-language package sustainability analyzer that helps you understand the health of your dependencies across ecosystems. The tool provides constructive insights about maintainer activity, community engagement, security posture, and funding signals so teams can make informed decisions about the projects they rely on.

CLI demo showing an analyzed package

Note: Demo shows a warm cache; first run may take longer depending on API response time.

Why OSS Sustain Guard?

Every time a high-profile OSS incident makes the news, I find myself wondering about the packages I rely on right now. I could visit GitHub and skim issues, pull requests, and activity to get a rough sense, but it is not easy. When you depend on tens or hundreds of packages, plus their dependencies, it becomes nearly impossible, and you usually do not notice until something goes wrong.

The libraries that support my work might be under heavy strain, and their own dependencies might be too. OSS Sustain Guard was built to answer those questions and to create moments where users can see the state of maintainers and communities. The first step is simple awareness.

πŸ’‘ Project Philosophy

OSS Sustain Guard uses empathetic language and contextual metrics to help teams support the projects they rely on. We avoid judgment and recognize that sustainability looks different across communities and organizations.

We believe that:

  • 🌱 Sustainability matters - Open-source projects need ongoing support to thrive
  • 🀝 Community support is essential - For community-driven projects, we highlight funding opportunities to help users give back
  • πŸ“Š Transparency helps everyone - By providing objective metrics, we help maintainers and users make informed decisions
  • 🎯 Respectful evaluation - We distinguish between corporate-backed and community-driven projects, recognizing their different sustainability models
  • πŸ’ Supporting maintainers - When available, we display funding links for community projects to encourage direct support

Metrics are one lens among many; they work best alongside project context and real-world knowledge.

  • Local caching: Analysis results are cached locally to minimize API calls. GitHub tokens cover most repos; GitLab tokens are only needed for gitlab.com sources, with a built-in demo mode available.
  • Multi-ecosystem support: Analyze packages from Python, JavaScript, Go, Rust, PHP, Java, Kotlin, C#, and Ruby in one command.
  • Actionable insights: Metrics use empathetic language that encourages collaboration with maintainers rather than blame.
  • Sustainable by design: Respects open-source sustainability models with funding awareness for community-driven projects.

Key Features

πŸ” Comprehensive Analysis

  • 24 Core Sustainability Metrics - Comprehensive evaluation across maintainer health, development activity, community engagement, project maturity, and security (all core metrics scored 0-10)
  • Trend Analysis - Track how repository sustainability scores change over time across multiple time windows
  • CHAOSS-aligned metrics measuring contributor health, development activity, community engagement, and project maturity
  • 5 CHAOSS-Aligned Models - Stability, Sustainability, Community Engagement, Project Maturity, and Contributor Experience
  • Scoring profiles optimized for different priorities (balanced, security-first, contributor-experience, long-term-stability)
  • Transparent scoring with detailed breakdowns of each metric

πŸ”§ Developer-Friendly Workflow

  • Manifest auto-detection from requirements.txt, package.json, Cargo.toml, and other formats
  • Recursive scanning for monorepos and multi-service projects
  • Exclude configuration for internal or legacy dependencies
  • Integration-ready for GitHub Actions, pre-commit hooks, and CI/CD pipelines
  • GitHub/GitLab analysis - Real-time analysis supports GitHub and GitLab (gitlab.com)
  • Extensible VCS support - Add support for additional version control systems via plugins

πŸ“ Extensibility & Configuration

  • Pluggable Architecture - Easily extend analysis by adding your own sustainability metrics, language resolvers, and VCS providers as plugins
  • Custom Scoring Profiles - Define your own scoring profiles to tailor evaluation priorities for your organization or use case
  • Metric-Weighted Scoring - Configurable scoring profiles with integer weights per metric, normalized to 0-100 scale
  • Minimal Setup - Requires a GitHub token for most repos; a GitLab token is only needed for gitlab.com (demo mode uses snapshot data)

🌍 Multi-Language Support

  • Python, JavaScript, Go, Rust, PHP, Java, Kotlin, C#, Ruby and more
  • Multi-ecosystem support - Analyze packages from all supported languages in one command
  • Extensible resolvers - Add support for new package ecosystems via plugins

πŸ’ Sustainability Focus

  • Community Support Awareness - Displays funding links for community-driven projects
  • Local Caching - Efficient local cache for faster repeated checks
  • Gratitude Vending Machine - Discover projects that need your support most

Quick Navigation

Just Getting Started?

πŸ‘‰ Getting Started Guide - Installation, first steps, and basic usage in 5 minutes

Common Tasks

Usage:

Configuration:

Scoring & Metrics:

Integrations:

Support:

Installation

pip install oss-sustain-guard

Supported Ecosystems

OSS Sustain Guard supports the following ecosystems out of the box:

  • Python - PyPI
  • JavaScript/TypeScript - npm
  • Rust - Cargo
  • Dart - pub.dev
  • Elixir - Hex.pm
  • Haskell - Hackage
  • Perl - CPAN
  • R - CRAN/renv
  • Swift - Swift Package Manager
  • Java - Maven
  • PHP - Packagist
  • Ruby - RubyGems
  • C# / .NET - NuGet
  • Go - Go Modules
  • Kotlin - Maven

Extensibility: You can add support for additional ecosystems by creating custom resolver plugins. See the Custom Resolvers Guide for details.

Community Standards

OSS Sustain Guard uses encouraging, respectful language across all surfaces. Our observations help teams collaborate with maintainers and improve sustainability togetherβ€”not to judge or blame projects.

License

OSS Sustain Guard is open source and available under the MIT License.