Skip to content

tobycm/simple-file-uploader

Repository files navigation

simple file uploader

a simple frontend and backend to help you utilize some of your storage space on your server to store and share files.

Demo: https://file.tobycm.dev

Table of Contents

Requirements

Getting started

Installation & Setupetup

Install dependencies:

bun i

Setting up the environment variables:

cp .env.example .env


$EDITOR .env

Run the backend:

cd server &∓& bun run start

Features

File Upload

⬆️ Upload files to your server via the frontend.

/upload endpoint accepts POST requests with multipart/form-data containing the file to be uploaded.

Transcoding

⚙️ Transcode uploaded media files to friendly format for web previewing using FFmpeg.

Option toggle in /upload endpoint to enable/disable transcoding per upload.

Folders

📁 Upload to folder

Contributing

You are welcome to contribute by submitting issues or pull requests!

License

This project is licensed under the MIT License - see the LICENSE file for details.