Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🚀 Irys CLI Manager Guide

Welcome to the Irys CLI Manager by Aashish! This tool simplifies managing your Irys node on devnet, allowing you to install the CLI, upload videos/images from various sources, fund your wallet, check balances, and more—all through an intuitive menu. Perfect for developers, airdrop hunters, and content creators interacting with Irys effortlessly!


⚡ One-Command Setup

Get up and running in seconds! Run this command in your terminal:

bash <(curl -fsSL https://raw.githubusercontent.com/HustleAirdrops/irys-cli-node-one-command/main/menu.sh)

Pro Tip: Run on a fresh VPS or local machine for best results. No daily maintenance needed – it's a lightweight CLI!


🏆 Interactive Menu

Once launched, greet the vibrant menu:

======================= IRYS CLI MANAGER BY Aashish 💖 =======================
1. 🛠️ Install IRYS CLI
2. ⬆️ Upload File
3. 💸 Add Fund
4. 📊 Check Balance
5. ⚙️ View/Change Config
6. ❌ Exit
==============================================================================

Navigate with numbers – intuitive, fast, and fun! Submenus for uploads keep things organized and clutter-free.


🧭 What Can You Do With the Menu?

The menu handles everything step-by-step. Here's a breakdown of each option:

1. 🛠️ Install IRYS CLI

  • One-Time Setup: Auto-installs Irys CLI + dependencies (Node.js, ffmpeg, etc.).
  • Faucet Time: Claim free Sepolia ETH to get started:
  • Why Sepolia? It's Ethereum's testnet (Chain ID: 11155111). Grab RPC from Chainlist.org.
  • Usage Tip: Run once; CLI persists for future use. No "running node" – just command-line power!

2. ⬆️ Upload Files (Videos or Images)

  • How it works: After running the CLI, a menu asks if you want to upload videos or images.
  • Video Uploads 📹:
    1. Choose Source:
      • YouTube: Search and download videos using yt-dlp.
      • Pixabay/Pexels: Download videos via their APIs (get free API keys from Pixabay Docs or Pexels API).
      • Manual: Use an .mp4 file from your home/pipe folder.
    2. Set Size: Enter the desired file size (in MB). The script will:
      • Download, combine, duplicate, or trim the video to match your size.
    3. Cost: Approx. 0.0012 ETH per 100 MB. The CLI checks your balance before uploading.
  • Image Uploads 📸:
    1. Choose Source:
      • Picsum: Get random images (customize size, grayscale, or blur).
      • Manual: Use .jpg, .png, or other image files from your device.

3. 💸 Add Funds

  • Prompt for ETH amount – Deposits instantly to your Irys devnet wallet via private key/RPC.
  • Tip: Start small (0.001 ETH) for testing. Faucets keep it free!

4. 📊 Check Balance

  • Shows how much ETH you have in your Irys devnet wallet...!

5. ⚙️ View/Change Config

  • View masked Private Key, RPC, Wallet. Update any – No restarts needed!

6. ❌ Exit

  • Clean shutdown. Ctrl+C anytime for graceful exit.

Smart Handling: Video processing uses ffmpeg/moviepy (auto-installs if missing). Retries uploads 3x. Everything logged!


❓ Quick Q&A: Your Doubts, Demolished!

Question Answer
Daily Runs Needed? Nope! One-time install. Run script only when uploading/funding. CLI stays ready.
Uninstall Everything? Easy one-liner: rm -rf ~/irys_venv ~/.irys_config.json ~/irys_script.log ~/irys_file_details.json ~/.pixabay_api_key ~/.pexels_api_key ~/video_downloader.py ~/pixabay_downloader.py ~/pexels_downloader.py && sudo npm uninstall -g @irys/cli. Backup first!
Upload Size Mismatch? Script smartly merges/trims – Try broader queries if short. Manual for precision.
Balance/RPC Errors? Low funds? Claim faucets. RPC issues? Update via menu (try new from Chainlist). Logs help debug.
API Key Troubles? Free sign-ups linked above. Invalid? Delete file & re-enter. Check quotas.

Not here? Logs in ~/irys_script.log or hit support!


🔍 Pro Tips for Peak Performance

  • Balance First: Always check (option 4) – Avoid "Insufficient balance" surprises.
  • Faucet Strategy: Rotate faucets if rate-limited. Sepolia ETH is free but limited.
  • Query Power: For uploads, use "nature 4k" or "random hd" for rich results.
  • Security: Never share private key. Config is local & secure.
  • Logs & Debug: Everything in ~/irys_script.log – Your troubleshooting buddy!

💬 Support & Community

Join the hustle – More tools coming soon! 🚀


Made with 💖 by Aashish

About

Welcome to the Irys CLI Manager by Aashish! This tool simplifies managing your Irys node on devnet, allowing you to install the CLI, upload videos/images from various sources, fund your wallet, check balances, and more—all through an intuitive menu. Perfect for developers, airdrop hunters, and content creators interacting with Irys effortlessly!

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages