Giter VIP home page Giter VIP logo

cdn's Introduction

Banner

CDN Response CDN Response 24h CDN Response 7d

All the assets and other files for the CDN hosted at cdn.wanderer.moe - using Cloudflare's R2 Storage.


Usage

Github Actions

Configuration for Github Actions is stored in .github/workflows/deploy.yml.

  • Each push to main will trigger deployment using rclone to the R2 Bucket, where the CDN is hosted.

rclone & R2 Setup

The R2 bucket is synced using rclone.

  • The RCLONE_CONFIG environment variable is used to store the configuration for rclone - this is stored in the Github repository secrets. (encoded into Base64)

  • If you are to use this repository to base your own R2 bucket off of, you will need to change the rclone configuration to your own:

[r2]
type = s3
provider = Cloudflare
access_key_id = <access_key_id>
secret_access_key = <secret_access_key>
endpoint = https://<bucket_name>.r2.cloudflarestorage.com/
acl = private
  • The configuration above will give you access to all your R2 buckets, and will allow you to sync to them, you would specify like r2:<bucket_name> in the rclone command.

Authors

License

wanderer-moe/cdn is licensed under the GNU Affero General Public License v3.0 - You must state all significant changes made to the original software, make the source code available to the public with credit to the original author, original source, and use the same license.

cdn's People

Contributors

dromzeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

kiraio-moe

cdn's Issues

replace all hsr eidolons

all image files for hsr eidolons should be correctly updated, can be gathered from assets/asbres/ui/ui3d/rank/_dependencies/textures/{characterid}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.