Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🖥️ Remote Desktop Streamer (Flask + PyAutoGUI)

A lightweight Flask application to live-stream your desktop, and remotely control mouse and keyboard from any browser.

Supports:

  • 🖼️ Live screen streaming (MJPEG)
  • 🖱️ Mouse clicks and dragging
  • ⌨️ Keyboard input
  • 🎛️ Adjustable stream quality
  • 🎯 Accurate screen-to-browser coordinate mapping
  • 📏 Responsive UI (screen scales to fit browser)

🚀 Features

Feature Description
✅ Live stream Real-time screen feed over HTTP
✅ Mouse control Click and drag anywhere from browser
✅ Keyboard control Type keystrokes remotely
✅ Quality control Switch stream compression on-the-fly
✅ FPS counter Shows current frame rate in browser
✅ Responsive UI Image auto-scales to browser size

📸 Demo Screenshot

screenshot


🛠 Requirements

  • Python 3.7+
  • GUI-enabled Linux (X11), macOS, or Windows
  • pip install the following:
pip install flask opencv-python-headless pyautogui mss

▶️ Run the App

python app.py

Then open:

http://<your-ip>:8000

Replace with your local IP address if accessing from another device.


🖥️ 远程桌面(Flask + PyAutoGUI)

一个轻量级的 Flask 应用,可通过浏览器实时显示你的桌面画面,并远程控制鼠标和键盘

支持功能:

  • 🖼️ 实时桌面串流(MJPEG)
  • 🖱️ 鼠标点击与拖拽
  • ⌨️ 键盘输入
  • 🎛️ 可调节串流画质
  • 🎯 精确的屏幕与浏览器坐标映射
  • 📏 响应式界面(画面自动缩放以适应浏览器)

🚀 功能特色

功能 说明
✅ 实时串流 通过 HTTP 提供实时桌面画面
✅ 鼠标控制 可直接在浏览器中点击和拖拽操作
✅ 键盘控制 支持远程输入键盘按键
✅ 画质调节 可动态切换串流压缩质量
✅ FPS 显示 浏览器中实时显示当前帧率
✅ 响应式界面 画面自动缩放以适应不同浏览器尺寸

📸 示例截图

screenshot


🛠️ 环境需求

  • Python 3.7 或更高版本
  • 支持 GUI 的 Linux(X11)、macOS 或 Windows
  • 使用 pip 安装以下依赖:
pip install flask opencv-python-headless pyautogui mss

▶️ 运行应用

python app.py

然后在浏览器中打开:

http://<your-ip>:8000

如果从其他设备访问,请将 <your-ip> 替换为本机的局域网 IP 地址。

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages