r/opensource • • 4d ago

Promotional I've built CLI tool for simple file sharing over QUIC written in C++.

https://github.com/Hikari03/hikup

Hi guys, for the past two years I have been very gradually creating file-sharing solution that is easily self-hostable and fast to use.

Disclaimer: recent code is AI generated. I know that some people have very sharp opinions on usage of AI, but nowadays its very capable and I am not shy to disclose that. The base code and architecture of it is written by hand.

As a CS student I wanted to build something that will serve me and not be another clone of something that i know and not be a web-app. I also wanted to learn network programming without using HTTP for everything.

So I came up with this. It has its own (probably very janky) protocol on top of OpenSSL QUIC. Its client-server. With native client you can upload, download, remove, list and get info about files, and do the first three in batches. You share the hash. The server has HTTP server built-in (mongoose) that you can turn off in config. With it enabled, you can download over HTTP / view files in browser. When provided credentials, you can also list the files and their info over /login endpoint. It also supports file encryption so the server owner cant read the contents.

0 Upvotes

3 comments sorted by

1

u/[deleted] 4d ago

[removed] — view removed comment

1

u/sarejncz 4d ago

thanks, will try that