# LibreDWG/libredwg

Official mirror of libredwg. With CI hooks and nightly releases. PR's ok

Repository: https://github.com/LibreDWG/libredwg
Canonical: https://ross.abutalabs.com/products/libredwg
Homepage: https://savannah.gnu.org/projects/libredwg/
Language: C
License: GPL-3.0
License Family: copyleft
Topics: dwg, cad
Last push: 2026-08-26T14:00:06+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 66, longevity 100
- inputs: {"age_days": 3041, "days_push": 7, "days_rel": 67, "gap_med": 100, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1557, forks 347 (observed 2026-08-28T04:05:03.301355+00:00)

## What it is
LibreDWG is a free GNU C library for reading and writing AutoCAD DWG files, with a decoder supporting all DWG versions and a writer for most except R2007. It ships example tools including converters to DXF, JSON, SVG, and PostScript, plus dwggrep and dwglayer utilities.

## Use cases
- read dwg files programmatically
- convert autocad dwg to dxf
- convert dwg to svg or
- extract text from dwg drawings
- list layers in a dwg file
- write dwg files from a script

## When to choose
- you need a free, GPL-licensed library to parse or generate DWG files
- you want command-line converters from DWG to open formats like DXF, SVG, or JSON
- you're building CAD tooling in C or via its bindings

## When to avoid
- you need to write R2007 or reliable R2010+ DWG output
- you require a permissively licensed library (it's GPL-3.0)
- you need a full CAD application rather than a file-format library

## Facets
- artifact type: library
- maturity: active
- function: parser, file-system, serialization
- domain: files, developer-tools, graphics
- platform: windows, cross-platform, cli
- tags: dwg, cad, autocad, dxf, file-format, c-library, gnu, linux, macos

## Member repositories
- LibreDWG/libredwg (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.301355+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:29:55.653488+00:00, confidence not recorded.
  - readme: https://github.com/LibreDWG/libredwg (fetched 2026-08-28T04:05:03.301355+00:00, sha a8f20aac8041)
- Data as of 2026-08-30T08:39:29.467469+00:00.
