Skip to content

Releases: kemolumi/MCCL-workers

New system

Choose a tag to compare

@kemolumi kemolumi released this 18 Aug 03:51

Setup:

Setup Cloudflare Workers up and running:

  1. Go to Cloudflare Workers playground with MCCL Workers preset.

  2. On top right of the screen, press Deploy.
    image

  3. It should took you to the account sign up if you don't have one logged in.

  4. After that, Cloudflare should take you to this page, if not, just go back to step 2.
    image

  5. Change name to whatever you want, then go ahead and click Deploy bottom right.
    image

  6. Now, in the menu, go to KV, it should be inside Workers & Pages.
    image

  7. Click on Create a namespace, you get to choose the name on this one, I'll name mccl, then add it.
    image

  8. Now the KV has been created, let's go ahead and navigate to R2 and create a bucket to actually store our server, if you don't see it, just scroll down in the menu.
    image

  9. Then it will ask for banking information, this in place to charges you money when you go over the limit, you can use PayPal or debit card, don't worry, MCCL won't go over that limit easily.
    image

  10. After you done with all that, it should allows you to Create bucket.
    image

  11. You get to choose the name again, in this one, I'm also go for mccl.
    image

  12. And there we go.
    image

  13. From there, go back to Workers & Pages.
    image

  14. Click on our created worker.
    image

  15. Then go to Settings.
    image

  16. Click Variables.
    image

  17. Scroll down, you'll see KV Namespace Bindings. Press on Edit variables, then binds our created KV to this. Variable name MUST be "KV"
    image

  18. Click Deploy to save changes.

  19. Right under KV Namespace Bindings, we'll see R2 Bucket Bindings, just like KV binding, but variable name MUST be "BUCKET".
    image

  20. And there you go, you have successfully deployed an MCCL Worker.

Setup MCCL Client.

  1. Go back to KV section, find your KV and click on View.
    image

  2. Then add name and key and token as value to KV like this, you can generate token from here.
    image

  3. Create as many...

Read more

Server upgrade

Choose a tag to compare

@kemolumi kemolumi released this 10 Aug 04:00
  • Improve code.
  • Split server into chunks no longer needed.
  • Remove unused APIs.

Release build

Choose a tag to compare

@kemolumi kemolumi released this 09 Apr 06:03

How to setup:

In case the link didn't work:

And then:

  • Change name and token variable on top to set admin token.
  • Deploy the workers, you might need to sign up if you don't have a Cloudflare account.

In Workers & Pages, select the deployed MCCL:

  • Go to Settings.
  • Then in Settings, select Variables, and find KV Namespace Bindings, then create one with the name KV.
  • Now add the KV to