Smartlight


An overengineered flashlight app created at Hack Club’s Scrapyard event (March 2025). Because why should a flashlight just… turn on and off?

Smartlight Project

Project Overview

The Smartlight project transforms an ordinary flashlight into a sophisticated IoT device with AI capabilities. Built during Hack Club’s Scrapyard event, this project demonstrates how modern web technologies, IoT principles, and artificial intelligence can be combined to create something delightfully unnecessary.

Key Features

Technical Stack

Frontend

Hardware

Backend

Code Architecture

The project consists of two main components:

  1. Hardware Code (Python): Controls the physical flashlight and handles communication with the frontend
    • Bluetooth service for pairing and WiFi configuration
    • HTTP server for receiving commands
    • Digital I/O control for the LED
  2. Frontend (Next.js): Provides a user interface for controlling the flashlight
    • Bluetooth connectivity for initial setup
    • HTTP communication for sending commands
    • Voice interface using Web Speech API
    • AI integration using Gemini API

Why Build This?

At Hack Club’s Scrapyard event, the goal was to create something fun, over-engineered, and slightly ridiculous. This project demonstrates how even the simplest device—a flashlight—can be transformed into a sophisticated IoT gadget with modern web technologies.

The project serves as a playful learning platform for:

Getting Started

If you’d like to create your own overengineered flashlight:

  1. Clone the repository
  2. Set up the hardware:
    • Connect an LED to a Raspberry Pi Pico W
    • Flash the Python code to the board
  3. Configure the frontend:
    • Install dependencies with yarn install
    • Set up environment variables
    • Run the development server with yarn dev

Built at Scrapyard 2025

This project was created during Hack Club’s Scrapyard event in March 2025, where hackers gather to build wonderfully overengineered projects. Special thanks to Hack Club for hosting such an amazing event!