xKAF Mirror
FREEGoogle Drive + Cloudflare WorkersGoogle Drive + Cloudflare Workers

Your Google Drive, as a fast public mirror.

আপনার Google Drive এখন একটি দ্রুত পাবলিক মিরর।

Fill in five short steps and get a ready-made worker.js. Paste it into Cloudflare and your mirror is live. No coding needed.

পাঁচটি ছোট ধাপ পূরণ করুন, তৈরি worker.js পেয়ে যাবেন। Cloudflare-এ পেস্ট করলেই আপনার মিরর চালু। কোনো কোডিং লাগবে না।

Connect Google

Google যুক্ত করুন

Create a free Google Cloud key and sign in once.

একটি ফ্রি Google Cloud key বানিয়ে একবার সাইন ইন করুন।

Get worker.js

worker.js নিন

Pick your drives, name your site and download the file.

ড্রাইভ বাছাই করুন, সাইটের নাম দিন, ফাইল ডাউনলোড করুন।

Deploy on Cloudflare

Cloudflare-এ চালু করুন

Paste it into a Worker. Your mirror is online.

একটি Worker-এ পেস্ট করুন। আপনার মিরর অনলাইন।

Build your worker

আপনার worker তৈরি করুন

Stuck? Every step has a “Help” link to the guide.

আটকে গেলে? প্রতিটি ধাপে “সাহায্য” লিংক আছে।

  1. 1

    Connect your Google account

    আপনার Google অ্যাকাউন্ট যুক্ত করুন

    You use your own Google key. Nothing is shared with xKAF.

    আপনি নিজের Google key ব্যবহার করবেন। xKAF-এর সাথে কিছুই শেয়ার হয় না।

    Helpসাহায্য
    First time? Create your Google key (about 3 minutes)প্রথমবার? Google key বানান (প্রায় ৩ মিনিট)
    1. Open Google Cloud Console and create a project.
    2. Turn on the Google Drive API (click Enable).
    3. Click OAuth consent screen in the left menu (not Create credentials). If you see Get started, click it and choose External. Under Branding set home page https://gmirror.xkaf.org/, privacy policy https://gmirror.xkaf.org/privacy.html, authorized domain xkaf.org and Save. Then Audience → Publish app.
    4. Go to Clients → Create client, type Web application. Under Authorized redirect URIs add the address shown below.
    5. Copy the Client ID and Client secret into the boxes below. Copy the secret right away: Google shows it only once.
    1. Google Cloud Console খুলে একটি project তৈরি করুন।
    2. Google Drive API চালু করুন (Enable চাপুন)।
    3. বাম মেনুতে OAuth consent screen চাপুন (Create credentials নয়)। Get started দেখালে চেপে External বেছে নিন। Branding-এ home page https://gmirror.xkaf.org/, privacy policy https://gmirror.xkaf.org/privacy.html, authorized domain xkaf.org দিয়ে Save চাপুন। তারপর Audience → Publish app।
    4. Clients → Create client-এ গিয়ে type দিন Web application। Authorized redirect URIs-এ নিচের ঠিকানাটি দিন।
    5. Client ID আর Client secret কপি করে নিচের বক্সে বসান। Secret সাথে সাথে কপি করুন: Google এটি একবারই দেখায়।

    Redirect URI (tap to copy)Redirect URI (ট্যাপ করলে কপি হবে)

  2. 2

    Choose what to share

    কী শেয়ার করবেন বাছাই করুন

    Each drive or folder becomes /0/, /1/… on your site. Use ↑ to reorder.

    প্রতিটি ড্রাইভ বা ফোল্ডার আপনার সাইটে /0/, /1/… হবে। ক্রম বদলাতে ↑ চাপুন।

    Helpসাহায্য
    NameনামIDPasswordপাসওয়ার্ড (optional)

    Nothing added yet. Sign in and load your Shared Drives, or add My Drive or a folder link.এখনো কিছু যোগ হয়নি। সাইন ইন করে Shared Drive লোড করুন, অথবা My Drive বা ফোল্ডার লিংক যোগ করুন।

  3. 3

    Make it yours

    নিজের মতো সাজান

    Optional. You can change all of this later from /admin.

    ঐচ্ছিক। পরে /admin থেকে সব বদলানো যাবে।

  4. 4

    Security

    নিরাপত্তা

    Set an admin password so you can manage your mirror later. The defaults are fine for most people.

    পরে মিরর চালাতে একটি admin পাসওয়ার্ড দিন। বাকি ডিফল্ট সেটিং বেশিরভাগের জন্য ঠিক আছে।

    Helpসাহায্য
  5. 5

    Get your worker.js

    আপনার worker.js নিন

    Generate, download, then paste it into Cloudflare.

    তৈরি করুন, ডাউনলোড করুন, তারপর Cloudflare-এ পেস্ট করুন।

    Helpসাহায্য