Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/radionoisee/aria2curl
Parses Aria2 input file for to use with Curl
https://github.com/radionoisee/aria2curl
aria2 curl parser
Last synced: about 2 months ago
JSON representation
Parses Aria2 input file for to use with Curl
- Host: GitHub
- URL: https://github.com/radionoisee/aria2curl
- Owner: RadioNoiseE
- License: mit
- Created: 2023-07-01T11:01:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-30T14:44:12.000Z (about 1 year ago)
- Last Synced: 2023-12-30T15:34:27.365Z (about 1 year ago)
- Topics: aria2, curl, parser
- Language: C
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aria2Curl
## What is this
A parser that converts the Aria2 input file into the Curl's input file.
一个让Curl能够处理Aria2的输入文件的解析器。## Features
- Uses only the standard head files, namely `stdio.h`, `string.h` and `uchar.h` if you need to handle utf-8 characters.
- Can handle utf-8 characters elegently, which makes it really portable.
- Written in about 200 lines of `C`, fast and light-weight.
- The use of `fpos_t` enables it to read the file which is at any size in fast speed.
- Supports multi-targets in one file.## How to use
`aria2curl [-o ] ` and `curl -K `
Specify option `-#` if you want a progress bar.
The default output is `.cfg`.## Further development plans
- Support more options (currently, we support `referer`, `user-agent`, `out` and those have the same name between Aria2 and Curl).
- Directly do the actuall download (using `libcurl`)?
- Based on (ref2), support multi-thread or similar features?
### PR Welcomed!