BUILD-FIELD-RESOURCE-CARD. For the catalyst standing with the group on a phone. Seeing ONE group used to cost the engine, the world boundaries, the basemap tiles and the 2.3 MB pin index before a single link appeared. ?card=<slug> renders the group's sheet alone — no engine, no boundaries, no tiles, no pin index. Measured from the served files: the map transfers 7,942 KB plus a ~700 KB engine and unbounded tiles; the card transfers 678 KB worst case, of which 661 KB is the bundle itself and 17 KB the largest shard. 92% fewer bytes before tiles are counted at all. The bundle is now the floor, and splitting it is a separate job I have not done. SHARDED BY A STABLE HASH, after two measured failures: first two letters of the slug gave a 120 KB worst shard because every "Deaf <people>" lands in "de"; three letters left 110 KB because those slugs all begin "dea". djb2 low byte gives 255 even shards, mean 9 KB, max 17 KB, and the leaf recomputes the key so there is no index and one request. The identical function lives in both files: if either drifts the card 404s rather than serving somebody else's group. Flat filenames, card-<key>.json, because internal/generate-tree.mjs stages tables/*.json as files and throws EISDIR on a subdirectory — shared build machinery, not mine to change for one plugin. Share uses navigator.share where it exists (it offers whatever the catalyst already has) and falls back to the clipboard, with a cancelled share treated as the non-event it is. The link carries doxa.life's own slug, so what arrives reopens this card rather than a search — the slug now reaches the sheet from a tapped pin too, so sharing works from the map as well. Honesty unchanged: 1,738 cards carry something in the group's own language, 369 carry nothing and say so with the way in. Checked 400 roster rows resolve to a card, 0 missing; a tier-0 and a tier-2 card both carry what they should.
1 line
5.8 KiB
JSON
1 line
5.8 KiB
JSON
{"arayavati":{"slug":"arayavati","people_group":"Arayavati","_tier":2,"_iso3":"IND","iso639_3":"mal","language":"Malayalam","population":1200,"countries":"India","lat":9.497717,"lng":76.338467,"scripture_url":"https://ebible.org/mal/","scripture_title":"Malayalam Indian Revised Version Bible","scripture_scope":"Full Bible","film_url":"https://jesusfilm.org/watch/jesus/malayalam","film_title":"","has_audio":true,"has_open_bible_stories":false,"checked_pools":"arclight, door43, ebible, fcbh, scriptureearth","unchecked_pools":"api_bible, dbl, progress_bible, youversion, grn (not yet swept)","is_sign":false,"audio":{"u":"https://live.bible.is/bible/MALBCM","n":"Malayalam Bible 1910 - Revised and in Contemporary Orthography","ln":"Malayalam","m":"audio, text"},"bible_video":{"u":"https://live.bible.is/bible/MALLFP","n":"Malayalam - Malayalam Contemporary Version","sc":"Acts"},"gospel_tract":{"u":"https://knowgod.com/ml/fourlaws","n":"Four Spiritual Laws"},"scripture_earth":null,"gospel_audio":null,"bridge":null,"bridge_candidate":null,"related":null,"zume_url":"https://zume.training/ml","zume_approx":null,"credit":{"o":"Bridge Communication Systems","y":"2017","u":"https://www.bridgeconn.com/","g":"bridgeconn"},"code_note":"","pray_url":"https://pray.doxa.life/arayavati?source=doxalife","sun":null,"verified":{"scripture":"verified","film":"verified","audio":"verified","stories":"verified"}},"hupdah":{"slug":"hupdah","people_group":"Hupdah","_tier":1,"_iso3":"COL","iso639_3":"jup","language":"Hupdë","population":300,"countries":"Colombia","lat":0.77,"lng":-69.6588,"scripture_url":"","scripture_title":"","scripture_scope":"","film_url":"","film_title":"","has_audio":"unknown","has_open_bible_stories":false,"checked_pools":"arclight, door43, ebible, fcbh, grn, scriptureearth","unchecked_pools":"api_bible, dbl, progress_bible, youversion","is_sign":false,"audio":null,"bible_video":null,"gospel_tract":null,"scripture_earth":null,"gospel_audio":{"u":"https://fivefish.org/jup","n":"Hup"},"bridge":null,"bridge_candidate":null,"related":null,"zume_url":"","zume_approx":null,"credit":null,"code_note":"","pray_url":"https://pray.doxa.life/hupdah?source=doxalife","sun":null,"verified":{"gospel_audio":"verified"}},"phongku":{"slug":"phongku","people_group":"Phongku","_tier":0,"_iso3":"LAO","iso639_3":"pho","language":"Phunoi","population":1800,"countries":"Lao People's Democratic Republic","lat":21.430669,"lng":102.20432,"scripture_url":"","scripture_title":"","scripture_scope":"","film_url":"","film_title":"","has_audio":"unknown","has_open_bible_stories":false,"checked_pools":"arclight, door43, ebible, fcbh, grn, scriptureearth","unchecked_pools":"api_bible, dbl, progress_bible, youversion","is_sign":false,"audio":null,"bible_video":null,"gospel_tract":null,"scripture_earth":null,"gospel_audio":null,"bridge":{"l":"Akha","c":"ahk","st":"strong","n":12,"s":true,"f":true},"bridge_candidate":null,"related":null,"zume_url":"","zume_approx":null,"credit":null,"code_note":"","pray_url":"https://pray.doxa.life/phongku?source=doxalife","sun":null,"verified":{}},"pubiao":{"slug":"pubiao","people_group":"Pubiao","_tier":2,"_iso3":"CHN","iso639_3":"cmn","language":"Chinese, Mandarin","population":425,"countries":"People's Republic of China","lat":23.221616,"lng":104.804141,"scripture_url":"https://ebible.org/cmn2006/","scripture_title":"Chinese (simplified) Easy Reading Version","scripture_scope":"Full Bible","film_url":"https://jesusfilm.org/watch/jesus/mandarin-taiwan","film_title":"","has_audio":true,"has_open_bible_stories":false,"checked_pools":"arclight, door43, ebible, fcbh, scriptureearth","unchecked_pools":"api_bible, dbl, progress_bible, youversion, grn (not yet swept)","is_sign":false,"audio":{"u":"https://live.bible.is/bible/CMNTEM","n":"Chinese Contemporary Bible (圣经当代译本修订版)","ln":"Chinese, Mandarin","m":"audio, text"},"bible_video":{"u":"https://live.bible.is/bible/CMNCOV","n":"Chinese, Mandarin - Covenant","sc":"12 parts, Intro & Garden of Eden to After the Forty Years / End Credits"},"gospel_tract":null,"scripture_earth":{"u":"https://scriptureearth.org/data/cmn/","k":["PDF"]},"gospel_audio":null,"bridge":null,"bridge_candidate":null,"related":null,"zume_url":"https://zume.training/zhcn","zume_approx":null,"credit":{"o":"World Bible Translation Center","y":"2004","u":"https://www.bibleleague.org/","g":"bible-league"},"code_note":"","pray_url":"https://pray.doxa.life/pubiao?source=doxalife","sun":null,"verified":{"scripture":"verified","film":"verified","audio":"verified"}},"sanghar":{"slug":"sanghar","people_group":"Sanghar","_tier":2,"_iso3":"IND","iso639_3":"mar","language":"Marathi","population":47000,"countries":"India","lat":18.5368,"lng":73.8877,"scripture_url":"https://ebible.org/mar/","scripture_title":"Marathi Indian Revised Version Bible","scripture_scope":"Full Bible","film_url":"https://jesusfilm.org/watch/jesus/marathi","film_title":"","has_audio":true,"has_open_bible_stories":false,"checked_pools":"arclight, door43, ebible, fcbh, scriptureearth","unchecked_pools":"api_bible, dbl, progress_bible, youversion, grn (not yet swept)","is_sign":false,"audio":{"u":"https://live.bible.is/bible/MARDPI","n":"Indian Revised Version","ln":"Marathi","m":"audio, text"},"bible_video":{"u":"https://live.bible.is/bible/MARLFP","n":"Marathi Contemporary Version","sc":"Acts"},"gospel_tract":{"u":"https://knowgod.com/mr/kgp","n":"Knowing God Personally"},"scripture_earth":null,"gospel_audio":null,"bridge":null,"bridge_candidate":null,"related":null,"zume_url":"https://zume.training/mr","zume_approx":null,"credit":{"o":"Bridge Connectivity Solutions","y":"2017","u":"https://www.bridgeconn.com/","g":"bridgeconn"},"code_note":"","pray_url":"https://pray.doxa.life/sanghar?source=doxalife","sun":null,"verified":{"scripture":"verified","film":"verified","audio":"verified","stories":"verified"}}}
|