Use Oneindex to Build a 5T Storage Drive Index for FREE

On April 27 2020, the developer of Oneindex:donwa deleted the whole repository of Oneindex, no matter for what reason, it's so sad to see a great program gone. To still use this program, you need to find and use anyone who forked and fixed the Oneindex after this incident on github.

Before We Start

In order to follow this guide, you will need three things:

  1. KubeSail Account
  2. Onedrive Account
  3. Oneindex

The first two accounts are free to create and Oneindex is an opensource program, so upon finish this guide, you can have 5T storage drive index totally for FREE.

Get A 5T Onedrive Account

If you are an Office365 subscriber or you have a business or edu account with Onedrive, you can have 1T or 5T onedrive storage depends on your admin setting.

Deploy the Oneindex

First, let's login to the KubeSail and click New Deployments--Edit YAML, copy and paste the code below, then click save and apply

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: oneindex
spec:
  selector:
    matchLabels:
      app: oneindex
  replicas: 1
  template:
    metadata:
      labels:
        app: oneindex
    spec:
      containers:
        - name: oneindex
          image: setzero/oneindex
          imagePullPolicy: Always
          ports:
            - name: listen-port
              containerPort: 80
          resources:
            requests:
              cpu: 10m
              memory: 128Mi
            limits:
              cpu: 250m
              memory: 256Mi
          environment:
          - REFRESH_TOKEN=0 * * * *
          - REFRESH_CACHE=*/10 * * * *
          # - DISABLE_CRON=true
          # - SSH_PASSWORD=root
          # - TZ=Asia/Shanghai
          restart: always
          volumes:
          - ./config:/var/www/html/config
          - ./cache:/var/www/html/cache

Note: You can change the config if you want, this code is just a DEMO which I used. Once deployed, go back to your KubeSail dashboard and choose Domains on the left side then click add domain. Add your desired domain which will be used to access your Oneindex web page. Verify it by adding TXT record to your DNS provider. Once verified, head back to the KubeSail dashboard and choose Deployments. Here you can see the Oneindex demo we just deployed. Click on it then choose port, expose the port to our domain just verified.

Config Oneindex

Open the domain address we bind to our KubeSail deployment. Here, you can just follow the official Oneindex config guide below:

Due to the deletion of Oneindex, the original gif guide can't be shown, but it's really simple. just get and paste the APP id and secret.

After installed, you can again head to the domain address and see the results. If you follow every step correctly, you should see your Onedrive file Indexed.

Video Tutorial

Youtube

Last modification:October 2nd, 2020 at 12:13 am
If you like my post, you can donate to buy me a cup of coffee.