Komeil's Personal website

Oct 19, 2023

F0x | File Upload and Retrieval

f0x is a minimal application designed to simplify file uploads and retrievals. It allows users to upload files and retrieve them via a unique URL.

Features

  • File Upload: Upload files easily using a POST request.
  • File Retrieval: Access uploaded files through a unique URL.
  • Minimalistic

Usage

Uploading a File

To upload a file, send a POST request to the / endpoint with the file included in the request body.

Example using curl :

curl  -F 'file=@/path/to/your/file' 127.0.0.1:5000

Retrieving a File

After uploading, you will receive a unique URL to access the file. Simply navigate to this URL in your browser or use it in your application to download the file.

How to run

  • Clone the repository:
git clone https://github.com/mmdbalkhi/f0x.git && cd f0x
  • Install the required packages with pdm:
pdm install
  • Run the application:
pdm run flask --app src/f0x/main.py run

Sep 14, 2023

About me

Hi, I’m Komeil Parseh. I have a strong interest in programming, particularly with Linux, Python, Rust, and C. I enjoy taking on new projects and contributing to open-source initiatives.

On my GitHub, you’ll find several projects that reflect my interests. For example, Flask-tinydb is a TinyDB extension for Flask, designed to simplify database interactions. Mozlink is a program for building short links using Python and Flask, while breeze is a fun Flask application that mimics Twitter.

I’ve also contributed to documentation for Flask and other related projects, which has been a valuable way to support the community and improve resources for other developers.

In my spare time, I enjoy reading, playing Dota 2, and watching anime—Steins;Gate is one of my favorites.

Feel free to explore my GitHub profile to see more of my work. Thanks for stopping by!