Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albinvar/anonfiles-cli
An awesome console application built using php which can upload and download files using anonfiles.com api directly from your terminal.
https://github.com/albinvar/anonfiles-cli
anonfiles anonfiles-cli cli hacktoberfest hacktoberfest-accepted hacktoberfest2023 php
Last synced: 2 days ago
JSON representation
An awesome console application built using php which can upload and download files using anonfiles.com api directly from your terminal.
- Host: GitHub
- URL: https://github.com/albinvar/anonfiles-cli
- Owner: albinvar
- License: mit
- Archived: true
- Created: 2021-07-17T13:52:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T18:33:31.000Z (over 1 year ago)
- Last Synced: 2024-11-13T12:24:17.501Z (3 days ago)
- Topics: anonfiles, anonfiles-cli, cli, hacktoberfest, hacktoberfest-accepted, hacktoberfest2023, php
- Language: PHP
- Homepage:
- Size: 12.3 MB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-zero - Anonfiles CLI
README
Anonfiles CLI
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Installation](#installation)
- [Contributing](#contributing)
- [License](#license)## 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
curl -s https://github.com/albinvar/anonfiles-cli/raw/main/builds/anonfiles -o anonfiles```
##### using wget
```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](LICENSE)