USB networking and an on-device scraper (ScreenScraper)
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- cpp
研究方向
The proposal spans USB gadget modes, System Settings, a C++ ScreenScraper client, Puppy gamelist.xml support, and CI secrets; it does not name source files or tests. Start by checking the roadmap and the existing USB configuration and Puppy media handling. The author offers to split this into separate changes; done criteria for each part need to be agreed with maintainers.
由索引模型根據 Issue 內容生成。
描述
USB Networking is on the roadmap, so I tried it on my A33. The data port can become a CDC NCM network adapter, which Windows 10 and 11, macOS, Linux and Android drive with no driver to install. The PC shares its connection with it, or an Android phone does through its Ethernet tethering, with the console on the phone's OTG adapter, and udhcpc on the console takes the address. The A33's USB controller has five endpoints each way, so serial, MTP and NCM don't fit together. It works as a mode instead: Files (serial and MTP, the default) or Network (serial and NCM), switched from System Settings. In the default mode the gadget is the same as today, so it shouldn't bring back the tty trouble from #9.
With the internet there, I wrote a small scraper that runs on the console. It asks ScreenScraper about each game by its CRC and size, writes gamelist.xml plus a gamelist..xml with the descriptions in the interface's language, and downloads the picture, and a video if the user wants one, into media/. It's a small C++ program with no libraries that calls curl, so the image only gains libcurl, curl and the CA bundle, about 750 KB. Each user types their own free ScreenScraper account in System Settings. It's working on my console.
ScreenScraper also requires developer credentials for each piece of software. I asked for them for goodluckOS on their forum and they were granted: https://www.screenscraper.fr/forumsujet.php?frub=12&fsuj=26271
They go in at build time from SS_DEVID and SS_DEVPASSWORD, so the CI would need them as secrets. Would you rather request your own developer account for the project, or use the one I got?
Puppy on main only shows icons/.png, so the scraper also needs Puppy to read gamelist.xml. If you're interested, I can split it into small PRs: USB networking first, then gamelist support in Puppy, then the scraper.
- 主要語言
- C++
- 星號
- 54
- 分支
- 8
- 平均合併
- 16 天 19 小時
- 30 天內合併 PR
- 4
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeZombie/goodluckOS 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 65/100
CodeZombie/goodluckOS#178 ·
-
TODO
難度 2/5 1-3 小時 新手友好度 68/100
CodeZombie/goodluckOS#12 ·
-
難度 3/5 1-2 天 新手友好度 35/100
CodeZombie/goodluckOS#177 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 25/100
CodeZombie/goodluckOS#176 ·
-
難度 3/5 1-2 天 新手友好度 54/100
CodeZombie/goodluckOS#174 · 1 則留言 ·
查看 CodeZombie/goodluckOS 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
HarperFast/rocksdb-js#1131 ·
維護者通常 1 天內回覆
-
area/daemon bug good first issue platform/linux priority/p2
難度 2/5 1-3 小時 新手友好度 72/100
ToshiNamura/Deimos#5 ·
-
needs-format
難度 2/5 1-3 小時 新手友好度 82/100
Niko1221/Strata#6251 · 1 則留言 ·
維護者通常 5 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 65/100
metasequoiaime/msime#11666 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 70/100
patrick-hudson/put.gd-desktop#1679 · 1 則留言 ·
維護者通常 1 天內回覆