Skip to content

whyun-pages/sf-down

Repository files navigation

sourceforge downloader

An easy-to-use tool to download files from SourceForge projects.

Features

  • Download files from a specified SourceForge project and path.
  • Supports concurrent downloads.

Installation

npm install sf-down

Usage

As a library

import { download } from 'sf-down';
await download({
    project: 'your-project-name',
    paths: ['/path/to/files'],
    saveDir: './downloads',
    concurrency: 5,// Optional: number of concurrent downloads, default is 8
    reqTimeoutMs: 15000 // Optional: request timeout in milliseconds, default is 10000
});

As a CLI tool

npx sf-down --project your-project-name --paths /path/to/files --dir ./downloads --concurrency 5 --timeout 15000

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published