# janko/down

Streaming downloads using Net::HTTP, http.rb or HTTPX

Repository: https://github.com/janko/down
Canonical: https://ross.abutalabs.com/products/janko-down
Language: Ruby
License: MIT
License Family: permissive
Topics: download, partial-responses, ruby, streaming, http, tempfile
Last push: 2026-05-06T07:54:13+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 81, release rhythm 35, longevity 100
- inputs: {"age_days": 3995, "days_push": 119, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1063, forks 53 (observed 2026-08-28T04:03:26.316239+00:00)

## What it is
Down is a Ruby library for streaming, flexible, and safe downloading of remote files, with pluggable backends (Net::HTTP, http.rb, HTTPX). It downloads to Tempfiles with metadata extraction, size limits, and streaming support.

## Use cases
- download remote files to a tempfile in ruby
- stream large files over http without loading into memory
- limit download size when accepting user-supplied urls
- download files with progress callbacks
- fetch remote file metadata like content type and filename

## When to choose
- you need safe, size-limited downloads of remote files in Ruby
- you want streaming access to remote file content
- you're building file upload handling (e.g. with Shrine)

## When to avoid
- you need a full-featured HTTP client for general API requests
- you're not working in Ruby

## Facets
- artifact type: library
- maturity: stable
- function: http-client, file-upload, streaming
- domain: web-development, files, developer-tools
- platform: ruby
- tags: downloading, tempfile, partial-responses, remote-files

## Member repositories
- janko/down (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:26.316239+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-30T06:56:39.428226+00:00, confidence not recorded.
  - readme: https://github.com/janko/down (fetched 2026-08-28T04:03:26.316239+00:00, sha 44c57ec445cf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
