How dataplusfeminism/liberatoryaiecosystem works
Project type & purpose
• This repository is a hybrid “full-stack” web presence combining:
• A SvelteKit-powered static site (marketing pages, case studies, workshops)
• A WordPress CMS instance (blog content, dynamic sidebars, plugins, interactive SVG “islands”)
Top-level architecture
• .github/workflows/dreamhost.yml → CI/CD pipeline
• svelte/ → SvelteKit source, build scripts (Vite, Tailwind, TypeScript)
• .svelte-kit/ → intermediate SvelteKit build cache & prerendered output
• svelte/build/ → final static site artifacts (HTML, CSS, JS)
• wordpress/ → PHP, plugin code, “islands” folder with JS prototypes & shortcodes
• node_modules/ & package.json → Node toolchain
Key components
A. Developer environment
• SvelteKit app (svelte/src, Vite config, Tailwind)
• WordPress plugin code in wordpress/islands (PHP + demo.js)
B. CI/CD
• GitHub Actions (dreamhost.yml) watches main branch →
– Builds SvelteKit → outputs to svelte/build
– Deploys static files to Dreamhost static host root
– Syncs WordPress folder to Dreamhost PHP host
C. Static front-end
• Built pages (index, about, workshops, casestudy…)
• Immutable assets (chunks, CSS, JS) served by CDN or web server
D. WordPress backend
• PHP + MySQL database for posts, pages, Team Section, Fluent Forms data
• “Islands” directory holds embeddable interactive SVG/JS snippets
• WordPress admin UI for editorial: anchors, sidebars, plugins
E. External services & plugins
• Fluent Forms (forms handling)
• WordPress Team Section (authors page layout)
Relationships & data-flow
1. Developer commits → GitHub → triggers CI/CD
2. CI builds SvelteKit → generates static HTML/CSS/JS → deploy to Dreamhost static host
3. CI syncs wordpress/ to Dreamhost PHP host → serves dynamic content via Apache/PHP
4. End users request pages:
• Static Svelte pages served instantly
• WordPress pages served via PHP/MySQL, enhanced by “islands” JS for SVG interactivity
5. When user interacts (e.g. clicks on SVG group), demo.js event listeners fire within the WordPress-injected script
Architectural patterns & design principles
• Static Site Generation (SSG) for marketing pages (via SvelteKit prerender)
• Hybrid CMS approach: WordPress handles dynamic editorial, Svelte handles static performance pages
• Islands architecture: isolate small JS widgets (SVG interactivity) in PHP templates to hydrate only where needed
• CI/CD as single source of truth for both static & PHP deployments