Carica cose su archivi vari
Find a file
2026-03-05 14:21:00 +01:00
carichello.py str representation for Backends 2026-03-05 14:21:00 +01:00
config.json add name to config, so --backend can be used 2025-04-26 22:05:56 +02:00
README.md improve readme: explain uca.xml 2026-03-05 14:20:07 +01:00

carichello

Fai upload in modo semplice. Supporta arkiwi.org, archive.org, caricari

Dependencies

apt install xsel zenity python3-requests rclone

Howto

rclone

You need to configure rclone appropriately for your backend. You can both use rclone config, or just type in ~/.config/rclone/rclone.conf.

archive.org

XXX: we'll see it when it comes back

arkiwi.org

[arkiwiDav]
type = webdav
url = https://upload.arkiwi.org/
vendor = other
user = myusername

add pass = set to the value of rclone obscure YOURPASSWORD

carichello

Put your config in ~/.config/carichello/config.json.

Example:

{
    "remote": "arkiwiDav",
    "prefix": "Radio_Onda_Rossa"
}

Integration with your file manager

You probably want to run this automatically, with just a few clicks. Well, it depends on what file manager you have.

XFCE

Edit your ~/.config/Thunar/uca.xml so it includes this among the list of <actions>

<action>
    <icon>go-up</icon>
    <name>Pubblica file (su Archive)</name>
    <unique-id>1501663671307508-2</unique-id>
    <command>/usr/local/bin/carichello %F</command>
    <description></description>
    <patterns>*.ogg</patterns>
    <audio-files/>
</action>