Skip to content

martydill/yolink-web-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YoLink Web UI

A modern web application for monitoring and managing YoLink IoT devices, built with Go and Svelte, and 99% AI-generated with Cursor!

Screenshot 2025-09-17 173803 Screenshot 2025-09-17 173819

Overview

This project was AI-generated and provides a user-friendly interface for monitoring YoLink IoT devices, including door sensors and vibration sensors. The application features real-time updates via MQTT and WebSocket connections, allowing users to track device states, battery levels, and online status.

Features

  • Real-time Device Monitoring

    • Live updates of device states via MQTT
    • WebSocket integration for instant UI updates
    • Battery level monitoring with visual indicators
    • Online/offline status tracking
  • Device Types Supported

    • Door Sensors
    • Vibration Sensors
    • (Extensible for additional device types)
  • Modern UI/UX

    • Clean, responsive design using Tailwind CSS
    • Interactive device cards with status indicators
    • Detailed device information panels
    • Real-time status updates with visual feedback
  • Technical Features

    • Go backend with RESTful API
    • Svelte frontend for reactive UI
    • MQTT integration for real-time device updates
    • WebSocket support for live UI updates
    • Secure token-based authentication

Project Structure

yolink-web-ui/
├── backend/           # Go backend server
│   ├── main.go       # Main application entry
│   ├── mqtt/         # MQTT client implementation
│   └── yolink/       # YoLink API integration
├── frontend/         # Svelte frontend
│   ├── src/
│   │   ├── App.svelte
│   │   └── DeviceDetails.svelte
│   └── package.json
└── README.md

Getting Started

  1. Install Dependencies

    make install
  2. Run the Application

    make run
  3. Access the Dashboard

Development

  • Backend Development

    make run-backend
  • Frontend Development

    make run-frontend

AI Generation

This project was generated using AI assistance, demonstrating the capabilities of modern AI in creating full-stack applications. The AI was used to:

  • Design the application architecture
  • Implement the backend API
  • Create the frontend UI components
  • Set up real-time communication
  • Configure the build system

License

This project is open source and available under the MIT License.

Acknowledgments

  • Built with Go and Svelte
  • Uses Tailwind CSS for styling
  • Integrates with YoLink IoT platform
  • Powered by AI-assisted development

About

A web UI for YoLink smart devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published