Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Latest commit

 

History

History
109 lines (71 loc) · 2.44 KB

README.md

File metadata and controls

109 lines (71 loc) · 2.44 KB

Anonfiles CLI


logo

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