albinvar/anonfiles-cli

The Anonfiles CLI tool

v2.0.1 2021-09-13 07:13 UTC

This package is auto-updated.

Last update: 2022-01-13 08:39:38 UTC


README


logo
68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f616c62696e7661722f616e6f6e66696c65732d636c69 68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f616c62696e7661722f616e6f6e66696c65732d636c69 68747470733a2f2f696d672e736869656c64732e696f2f61706d2f6c2f476974687562

Table of Contents

Introduction

Anon Files CLI can upload and download files from anonfiles.com API within your command line interface.

Features

  • Upload your files directly from CLI.
  • Rename before uploading.
  • Download your files directly to a specified folder.

Installation

  • download the phar file to your machine.
using CURL
curl -s https://github.com/albinvar/anonfiles-cli/raw/main/builds/anonfiles -o anonfiles

using wget
wget https://github.com/albinvar/anonfiles-cli/raw/main/builds/anonfiles -O anonfiles
composer

Remember, installing with composer requires each and every libraries to be downloaded first.

composer global require albinvar/anonfiles-cli

Usage

Using anonfiles CLI is very simple.

its better to include the cli to your bin of your specified OS.

php anonfiles
Upload a file
php anonfiles upload image.jpeg

you can also upload your files through socks5 proxy. by default its configured at socks5h://127.0.0.1:9050. It will be customisable in future updates.

you may now upload the files using --tor option.

php anonfiles upload folder/image.jpeg --tor
Download a file

downloading a file is simple,

php anonfiles download https://anonfiles.com/u1C0ebc4b0
  • the link should be only from anonfiles.com

you may use --path option to change your download path.

php anonfiles download https://anonfiles.com/u1C0ebc4b0 --path="/sdcard/downloads"

similarly, you can also download your files using tor socks proxy using --tor option.

php anonfiles download https://anonfiles.com/u1C0ebc4b0  --tor

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

The project is certified using MIT License