An open API service indexing awesome lists of open source software.

https://github.com/techcow2/streamcode

Yi 4k Live QR Code Generator
https://github.com/techcow2/streamcode

html-css-javascript qrcode-generator yi4k

Last synced: 11 months ago
JSON representation

Yi 4k Live QR Code Generator

Awesome Lists containing this project

README

          

# StreamCode

Yi 4k Live QR Code Generator


Get it on Google Play

---

## ๐Ÿ’ก How It Works

1. User fills the form โ†’ the app builds a JSON object:
```
{
"ssid": "MyWiFi",
"pwd" : "hunter2",
"res" : "1080p",
"rate": "3", // mapping: High=3 Medium=2 Low=1 Auto=0
"dur" : "0",
"url" : "rtmp://example.com/live/key"
}
```
2. `qrcodejs` converts that JSON into a **v4-L** QR code (highest error level).
3. Yi 4 K camera scans the code on the LCD and applies the settings instantly.

---

## ๐Ÿ“ฆ Built With

| Tech | Purpose |
|-------------------|------------------------------------------|
| **HTML / CSS** | single-page UI |
| **Tailwind 2** | utility classes (no extra CSS build step)|
| **JavaScript** | form logic & localStorage CRUD |
| **qrcodejs** | QR code generation |
| **Lucide** | crisp SVG icon set |

---

## ๐ŸŒ Offline Mode

Click **Offline Mode** โ†’ the page serialises itself with `document.documentElement.outerHTML`,
wraps it in a Blob and triggers a download (`StreamCode_Offline.html`).
Open that file anywhere โ€“ it contains in-lined settings and still references the same public CDNs.

---

## ๐Ÿ“ Roadmap

- [ ] Dark-mode toggle
- [ ] Custom logo upload
- [ ] PWA manifest & service-worker for installable experience
- [ ] Translations (EN ยท ES ยท ZH ยท RU)

---

## ๐Ÿค Contributing

1. Fork the project
2. Create your feature branch: `git checkout -b feature/amazing`
3. Commit your changes: `git commit -m 'feat: add amazing feature'`
4. Push to the branch: `git push origin feature/amazing`
5. Open a Pull Request

---

## ๐Ÿ”’ License

Distributed under the **MIT** license.
See [`LICENSE`](LICENSE) for more information.

---

Google Play is a trademark of Google LLC.