A simple webserver built in C++ using cpp-httplib to share files with others!
  • C++ 96.7%
  • CMake 3.3%
Find a file
2026-02-13 19:00:40 +01:00
libs Initial commit 2026-02-07 16:03:53 +01:00
src Performance improvements 2026-02-13 19:00:40 +01:00
.env.example Added the DISABLE_INDEX environment variable option 2026-02-07 16:14:48 +01:00
.gitignore Initial commit (2) 2026-02-07 16:04:17 +01:00
.gitmodules Initial commit 2026-02-07 16:03:53 +01:00
CMakeLists.txt Performance improvements 2026-02-13 19:00:40 +01:00
LICENSE Initial commit (2) 2026-02-07 16:04:17 +01:00
README.md Link cpp-httplib in README 2026-02-07 16:21:24 +01:00

file-share

A simple webserver built in C++ using cpp-httplib to share files with others!

Usage

Once you've got your webserver running, simply add files to the directory you've set in STORAGE_DIRECTORY and use GET /<file_name> to access any of them!

You may also get a list of every file that's publicly accessible with GET /files, though if you'd wish to disable this, set DISABLE_INDEX to true or 1.

Configuration

See the notes in .env.example to configure your webserver.

Contributing

Feel free to open pull requests if you wish to contribute to the project!

License

This project is licensed under the GNU Affero General Public License v3.0.