Files
encyclopedia-knowledge-graph/docs/PLAN-MEMETIC-GALLERY-SUBPAGE.md
T

9.4 KiB
Raw Permalink Blame History

Plan: Read-Only Memetic Artifact Gallery Sub-Page (/gallery/) for hyperstitionstud.io (v2.0.0)

  • Document ID: PLAN-MEMETIC-GALLERY-SUBPAGE (v2.0.0)
  • Roadmap Status: LONG-TERM PLAN (Disabled in Production Caddyfile for Now) — Caddy explicitly blocks /gallery and /gallery/* (respond "404 Not Found" 404) and deploy/sync-vps-repos.sh omits ${LIVE_REPOS}/gallery in current deployments while preserving the gallery specification and staged scaffolding for long-term activation.
  • Target Web Route (When Activated): https://hyperstitionstud.io/gallery/ (/gallery/index.html)
  • Offline file:// Path: /workspace/hyperstitionstudio-core/site/gallery/index.html
  • Functional Scope: 100% Read-Only Gallery Browsing over the existing 35 generated visual/memetic artifacts (.png, .pdf, .mp4), with category filters, instant keyword/coordinate search, and a keyboard-navigable lightbox inspector. Zero creative/generation/editing controls.
  • Global Footer Compliance: Includes the global site footer "Made with ♥ by Lemurs." (♥).

1. Inventory of Existing Memetic Artifacts Leveraged (35 Visual Specimens)

An audit of /workspace/memes/ (31 PNGs, 2 companion PDFs, 1 MP4/HTML slideshow) and the visual boards in /workspace/technocapital-singularity-zoology/ and /workspace/encyclopedia-knowledge-graph/ provides 35 ready-to-browse artifacts organized into four browsable collections:

Collection ID & Filter Tab Artifact Count Existing Files Leveraged (Zero New Generation Required)
1. Technocapital Zoology & Pokedex Cards (zoology) 3 PNGs + 2 Companion PDFs • meme_1_custom_pokedex_technocapital_zoology_m7_129_125.{png,pdf} (1024x652 Gen IV INFO Pokedex Field-Scanner: M7_candidate_2026_11_28 / 129 / 125 / 193 / 191)
• meme_1_custom_technocapital_zoology_gta6_huawei_260_22.{png,pdf} (GTA 6 / Huawei / 260 == teknohkapital == kiler rohbots)
• demos/meme_1_custom_ants_assets_demo.png (ants / assets AQ lock specimen)
2. Stand-Up Comedy & Philosophical Exegesis (philosophy_comedy) 18 PNGs + 1 MP4 Slideshow • meme_1_custom_iasip_bergson_russell_fucked_you_up.png (Bergson / Russell / IASIP)
• meme_1_custom_carlin_matrix_morpheus.png (George Carlin / Morpheus)
• meme_1_custom_hedberg_10_guy.png (Mitch Hedberg / 10 Guy)
• meme_1_custom_wright_roll_safe.png (Steven Wright / Roll Safe)
• meme_1_custom_norm_macdonald_success_kid.png (Norm Macdonald / Success Kid)
• meme_1_custom_emo_philips_futurama_fry.png (Emo Philips / Futurama Fry)
• meme_1_custom_demetri_martin_sudden_clarity_clarence.png (Demetri Martin)
• meme_1_custom_jeselnik_confession_bear.png (Anthony Jeselnik)
• meme_1_custom_chris_rock_condescending_wonka.png (Chris Rock / Wonka)
• meme_1_custom_groucho_philosoraptor.png (Groucho Marx / Philosoraptor)
• meme_1_custom_youngman_bad_joke_eel.png (Henny Youngman / Bad Joke Eel)
• meme_1_custom_dangerfield_awesome_awkward_penguin.png (Rodney Dangerfield)
• meme_1_custom_seinfeld_conspiracy_keanu.png & meme_1_custom_seinfeld_costanza_not_a_lie.png
• meme_1_custom_parks_rec_ron_swanson_whole_ass.png
• meme_1_custom_simpsons_alcohol_interesting_man.png
• meme_1_custom_antijoke_{chicken_brick,disaster_girl_ice_cream,harold_bar_alcoholism}.png
• mid2000s_standup_meme_slideshow.{mp4,html}
3. Classic Template & Multi-Provider Specimens (classic_demos) 10 PNGs • demos/meme_1_custom_ackbar_thug_scumbag_ytmnd.png
• demos/meme_1_custom_awkward_moment_seal_id_ams.png & demos/meme_2_memegen_awkward_moment_seal_id_ams.png
• demos/meme_1_custom_bad_luck_brian_doorjamb.png
• demos/meme_1_imgflip_anakin_padme_4_panel.png
• demos/meme_1_makeameme_rainbow_spongebob.png
• demos/meme_1_memegen_do_you_want_ants_id_ants.png & demos/meme_2_memegen_do_you_want_ants_id_ants.png
• demos/meme_2_memegen_it_s_a_trap_id_ackbar.png & demos/meme_3_memegen_it_s_a_trap_id_ackbar.png
• demos/meme_3_supermeme_corporate_wants_you_to_find_the_differen.png
4. Ecological Tier-List & Knowledge Graph Atlas Boards (atlas_boards) 4 High-Res PNGs + 1 PDF • tier-list-technocapital-assemblage-builds.{png,pdf} (ETI 0–100 S+ to D/F Scorecard)
• atlas-mode2-concentric-eti-radar.png (1600x1060 Concentric Radar S+ -> D Periphery)
• atlas-mode1-trophic-food-web.png (1600x1060 Trophic Food-Web)
• atlas-mode3-bipartite-g1-funnel.png (1600x1060 Bipartite Gen 0 -> Gen 1 Funnel)

2.1 Top Filter & Search Bar (Zero Editing / Creation UI)

  • Category Filter Pills:
    • All Specimens (35)
    • Pokedex & Technocapital Zoology (3)
    • Stand-Up & Philosophy (18)
    • Classic Template Demos (10)
    • Tier-List & Atlas Boards (4)
  • Instant Client-Side Search Input: Filters cards in real time by title, comedian/philosopher, template name, guild (S1..S6, M7+), or AQ coordinate (125, 129, 191, 193, 260).
  • Grid Density Toggle: Switch between Comfortable Grid (3 columns) and Compact Contact Sheet (5 columns).

2.2 Specimen Card Grid (loading="lazy", decoding="async")

Each gallery card displays:

  1. Aspect-Preserving Thumbnail Preview (object-fit: contain on a #090d16 dark slate frame so non-square memes are never cropped).
  2. Specimen Title & Collection Pill (e.g., Gen IV INFO Pokedex: M7_candidate_2026_11_28 • ZOOLOGY).
  3. Technical Telemetry Footer: Pixel resolution (1024 × 652), file size (225 KB), and direct action links (Inspect Fullscreen, Download PNG, and Open Companion PDF when a .pdf pair exists).

2.3 Fullscreen Lightbox Modal Inspector

Clicking any card opens a zero-dependency fullscreen lightbox overlay featuring:

  • Keyboard & Click Navigation: ← / → arrow keys to step through the filtered collection, Z or click to toggle 1:1 native pixel zoom, and Esc to close.
  • Metadata Drawer: Displays the full title, collection category, pixel dimensions, file size, SHA-256 digest, associated AQ / Ingglish locks (for Zoology/Pokedex specimens), and direct Open Raw PNG / Open Companion PDF buttons.

3. Repository & VPS Hosting Architecture (100% Offline file:// + https://hyperstitionstud.io/gallery/)

Currently, /workspace/memes is an un-remoted local directory in /workspace. To ensure /gallery/ works seamlessly both offline (file://) and on the Linode/Akamai VPS (https://hyperstitionstud.io/gallery/) via sync-vps-repos.sh:

  1. Gallery Application Location:
    • /workspace/hyperstitionstudio-core/site/gallery/index.html
    • /workspace/hyperstitionstudio-core/site/gallery/gallery-data.js (window.HyperstitionStudio.GalleryData = [...], compiled deterministically by a read-only catalog script scripts/build_gallery_manifest.py so <script src="gallery-data.js"> works on file:// without fetch() CORS errors).
  2. Serving the Image Assets on the VPS & Locally:
    • Option A (Self-Contained inside hyperstitionstudio-core/site/gallery/media/): Copy the curated PNG/PDF meme artifacts into hyperstitionstudio-core/site/gallery/media/ (while referencing the 4 existing Zoology/Graph atlas PNGs via /zoology/... and /graph/... on HTTP and ../../../../technocapital-singularity-zoology/... on file://) so a single git pull of hyperstitionstudio-core deploys the entire gallery to the VPS automatically.
    • Option B (Dedicated /memes/ Route in sync-vps-repos.sh & Caddy): Map ${LIVE_REPOS}/memes -> memes and ${LIVE_REPOS}/gallery -> hyperstitionstudio-core/site/gallery in deploy/sync-vps-repos.sh and deploy/Caddyfile. (Option A is recommended for the 31 meme PNGs (~11 MB total excluding the .mp4) because hyperstitionstudio-core is already cloned on the VPS, requiring zero new repository creation on git.libre.audio).

4. Three-Step Implementation Roadmap (Phases 1–3)

  1. Write /workspace/hyperstitionstudio-core/scripts/build_gallery_manifest.py to inspect the existing PNG/PDF artifacts, read their exact (width, height) dimensions via Pillow and byte sizes, and emit /workspace/hyperstitionstudio-core/site/gallery/gallery-data.js (window.HyperstitionStudio.GalleryData).
  1. Create site/gallery/index.html with the 4 category filter tabs, search bar, density toggle, lazy-loaded specimen grid, keyboard-navigable lightbox modal, automatic file:// vs. https:// asset path resolution, and the "Made with ♥ by Lemurs." global footer.
  2. Update Card 4 / Header in /workspace/hyperstitionstudio-core/site/index.html to include a direct Open Memetic Gallery (/gallery/) launch button.

Phase 3: Wire into deploy/sync-vps-repos.sh, test-first-deployment.sh & test_core_suite.py

  1. Add ${SUDO} ln -sfn "hyperstitionstudio-core/site/gallery" "${LIVE_REPOS}/gallery" in deploy/sync-vps-repos.sh.
  2. Add /gallery/index.html and /gallery/gallery-data.js to deploy/test-first-deployment.sh and tests/test_core_suite.py, verify HTTP 200 OK across all routes, commit, and push via /workspace/push-all-to-git-libre-audio.sh.