AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

Build a Prophets & Companions Reader CLI in Tcl 8.6 with tcllib JSON, TLS, a 24h Cache and 9 Languages

Tcl is still everywhere: build systems, EDA tools, test rigs, embedded boxes. It also makes a nice little HTTP + JSON client. In this tutorial we build bios.tcl, a terminal reader for two APIs from QuraniAPI: the Ambiya API (Stories of the Prophets) the Sahaba API (biographies of the noble Companions) The tool: downloads both datasets over HTTPS and caches them for 24 hours falls back to the old cache if the network fails, and has an --offline mode validates the response (success flag, items array) before caching it lists, shows and searches entries, with any of 9 languages: en ur fr de tr ms ru zh-CN ja (falls back to English) exports everything to a UTF-8 Markdown file comes with 6 tcltest unit tests that run without the network Tested with Tcl 8.6.16, tcllib 2.0 (json 1.3.6) and tcl-tls 1.8.0 on Debian. Setup Tcl ships http, but HTTPS needs tls and JSON parsing needs tcllib: sudo apt-get install tcl tcllib tcl-tls # Debian / Ubuntu # other systems: install Tcl 8.6 plus the tcllib and tcltls packages The endpoints GET https://quranicapi.online/api/serve.php?slug=ambiya&lang=all GET https://quranicapi.online/api/serve.php?slug=sahaba&lang=all lang can be all or a single language code. CORS is open and the response is plain JSON. A trimmed Sahaba response: { "title": "Sahaba — Noble Companions", "items": [ { "id": 5, "name_ar": "بلال بن رباح", "name_en": "Bilal ibn Rabah (RA)", "title": "First Muadhin", "translations": { "en": { "bio": "Bilal was an Ethiopian companion who endured severe torture for his faith. The Prophet (SAW) chose him as the first muadhin (caller to prayer) of Islam." }, "ur": { "bio": "بلال حبشی صحابی تھے جنہوں نے ایمان پر شدید اذیتیں برداشت کیں۔ رسول اللہ صلی اللہ علیہ وسلم نے انہیں اسلام کے پہلے مؤذن منتخب کیا۔" } } } ], "success": true } Ambiya items look the same, except each translation has a title and a story, and there is an order field: { "id": 1, "name_ar": "آدم", "name_en": "Adam (AS)", "order": 1, "translations": { "en": { "title": "Prophet Adam (AS)", "story": "Adam was the first human and first prophet. Allah created him from clay, taught him all names, and placed him in Paradise. After eating from the forbidden tree, Adam and Hawwa repented and were sent to Earth as Allah's vicegerent." } } } The public response is a sample (5 prophets and 5 companions). Our code only reads items, so it works the same with the full dataset. The library: bioslib.tcl All the logic lives in a small namespace so we can test it. Three details matter: ::http::register https 443 [list ::tls::socket -autoservername true] turns on HTTPS with SNI. -binary 1 makes geturl hand us raw bytes. We then decode UTF-8 exactly once. Without it, Tcl's http package may already decode the body (because the server sends charset=utf-8), and decoding again turns the Arabic and Urdu text into garbage. I hit exactly this bug while writing the tutorial: json2dict failed with unexpected token on the first Arabic name. We parse and check the JSON before writing the cache, so a bad response never replaces a good cache. # bioslib.tcl - small library for the QuraniAPI Ambiya + Sahaba JSON APIs package require Tcl 8.6 package require http package require tls package require json namespace eval bios { variable base "https://quranicapi.online/api/serve.php" variable maxAge [expr {24 * 3600}] variable langs {en ur

Reference details

Source category
research-report
First reported
Nov 30, 2026 18:07 UTC
Last reported
Nov 30, 2026 18:07 UTC
Catalog updated
Nov 30, 2026 18:10 UTC
Record ID
7925532467beb4f625fd09305f693341fe742d6486377a07ccf5bab4e578e7b3

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_6dc544294b7f21f98a

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Nov 30, 2026 18:07 UTC
Retrieved
Nov 30, 2026 18:10 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_6dc544294b7f21f98aRecent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.