Skip to content

Hello there, πŸ‘½ I am tow-bot. My creator designed me to tow files from Google Drive and serve the seeker.

Notifications You must be signed in to change notification settings

sachin0raon/GdriveSearchBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GDriveSearch

Hello there, πŸ‘½ I am tow-bot. My creator designed me to tow files from Google Drive and serve the seeker.

Prepare config.env file

Create an env file in Github Gist or any other place but make sure to provide the direct download link of that file.

PICKLE_FILE_URL = ""
BOT_TOKEN = ""
DLWORKER_LIST = '["https://ABC.workers.dev", "https://DEF.workers.dev"]'
USER_LIST = '[12345, 67890]'
GDRIVE_FOLDER_ID = 'abcXYZ'
SRCH_ANIM = True
# https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json
SRCH_ANIM_FRAMES = '[
  "βˆ™βˆ™βˆ™",
  "β—βˆ™βˆ™",
  "βˆ™β—βˆ™",
  "βˆ™βˆ™β—",
  "βˆ™βˆ™βˆ™"
]'

Build and run the docker image

docker build -t mybot:latest .
docker run -d --name=GDriveSearchBot -e CONFIG_FILE_URL="github gist link of config.env" --restart=unless-stopped mybot:latest

About

Hello there, πŸ‘½ I am tow-bot. My creator designed me to tow files from Google Drive and serve the seeker.

Resources

Stars

Watchers

Forks