Skip to content

MukundSinghRajput/FileServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📂 File Server

A simple file server written in Rust 🚀. It can receive and send files, with a built-in preview generator. It’s fast, lightweight, and smooth AF 😎

If you find a bug, feel free to open a pull request — this is my very first Rust project, so feedback is welcome! ❤️


🗄️ Database Support

The server supports both SQLite and PostgreSQL:

  • SQLite (default): great for quick setups or local usage.
  • Postgres: recommended for production or multi-user setups.

▶️ Running the Server

SQLite (default)

cargo run -q

PostgreSQL

cargo run --no-default-features --features postgres

Make sure you have a running PostgreSQL instance and your .env file configured with the correct credentials.


⚡ Performance Tip

Always prefer running in release mode for much better performance:

cargo run --release

💡 Contributing

Pull requests are welcome! If you find a bug, or have an idea to improve the project, just open an issue or PR.


About

A simple file server written in rust to serve files over the internet for sharing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages