Skip to main content

Repository Structure

This page describes the current logical repository structure of the actively documented LiVi product layers.

Current main product areas

At the current stage, the most important documented repository areas are:

  • Scriptwriter
  • pricing

These areas reflect the current separation between product interface and billing center.

Scriptwriter

The Scriptwriter area contains the current product-facing AI scriptwriting interface.

Typical files include:

  • index.html
  • app.js
  • styles.css
  • i18n.js

Role

Its role is to provide the active product experience for script generation and related user interaction.

pricing

The pricing area contains the current billing-facing interface and backend support logic.

Typical files include:

  • index.html
  • pricing.js
  • payments.js
  • state.js
  • styles.css
  • i18n.js

It also includes the current backend API routes used for billing and entitlement flow.

pricing/api

Typical active files include:

  • create-payment.js
  • check-pro.js
  • wayforpay-webhook.js

Role

Its role is to support payment initiation, payment confirmation and access-state verification.

Current structural principle

The current repository structure reflects a practical system split:

  • product interaction is handled in Scriptwriter
  • billing interaction is handled in pricing
  • backend access and payment processing is handled through pricing API routes