Skip to content

Releases: dotcommander/defuddle

v0.6.0

25 Apr 18:34

Choose a tag to compare

v0.5.3

25 Apr 18:05

Choose a tag to compare

Full Changelog: v0.5.2...v0.5.3

v0.5.2

25 Apr 17:36

Choose a tag to compare

Defuddle Go v0.5.2

Web content extraction library and CLI tool for Go.

📦 Installation

Download Pre-built Binaries

Download the appropriate binary for your platform from the assets below.

Install with Go

go install github.com/dotcommander/defuddle/cmd/defuddle@v0.5.2

Install from Source

git clone https://github.com/dotcommander/defuddle.git
cd defuddle-go
make build-cli

Changelog

Bug fixes

  • c748dab: fix(removals): subdomain-aware same-site hostname matching

Performance improvements

  • 6ee7089: perf: pre-compiled CSS selectors, regex fast-path, and avoid re-parse on word count

🔍 Usage Examples

# Extract content from URL
defuddle parse https://example.com/article

# Convert to markdown
defuddle parse https://example.com/article --markdown

# Get JSON output with metadata
defuddle parse https://example.com/article --json

# Extract specific property
defuddle parse https://example.com/article --property title

Full Changelog: v0.5.1...v0.5.2

v0.5.1

22 Apr 20:49

Choose a tag to compare

Defuddle Go v0.5.1

Web content extraction library and CLI tool for Go.

📦 Installation

Download Pre-built Binaries

Download the appropriate binary for your platform from the assets below.

Install with Go

go install github.com/dotcommander/defuddle/cmd/defuddle@v0.5.1

Install from Source

git clone https://github.com/dotcommander/defuddle.git
cd defuddle-go
make build-cli

Changelog

Refactors

  • e1191d1: refactor(extractors): split registry.go into per-category files

🔍 Usage Examples

# Extract content from URL
defuddle parse https://example.com/article

# Convert to markdown
defuddle parse https://example.com/article --markdown

# Get JSON output with metadata
defuddle parse https://example.com/article --json

# Extract specific property
defuddle parse https://example.com/article --property title

Full Changelog: v0.5.0...v0.5.1

v0.5.0

22 Apr 20:25

Choose a tag to compare

Defuddle Go v0.5.0

Web content extraction library and CLI tool for Go.

📦 Installation

Download Pre-built Binaries

Download the appropriate binary for your platform from the assets below.

Install with Go

go install github.com/dotcommander/defuddle/cmd/defuddle@v0.5.0

Install from Source

git clone https://github.com/dotcommander/defuddle.git
cd defuddle-go
make build-cli

Changelog

Features

  • 8521924: feat(extractors): port leetcode, discourse, linkedin — complete upstream parity
  • 43bff00: feat(extractors): port lwn, c2_wiki, x_oembed (Batch B)
  • e17513b: feat(extractors): port wikipedia, medium, nytimes (Batch A)

Others

  • e837e74: chore(scripts): add upstream extractor sync checker

🔍 Usage Examples

# Extract content from URL
defuddle parse https://example.com/article

# Convert to markdown
defuddle parse https://example.com/article --markdown

# Get JSON output with metadata
defuddle parse https://example.com/article --json

# Extract specific property
defuddle parse https://example.com/article --property title

Full Changelog: v0.4.0...v0.5.0

v0.4.0

22 Apr 19:45

Choose a tag to compare

Defuddle Go v0.4.0

Web content extraction library and CLI tool for Go.

📦 Installation

Download Pre-built Binaries

Download the appropriate binary for your platform from the assets below.

Install with Go

go install github.com/dotcommander/defuddle/cmd/defuddle@v0.4.0

Install from Source

git clone https://github.com/dotcommander/defuddle.git
cd defuddle-go
make build-cli

Changelog

Features

  • b816f48: feat(cli): accept piped HTML in parse command
  • 70f6a46: feat(extractors): add Bluesky thread and quoted-post extraction
  • 22b4e28: feat(extractors): add Mastodon federation support with shared comment helpers
  • 5061a60: feat(extractors): add Threads extractor with dual DOM+JSON paths

Bug fixes

  • 8e6f13b: fix(cli): resolve err113 and errcheck lint findings
  • a8456fe: fix: prepare repository for public release

Refactors

  • 2291b7c: refactor(cli): extract loadResult/renderOutput, replace property switch with map, delete unused helpers
  • 391d389: refactor(cli): replace go-json-experiment with stdlib encoding/json
  • 92f8bf3: refactor(defuddle): decompose parseInternal, retry ladder as data, extract isProtectedNode
  • 5882003: refactor(extractors): DRY conversation extractors (shared title helpers, fallback selectors, single ExtractMessages pass)
  • d62ab88: refactor(scoring): extract ScoreElement sub-functions, hoist magic numbers to const
  • 79f4593: refactor: Go 1.24+ modernization (SplitSeq, new(bool), slices.Contains)

Others

  • faeba9f: chore(ci): bump actions/upload-artifact v4 → v7
  • 3b1697f: chore(deps): bump go-task/setup-task from 1 to 2
  • 6b94b3b: chore(deps): bump golang.org/x/net from 0.52.0 to 0.53.0
  • 0612afc: style(cli): align errNoURLs with sibling error conventions
  • 6311269: test(markdown): add golden file harness for 22 custom renderers

🔍 Usage Examples

# Extract content from URL
defuddle parse https://example.com/article

# Convert to markdown
defuddle parse https://example.com/article --markdown

# Get JSON output with metadata
defuddle parse https://example.com/article --json

# Extract specific property
defuddle parse https://example.com/article --property title

Full Changelog: v0.3.1...v0.4.0

v0.3.1

06 Apr 17:14

Choose a tag to compare

Defuddle Go v0.3.1

Web content extraction library and CLI tool for Go.

📦 Installation

Download Pre-built Binaries

Download the appropriate binary for your platform from the assets below.

Install with Go

go install github.com/dotcommander/defuddle/cmd/defuddle@v0.3.1

Install from Source

git clone https://github.com/dotcommander/defuddle.git
cd defuddle-go
make build-cli

Changelog

Bug fixes

  • 4736085: fix: rename test fixtures to avoid colons in file paths

🔍 Usage Examples

# Extract content from URL
defuddle parse https://example.com/article

# Convert to markdown
defuddle parse https://example.com/article --markdown

# Get JSON output with metadata
defuddle parse https://example.com/article --json

# Extract specific property
defuddle parse https://example.com/article --property title

Full Changelog: v0.3.0...v0.3.1

v0.3.0

05 Apr 21:15

Choose a tag to compare

Defuddle Go v0.3.0

Web content extraction library and CLI tool for Go.

📦 Installation

Download Pre-built Binaries

Download the appropriate binary for your platform from the assets below.

Install with Go

go install github.com/dotcommander/defuddle/cmd/defuddle@v0.3.0

Install from Source

git clone https://github.com/dotcommander/defuddle.git
cd defuddle-go
make build-cli

Changelog

Features

  • 3c36dc8: feat(cli): add extractors and batch commands, 3 parse flags, ldflags version

Others

  • 7231ab4: chore(ci): add bench job with submodule fixtures, drop windows from matrix

🔍 Usage Examples

# Extract content from URL
defuddle parse https://example.com/article

# Convert to markdown
defuddle parse https://example.com/article --markdown

# Get JSON output with metadata
defuddle parse https://example.com/article --json

# Extract specific property
defuddle parse https://example.com/article --property title

Full Changelog: v0.2.3...v0.3.0

v0.2.3

05 Apr 17:54

Choose a tag to compare

Defuddle Go v0.2.3

Web content extraction library and CLI tool for Go.

📦 Installation

Download Pre-built Binaries

Download the appropriate binary for your platform from the assets below.

Install with Go

go install github.com/dotcommander/defuddle/cmd/defuddle@v0.2.3

Install from Source

git clone https://github.com/dotcommander/defuddle.git
cd defuddle-go
make build-cli

Changelog

Others

  • b47d46e: chore(taskfile): replace sudo cp with symlink in install-cli task

🔍 Usage Examples

# Extract content from URL
defuddle parse https://example.com/article

# Convert to markdown
defuddle parse https://example.com/article --markdown

# Get JSON output with metadata
defuddle parse https://example.com/article --json

# Extract specific property
defuddle parse https://example.com/article --property title

Full Changelog: v0.2.2...v0.2.3

v0.2.2

05 Apr 17:49

Choose a tag to compare

Defuddle Go v0.2.2

Web content extraction library and CLI tool for Go.

📦 Installation

Download Pre-built Binaries

Download the appropriate binary for your platform from the assets below.

Install with Go

go install github.com/dotcommander/defuddle/cmd/defuddle@v0.2.2

Install from Source

git clone https://github.com/dotcommander/defuddle.git
cd defuddle-go
make build-cli

Changelog

Bug fixes

  • 8094a2f: fix(cli): apply 9 UX fixes from audit, bump to v0.2.2

🔍 Usage Examples

# Extract content from URL
defuddle parse https://example.com/article

# Convert to markdown
defuddle parse https://example.com/article --markdown

# Get JSON output with metadata
defuddle parse https://example.com/article --json

# Extract specific property
defuddle parse https://example.com/article --property title

Full Changelog: v0.2.1...v0.2.2