google

    google/mangle

    backend
    Go
    Apache-2.0
    3.0K stars
    158 forks
    3.0K GitHub watchers
    Updated Oct 30, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 363 days ago, with 18 contributors on GitHub.

    Peaked at #29 in the weekly ranking the week of Aug 31, its best in the past year.

    Use Cases & Benefits

    • Implements a deductive database programming language extending Datalog with aggregation, function calls, and optional type-checking.
    • Enables uniform querying and modeling of data from multiple sources with recursive rules and structured data support.
    • Use for detecting software vulnerabilities by querying complex dependency graphs with recursive logic rules.
    • Use for building knowledge graphs or property graphs that represent n-ary relations and structured domain models.
    • Use for embedding a flexible logic programming engine into Go applications requiring advanced data integration and reasoning.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Mangle is a programming language for deductive database programming. It is an extension of Datalog, with various extensions like aggregation, function calls and optional type-checking.

    Deductive database programming is useful for bringing data from multiple data sources together since it enables us to represent and query that data in a uniform way. It can also be used to model domain knowledge, similar to machine-readable ontology but without being restricted to binary predicates.

    Datalog is an expressive declarative language similar to relational calculus (think SQL and relational views). Unlike relational calculus, it also supports recursive rules and program structuring in a straightforward way.

    Mangle contains Datalog as a fragment and adds extensions that make its use more practical. Some of the good properties like guaranteed termination are lost when such extensions are used.

    The goal of Mangle as an open source project is to convey the concepts in a way that is accessible to developers and lends itself to easy experimentation. This repository contains an implementation of Mangle as a go library that can be easily embedded into applications.

    Check out the docs and the GitHub discussions for more information. There is also a Q&A section.

    For an example how to use Mangle library in a database-like grpc service, see the separate Mangle demo service repo.

    This is not an officially supported Google product.

    Excerpt from the google/mangle README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    158+5

    Open issues

    9+0

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    google/mangle compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills187.8K+2.9K15—
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    shiyu-coder/Kronos47.0K+2.3K16—
    NationalSecurityAgency/ghidra98.2K+2.3K6414 days ago
    microsoft/VibeVoice56.0K+1.1K29—
    google/mangle3.0K—28363 days ago
    Category median56.0K+2.3K29—

    Also by google

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description