惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MongoDB | Blog
MongoDB | Blog
B
Blog
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
B
Blog RSS Feed
博客园 - Franky
V
V2EX
IT之家
IT之家
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
F
Fortinet All Blogs
I
InfoQ
云风的 BLOG
云风的 BLOG
腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
Netflix TechBlog - Medium
宝玉的分享
宝玉的分享
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Proofpoint News Feed
Microsoft Security Blog
Microsoft Security Blog

Star History

Star History Monthly 🌟 Harness (August 2026) Star History Monthly 🌟 Building Blocks (July 2026) Star History Monthly 🌟 Terminal UI (June 2026) Star History Monthly 🌟 Standalone Markdown Editor (May 2026) Star History Monthly 🌟 Computer Use (April 2026) Star History Monthly 🌟 Skills (March 2026) Star History Monthly 🌟 Clawflare (February 2026) Star History Monthly 🌟 Embedded Web Editor (January 2026) star-history.com in 2025 Star History Monthly 🌟 React (December 2025) Star History Monthly 🌟 Agent SDK/Framework (November 2025) Star History Starlet 🌟 NPC Shell Star History Newsletter 🌟 Star History Newsletter 🌟 Star History Newsletter 🌟 IDE for Vibe Coding Star History Newsletter 🌟 Browser for AI Agent Star History Newsletter 🌟 Agent Protocol Star History Newsletter 🌟 AI Verse Star History Newsletter 🌟 MCP Server Star History Newsletter 🌟 Fun AI Generators Star History Weekly Star History Weekly Star History Weekly Star History Weekly
Star History Monthly 🌟 Declarative (October 2025)
2025-10-18 · via Star History

Hey there, it’s Adela 👋 Welcome to Star History #35!

Each month, we gather open-source highlights — and occasionally feature a Starlet project that shines a little brighter.

Follow @StarHistoryHQ for daily GitHub gems!

In this issue, we explored 5 projects leading the declarative wave. 🌊

The declarative programming paradigm, which focuses on describing what you want to achieve rather than how to achieve it, is rapidly becoming the standard for managing complex systems. From infrastructure and databases to even diagramming, the declarative approach offers a more predictable, maintainable, and automated way to work. This shift is empowering developers to manage complexity with greater confidence and ease.

This month, we highlight five projects that exemplify the power and versatility of the declarative approach:

D2

Declarative diagramming as code

pgschema

Terraform-style schema migration for Postgres

Terraform

The original declarative infrastructure as code

OpenTofu

The community's open-source Terraform

Pulumi

Infrastructure as real code

D2
→ Declarative Diagramming

D2 is a modern diagram scripting language that turns text into diagrams. It allows you to create complex, high-quality diagrams using a simple, declarative syntax. Instead of manually drawing boxes and lines, you describe the components of your system and their relationships, and D2 handles the layout and rendering.

  • Strengths: Clean and modern output, extensible with plugins, and supports native rendering on GitHub.

  • Limitations: As a newer tool, it has a smaller community and fewer integrations than established tools like Mermaid or Graphviz.

👉 D2 is making "diagrams as code" a practical reality, enabling developers to version, review, and share diagrams alongside their code.

pgschema
→ Declarative Schema Migration

pgschema brings the popular Terraform-style declarative workflow to PostgreSQL schema management. Instead of writing imperative migration scripts (e.g., ALTER TABLE ...), you declare the desired state of your schema in a file. pgschema then generates and applies the necessary changes to get your database to that state.

  • Strengths: State-based approach eliminates the need for a migration history table, works without a shadow database, and supports a wide range of Postgres objects.

  • Limitations: It's a new project, so the community is still growing, and it currently only supports PostgreSQL.

👉 pgschema simplifies database schema management by making it as easy and reliable as managing infrastructure with Terraform.

Terraform
→ The Original Declarative Infra

Terraform is the tool that popularized the concept of declarative infrastructure as code (IaC). It allows you to define and provision infrastructure across a wide range of cloud providers using a high-level configuration language called HCL. For years, it has been the de facto standard for IaC.

  • Strengths: Mature, extensive ecosystem of providers, and a large, experienced community.

  • Controversy: In August 2023, HashiCorp switched Terraform's license from the open-source MPL-2.0 to the source-available Business Source License (BSL), raising concerns about its open-source future.

👉 Terraform remains the established giant in the IaC space, but its license change has opened the door for new challengers.

OpenTofu is a community-driven, open-source fork of Terraform created in response to HashiCorp's license change. Hosted by the Linux Foundation, it aims to keep Terraform truly open source (under the MPL-2.0 license) and is managed by a community of developers and organizations. It serves as a drop-in replacement for Terraform.

  • Strengths: Truly open source, community-governed, and maintains compatibility with Terraform, including its vast ecosystem of providers and modules.

  • Challenges: As a fork, it needs to continue to innovate and grow its community to compete with the original.

👉 OpenTofu is a powerful testament to the open-source community's ability to rally and preserve access to critical tools.

Pulumi
→ Infrastructure as Real Code

Pulumi offers a unique take on declarative infrastructure by allowing you to use general-purpose programming languages like Python, TypeScript, Go, and C# to define your infrastructure. This means you can leverage familiar tools, concepts, and libraries—like loops, functions, and classes—to build and manage your cloud resources.

  • Strengths: Extreme flexibility, the ability to use existing language ecosystems, and a more natural fit for developers who are already comfortable with programming.

  • Limitations: Can have a steeper learning curve for those not familiar with the supported programming languages, and it requires managing both the Pulumi and language-specific dependencies.

👉 Pulumi bridges the gap between infrastructure and software development, empowering teams to manage infrastructure with the same tools and practices they use for their applications.

That's October: five projects that showcase the power and breadth of the declarative revolution. By focusing on the "what" instead of the "how," these tools are making it easier than ever to build, manage, and scale complex systems with confidence.