portapack-mayhem/MayhemHub
소개
HackRF/Portapack의 모든 기능을 위한 웹 인터페이스
개발 도구What you can do
- Live Screen Streaming: View your PortaPack's screen in real-time on your computer.
- Remote Control: Interact with your device's screen and buttons directly from the web UI, including keyboard shortcuts.
- File Management: Upload and download files to/from your device's SD card without removing it.
- One-Click Firmware Updates: Easily update to the latest stable or nightly Mayhem firmware builds.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalMayhem Hub
Live Site → HackRF.app
The web interface for everything HackRF/Portapack Mayhem. This project provides a comprehensive, browser-based dashboard to interact with your device, eliminating the need for command-line tools or constant SD card swapping for many common tasks.
This application is a Progressive Web App (PWA), so you can install it on your desktop and use it offline!
What is this?
If you are new to the HackRF + PortaPack + Mayhem firmware, this video provides a great overview of what the firmware can do:
Mayhem Hub extends the functionality of your device by bringing it to your web browser.
Features
- Live Screen Streaming: View your PortaPack's screen in real-time on your computer.
- Remote Control: Interact with your device's screen and buttons directly from the web UI, including keyboard shortcuts.
- File Management: Upload and download files to/from your device's SD card without removing it.
- One-Click Firmware Updates: Easily update to the latest stable or nightly Mayhem firmware builds.
- Custom Firmware Flashing: Flash
.tarfirmware files of your choice. - Serial Console: Access a full serial console for sending commands and viewing logs.
- Scripting: Run
.ppscscripts on your device. - PWA Support: Installable as a desktop app for a native-like experience and offline access.
- Customizable UI: Toggle visibility of different UI components to suit your workflow.
Requirements
Hardware & Firmware
- A HackRF with a PortaPack.
- Mayhem Firmware: Ensure you are running at least stable version
v2.0.0or nightlyn_240114(or newer). - Your PortaPack must be in normal mode (not HackRF mode) to connect.
Browser Support
This application relies on the Web Serial API, which is not supported by all browsers. For the best experience, please use a compatible browser like:
- Google Chrome
- Microsoft Edge
- Opera
You can check the latest browser compatibility on caniuse.com/web-serial.
Operating System Notes
- macOS Users: There are known issues with Web Serial on macOS. If you encounter problems, please check and contribute to the discussion here.
Tech Stack
- Next.js - React Framework
- TypeScript - Language
- Tailwind CSS - CSS Framework
- DaisyUI - Tailwind CSS Component Library
- Web Serial API - Hardware Communication
- PWA - for app-like features and offline support
Getting Started
Follow these steps to get a local copy up and running.
Prerequisites
- Node.js (v18.17.0 or later)
- npm, yarn, or pnpm
Installation & Running
- Clone the repository:
git clone https://github.com/portapack-mayhem/MayhemHub.git
cd MayhemHub
- Install dependencies:
npm install
- Run the development server:
npm run dev
You can also use `yarn dev`, `pnpm dev`, or `bun dev`.
- Open http://localhost:3000 with a compatible browser to see the result.
Other Scripts
- Build for production:
npm run build
- Lint the project:
npm run lint
Cloudflare Development
To run the Cloudflare Functions locally for development, you can use Wrangler:
npx wrangler pages dev public
Contributing
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
관련 프로젝트 살펴보기
불러오는 중…
