vidshas.blogg.se

How to use sharex
How to use sharex




Then be sure to give it access to the application account/zone resources you want to use In your GitHub repository, create a CF_API_TOKEN secret, and set its value to a Cloudflare API token with the following permissions: This will be used by the GitHub Action to publish the worker.

how to use sharex

In your GitHub repository, create an AUTH_KEY secret, and set its value to the AUTH_KEY you just generated

  • This ensures that only you can upload to your script.
  • Generate a random string of characters - this will be used for an AUTH_KEY header that we'll send along with ShareX For the purpose of this example, I'll be using sharex-filesĮdit wrangler.toml with your account_id, route, and r2_buckets.bucket_name See here for more detailsĬlone repo (or fork?), and run npm ci to install dependenciesĬhoose a bucket name to use in the next steps. Video Guideįor a video walkthrough on how to set everything up, including the Worker, R2, and ShareX, you can follow this great guide from KianNH.Įnsure you have wrangler installed and configured. If you have any questions, please feel free to create a discussion/issue, or submit a PR with any docs improvements! I want to extend this repo in the future and when R2 is more widely available, and document the process from start to finish. It assumes some precursory knowledge about Workers, Cloudflare, and ShareX.

    how to use sharex

    This repo pairs with the blog post found at.






    How to use sharex