Profile
Back to NewsBack
GitHub Trending 2 min
Reader Mode
adobe/alloy: Alloy is the web SDK for the Adobe Experience Platform.

adobe/alloy: Alloy is the web SDK for the Adobe Experience Platform.

7 hours ago

!Alloy Main Branch | Konductor Prod !alloy !alloy

Alloy

Alloy is the code name for the Adobe Experience Platform Web SDK. It allows for recording events into Adobe Experience Platform, syncing identities, personalizing content, and more.

For documentation on how to use Alloy, please see the user documentation.

Organization

This repo contains multiple projects. Each one is in a subdirectory and has its own package.json file.

  • sandboxes/ - Contains sample projects that demonstrate how to use Alloy in different scenarios.
- browser/ - @adobe/alloy-sandbox-browser - the web browser sandbox - core/ - @adobe/alloy-core - Contains the core "business logic" for interacting with the Adobe Experience Platform Edge Network.

Development

Run pnpm dev from the repository root to build required artifacts through dependency-ordered dev:prepare scripts, then start all workspace dev scripts in parallel: the browser SDK build watcher, browser sandbox, and reactor extension development environment. Packages without the relevant script are skipped. The browser sandbox uses http://localhost:3001, leaving ports 3000 (HTTP) and 4000 (HTTPS) for the reactor extension sandbox.

Run pnpm dev:browser to start only the browser sandbox and its dependencies' development processes. The sandbox runs at http://localhost:3000 and consumes workspace source directly; the SDK watcher also keeps distribution files current.

The Node sandbox contains one-shot examples rather than a development server, so it is not started by these commands.

Contribution

Check out the contribution guidelines for quick start information, and head over to the developer documentation to understand the architecture and structure of the library.

Chat with me