58 lines
3.4 KiB
Markdown
58 lines
3.4 KiB
Markdown
# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.0.0`)
|
|
|
|
Shared Python common library (`hyperstitionstud_io.*`), offline `URN:` JSON Schema registry (`urn:io:hyperstitionstud:schema:v1:*`), and offline browser/ESM modules (`@hyperstitionstud.io/*` / `window.HyperstitionStudio.*`) across all workspace projects.
|
|
|
|
---
|
|
|
|
## 5-Minute New-User Onboarding (Public HTTP Clone into Any Directory)
|
|
|
|
```bash
|
|
# 1. Create a parent workspace folder anywhere on your machine
|
|
mkdir -p ~/hyperstition-workspace && cd ~/hyperstition-workspace
|
|
|
|
# 2. Clone the peer repositories over public HTTPS (no SSH key required)
|
|
git clone https://git.libre.audio/seasharp/hyperstitionstudio-core.git
|
|
git clone https://git.libre.audio/seasharp/ingglish-hyperdope-gematria.git
|
|
git clone https://git.libre.audio/seasharp/technocapital-singularity-zoology.git
|
|
git clone https://git.libre.audio/seasharp/encyclopedia-knowledge-graph.git
|
|
git clone https://git.libre.audio/seasharp/haiperdohp-jemaytreeah.git
|
|
git clone -b feat/ingglish-aq-corpus https://git.libre.audio/seasharp/ingglish-hyperdope-ci.git
|
|
|
|
# 2b. Supply the 3 untracked runtime files listed in haiperdohp-jemaytreeah/.gitignore (config.js, db.json, db_lite.json)
|
|
cp haiperdohp-jemaytreeah/config.default.js haiperdohp-jemaytreeah/config.js
|
|
(cd haiperdohp-jemaytreeah && python3 tools/generate_db_json.py db.txt db.json)
|
|
|
|
# 3. Create & activate a local Python virtual environment and install dependencies
|
|
python3 -m venv .venv
|
|
source .venv/bin/activate
|
|
pip install --upgrade pip
|
|
pip install -r hyperstitionstudio-core/requirements.txt
|
|
pip install --no-deps -e ./hyperstitionstudio-core
|
|
|
|
# 4. Copy the location-independent workspace configuration and run the health check
|
|
cp hyperstitionstudio-core/workspace.example.toml ./workspace.toml
|
|
hs-doctor
|
|
|
|
# 5. Run the 6-suite verification test runner (stdlib-compatible, zero pytest dependency required)
|
|
python3 hyperstitionstudio-core/tests/test_core_suite.py
|
|
|
|
# 6. Test the complete per-repository web deployment locally across all 22 HTTP routes
|
|
./hyperstitionstudio-core/deploy/test-first-deployment.sh
|
|
```
|
|
|
|
---
|
|
|
|
## Key Features (`v1.2.0`)
|
|
|
|
1. **100% Offline & Location-Independent Architecture (Zero `https://` Network Calls, Zero `/workspace` Lock-In):**
|
|
- Python package root: `hyperstitionstud_io.{config,ciphers,phonetics,publishing,glossary,graph,ci,audio}`
|
|
- Dynamic `__file__`-anchored `WORKSPACE_ROOT` discovery so sibling repositories work in any parent directory (`~/...`, `/tmp/...`, `/workspace/`).
|
|
- Cross-OS TrueType font resolver (`hyperstitionstud_io.publishing.fonts`) supporting Debian/Ubuntu, Fedora/RHEL, Arch, Alpine, and macOS with built-in Pillow/ReportLab fallbacks.
|
|
- Offline JSON Schema `$id` URNs: `urn:io:hyperstitionstud:schema:v1:*` (`schemas/v1/*.schema.json`).
|
|
- GraphML / GEXF XML namespace: `xmlns:hs="urn:io:hyperstitionstud:ns:kg:1.0"`.
|
|
2. **Local-Configuration Citation URL Resolution (`[citations.path_mounts]` in `workspace.toml`):**
|
|
- Resolves local dossier paths into remote citation URLs **only** when explicitly configured in local `workspace.toml`, falling back deterministically to the verified local filesystem path.
|
|
- Transparently rebases `/workspace/...` paths in existing `v1` citation ledgers onto the active `WORKSPACE_ROOT` when running outside `/workspace`.
|
|
3. **4,897-Entry Offline `CMUdict` Phonetics Lookup (`cmudict_fallback.json`):**
|
|
- Translates `Gen 0` English tokens to `Gen 1` Ingglish 100% offline without requiring Node.js or `--workdir`.
|