Prerequisites
TheTeleporter Scripts are built with bash and designed to work on any Unix-like system (Linux, macOS, WSL).You’ll need bash 4.0 or higher and standard Unix utilities. Most systems have these pre-installed.
Clone the repository
First, clone the scripts collection to your local machine:Core dependencies
These tools are required for most scripts in the collection:Bash 4.0+
Check your bash version:Standard utilities
Most scripts require these common Unix tools:find- File searchinggrep- Pattern matchingsed- Text processingawk- Text manipulation
GDrive Ingest dependencies
The GDrive Ingest script requires additional tools for cloud operations and media processing.Required dependencies
Install these core dependencies to use GDrive Ingest:- bash - Script runtime (4.0+)
- curl - HTTP requests and file downloads
- jq - JSON parsing for Google Drive API responses
- ffmpeg - Includes
ffprobefor music metadata extraction and cover art
Optional: Telegram support
Only install these if you plan to download files from Telegram channels:Get Telegram API credentials
- Visit https://my.telegram.org
- Log in with your phone number
- Go to “API development tools”
- Create a new application to get your
api_idandapi_hash
Make scripts executable
After installation, make the scripts executable:Add to PATH (optional)
For easier access, add the scripts to your PATH:Configuration
GDrive Ingest setup
The GDrive Ingest script requires Google Drive API credentials:Configure Google Drive API
Follow the detailed setup guide to:See the Google Drive setup guide for step-by-step instructions.
- Create a Google Cloud project
- Enable the Drive API
- Generate OAuth credentials
- Get a refresh token
.env:.env
Verify installation
Test that everything is installed correctly:Check dependencies
Test a script
If you see “Missing credentials in .env file”, that’s expected before configuration. The script is working correctly.
Troubleshooting
”command not found: bash”
Bash is not installed or not in your PATH. Install it using your system’s package manager.”curl: command not found”
Install curl:“jq: command not found”
Install jq:“ffprobe: command not found”
Install ffmpeg (which includes ffprobe):Permission denied
Make sure scripts are executable:Telethon installation fails
Ifpip3 install telethon fails, try:
Next steps
Now that you’ve installed the dependencies, you’re ready to run your first script:Quick start guide
Follow the quick start tutorial to upload your first file to Google Drive