go-fast-cdn
go-fast-cdn copied to clipboard
A fast and easy-to-use CDN, built with Go.
Go-Fast CDN
"The PocketBase of CDNs" - Me
A fast and easy-to-use CDN, built with Go.
Utilizing an SQLite database with GORM and the Gin web framework. UI built with Vite + React and wouter.
How to use
See our documentation at kevinanielsen.github.io/go-fast-cdn/
Development
Clone the Repository
git clone [email protected]:kevinanielsen/go-fast-cdn
or git clone https://github.com:kevinanielsen/go-fast-cdn
Add env variables
This project uses dotenv and I recommend that you do the same.
Read more about the usage on their page.
If you do not wish to use this, you can just rename .example.env
to .env
and fill in the fields.
Building the binary
- Run
make prep
- Run
make clean
- Run
make test
- Run
make build
Your binary should now be tested, built, and you can run it with bin/go-fast-cdn-linux
or bin/go-fast-cdn-windows
or bin/go-fast-cdn-darwin