Carica cose su archivi vari
- Python 100%
| carichello.py | ||
| config.json | ||
| README.md | ||
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>