RossWang / Aria2-Integration

a Firefox Add-on to integrate with Aria2
MIT License
223 stars 40 forks source link

how to use this? #97

Open ghost opened 1 year ago

ghost commented 1 year ago

how to use this?

"You need to download and start Aria2 by yourself, complete at least 'Protocol,' 'Host,' 'Port' and 'Interface' in the options page and then click the 'Save' button." Doesn't help. What options page?

lalishansh commented 5 months ago

Hi @RossWang,

I too think this will be good idea.

# ~/.config/aria2/aria2.conf

# Note: ${HOME} var is explicitly supported by aria2 
dir=${HOME}/Downloads

# NOTE: Facing issue loading files in bazzite's rpm-ostree 's version of aria,
#       leaving these blank will create them in temp folder
#log="${HOME}/.config/aria2/aria2.log"
#input-file="${HOME}/.config/aria2/aria2.session"
#save-session="${HOME}/.config/aria2/aria2.session"
#dht-file-path6="${HOME}/.config/aria2/dht6.dat"
#dht-file-path="${HOME}/.config/aria2/dht.dat"
#load-cookies="${HOME}/.config/aria2/cookies.sqlite"

#-----------------------
disk-cache=32M
file-allocation=falloc
continue=true
max-concurrent-downloads=10
max-connection-per-server=16
min-split-size=10M
split=5
disable-ipv6=true
save-session-interval=60
enable-rpc=true
#rpc-secret=
rpc-listen-port=6800
rpc-allow-origin-all=true
#rpc-listen-all=true
follow-torrent=true
listen-port=51413
bt-max-peers=100
enable-dht=true
enable-dht6=true
dht-listen-port=6966
enable-peer-exchange=true
peer-id-prefix=-TR2770-
peer-agent=Transmission/2.77
user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
seed-ratio=0
bt-hash-check-seed=true
bt-seed-unverified=true
bt-save-metadata=false

then launch aria2 server

aria2c --conf-path=.config/aria2/aria2.conf

once you do that AriaNg will get connected

image

I also created an aria2 service and set it to autostart.

lalishansh commented 5 months ago

https://www.reddit.com/r/linux/comments/1d0y464/aria2_as_a_download_manager_for_firefox_based/ Related post