Skip to content

Instantly share code, notes, and snippets.

@byterey
Forked from hugs/valet-network.md
Created February 16, 2025 14:37
Show Gist options
  • Save byterey/5b9e5a704d3024910d0e475c6d9e1da5 to your computer and use it in GitHub Desktop.
Save byterey/5b9e5a704d3024910d0e475c6d9e1da5 to your computer and use it in GitHub Desktop.

📱Valet

A Decentralized Automated Testing Network

🙈 tl;dr:

Valet is a decentralized test automation network where developers run tests on real devices (iOS or Android), and device owners get paid for executing them. Using Nostr for discovery, Lightning for payments, and Raspberry Pi nodes for execution, it’s less expensive, more open, and more scalable than traditional test clouds. Built by Jason Huggins (Selenium, Appium, Sauce Labs), Valet is an experiment in P2P testing at scale. 🚀

🚖 Why Valet Network?

  • 💰 Pay only for what you use – No monthly or annual contracts required
  • 📱 Better coverage – Real devices in the real world
  • 🌎 Decentralized – A peer-to-peer network with no vendor lock-in
  • ⚡️ Instant Payments via the Lightning Network – Run tests, earn sats
  • 🖥️ Distributed computing with Raspberry Pi-based Valet hardware – Efficient, open-source hardware test execution

🛠 How It Works

1️⃣ Users Submit Jobs via Nostr

  • Define your job request in a Dockerfile + a test script (Usually Python or JS)
  • Pay in sats (~1 sat/min, ~$0.001/min USD) via the Lightning Network
  • Broadcast job requests to Nostr relays for discovery

2️⃣ Valet Nodes Run Tests

  • Raspberry Pi nodes bid for jobs via Nostr, executing tests as Data Vending Machines
  • Download & run tests in local Docker containers
  • Supports Appium, Selenium, OpenCV, and Tesseract APIs for real Android & iOS automation
  • Touch, mouse, and keyboard inputs sent via USB HID protocol to the device
  • Video and screenshots captured via HDMI screen mirroring

3️⃣ Results Delivered

  • Screenshots, video, & logs sent back to a file server or CI/CD pipeline
  • Work is validated, user and node reputation scores updated
  • Device data is cleared and/or factory reset

🌎 Who is Valet For?

  • 🧑‍🔬 Developers & Testers – Run automated tests on real devices, cheaper & faster than cloud services
  • 🧑‍💼 Device owners – Monetize idle devices by executing tests & earning Bitcoin instantly

🏃‍➡️ Run Your First Test Today! ➡️ valetnet.work

🧐 Who's Driving This?

👋 I’m Jason, and I make robots at Tapster. My thing is test automation, open source software, and any kinetic art involving motors and lights.

I specialize in test automation for hard-to-automate scenarios. That led me to start Selenium, Appium, Sauce Labs, working at Google, and even with the White House to help fix HealthCare.gov. For the last decade at Tapster, I've been focused on mobile, IoT, and point-of-sale testing—robots touching screens, pressing real buttons, solving weird automation challenges.

Lately, I've been obsessed with the idea of a decentralized automated testing network. Imagine Selenium Grid, but global, P2P, always available, and not run by any one company.

Some days I think, "Nah, too crazy." Other days, it's "F it, let's try and see what happens."

So here it is. This is 📱Valet. Let’s see what happens. 🚖


P.S. Until I make a proper landing page for this, if you're interested and would want to try it out, either star this (top-right corner of the screen), or leave a comment! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment