code wiki / _hdl_build / nx_ereader_sota_fetch.nx
nx_ereader_sota_fetch.nx
buildroot/runtime/_hdl_build/nx_ereader_sota_fetch.nx
about
nx_ereader_sota_fetch.nx -- HONEST research (operator 2026-07-04: "the rest of our library is still not state of
the art in loading, serving, hotkeys... use the nishi researcher and see what ereaders do on github that are way
ahead of us"). Fetches the GitHub topic search API for the SOTA e-reader / comic-server projects (Kavita, Komga,
Koodo, foliate, Readium, epub.js...) + their READMEs with our sovereign Chrome client (we beat GitHub's wall).
Parses to a COMPACT list (rank, full_name, stars, topics, desc) then dumps READMEs -> the library census is
grounded on what these tools ACTUALLY do (loading/serving/keyboard), not memory. Temporary. license_tier: ORIGINAL
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_fetch_follow.nxnx_manga_sites.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| 12 | const K_MAGIC_4194304: i64 = 4194304 |
| 13 | const K_MAGIC_2097152: i64 = 2097152 |
| 14 | const K_MAGIC_2400: i64 = 2400 |
| 15 | const K_MAGIC_2600: i64 = 2600 |
functions
| 17 | func iw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 18 | func iseg(buf: *u8, a: i64, e: i64) -> i64 { if e>a { sys_write(1,(buf as i64+a) as *u8, e-a) } return 0 } |
| 19 | func jval(buf: *u8, n: i64, key: *u8, from: i64, bound: i64, sp: *i64, ep: *i64) -> i64 |
| 27 | func fetch(url: *u8, store: *TrustStore, buf: *u8, cap: i64) -> i64 |
| 34 | func complist(buf: *u8, n: i64) -> i64 |
| 58 | func readme(owner_repo: *u8, store: *TrustStore, buf: *u8, cap: i64, shown: i64) -> i64 |
| 67 | func main() -> i64 |