/go-fast-cdn

A fast and easy-to-use CDN, built with Go.

Primary LanguageGoMIT LicenseMIT

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 git@github.com: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

  1. Run make prep
  2. Run make clean
  3. Run make build

Your binary should now be built and you can run it with bin/go-fast-cdn-linux or bin/go-fast-cdn-windows or bin/go-fast-cdn-darwin

Contributing

There are many ways to contribute to this project. Open a new issue if you see a feature missing - open a PR if you have the solution to an issue or a change you want to implement.

If you don't want to change anything, you can also help the development by leaving a star on this repo!