Codync
A free, open-source 1:1 alternative to Grok Bot and Muse. Message Claude Code, Codex, Cursor and 40+ coding agents as persistent bots from your iPhone, Mac or Linux desktop. Group chats, threads, appr
JavaScript SDK and guides to integrate VTEX Ads into your storefront.
Developer toolsTypeScript · JavaScriptGitHub @vtexOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Ads JavaScript SDK
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗This repository is a monorepo powered by pnpm and contains two public npm packages:
| Package | Description |
|---|---|
@vtex/ads-core | Framework-agnostic SDK to fetch sponsored products from the VTEX Ad Network. |
@vtex/ads-react | Thin React layer (Provider + hook) on top of ads-core for an ergonomic DX. |
# pick your favourite package manager
pnpm add @vtex/ads-core # core only
pnpm add @vtex/ads-react # React hooks
Both packages are shipped as ES Modules and include TypeScript declarations out of the box.
import { getAds } from "@vtex/ads-core";
const ads = await getAds({
account: "fashion",
region: "aws-us-east-1",
// see types for all available parameters
});
console.log(ads.byPlacement.homepage);
import { AdsProvider, useAds } from "@vtex/ads-react";
export function App() {
return (
<AdsProvider account="fashion" region="aws-us-east-1">
<HomePage />
</AdsProvider>
);
}
function HomePage() {
const { ads, isLoading } = useAds({ placement: "homepage" });
if (isLoading) return <p>Loading…</p>;
return <pre>{JSON.stringify(ads, null, 2)}</pre>;
}
Comprehensive guides & API reference at https://vtex.github.io/ads-js/docs.
Spin up the playground locally with pnpm playground:dev or try it online
at https://vtex.github.io/ads-js/.
Want to run the project locally, contribute a change or publish a release? See CONTRIBUTING.md.