Skip to content

Releases

OpenAdKit v2.0.2

Choose a tag to compare

@github-actions github-actions released this 20 Nov 13:19
837a7e2

Install

Your computer What to do
Windows 10/11 Download OpenAdKit-Windows-Setup.exe below and run it. Or paste in PowerShell: powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/IamRamgarhia/OpenAdKit-Open-Source-AI-Marketing-Tool/main/install.ps1 | iex"
macOS (Apple silicon & Intel) Paste in Terminal: curl -fsSL https://raw.githubusercontent.com/IamRamgarhia/OpenAdKit-Open-Source-AI-Marketing-Tool/main/install.sh | bash
Linux Same line as macOS.

Windows may say "Windows protected your PC" because the installer is not code-signed yet: click More info → Run anyway.

Checksums are in SHA256SUMS.txt (both one-line installers verify them automatically).

What's new in OpenAdKit 2.0.2

2.0.2 fixes a packaging problem found while testing the 2.0.1 Windows
installer (it was missing the app build). 2.0.1 was never published, so this
release also includes everything below.

From 2.0.1

A quality release on top of 2.0: every one of the 30 AI tools was run end to
end through the MCP server, scored, and fixed where the prompt pushed a model
toward made-up or wrong output.

More honest output

  • Prompts no longer state unsourced statistics as fact, and only ask for social
    proof, data or named customers that your Brand Brain actually contains.
  • CTR, conversion rate, cost per click, cost per conversion, ad-fatigue decay
    and bid-strategy feasibility are now calculated by the app from your numbers
    instead of by the AI.
  • Enhanced CPC is no longer recommended (Google retired it for Search); bid and
    keyword tools share one set of thresholds.
  • Budget planner: break-even CPA can use your gross margin.

Fixes

  • MCP: the Shopping, TikTok Branded Hashtag Challenge and Hashtags tools lost
    their own brand / language fields to shared options. Shared options are
    now client and output_language (update any saved MCP calls).
  • Budget Waste now always runs its audit (with a warning when conversion
    tracking isn't confirmed) instead of returning an empty result.
  • X / Twitter generator rewritten: per-format specs, 280-character posts with
    links counted as 23, optional landing URL and audience location.
  • Platform rules corrected: Instagram's 5-hashtag cap, Display button length,
    YouTube 3-second hook, TikTok flagged as unavailable in India.
  • More platform character limits are checked automatically (Display, X,
    TikTok, Shopping, Campaign Kit, Quality Score headlines).
  • Adding a client by hand needs only the business name; email subject runs
    are filed under "email"; no landing-page flash for returning users.

Thanks to everyone testing the 2.0 builds.

v1.1.0 — Gemini streaming fix, provider comparison, honest quota data

Choose a tag to compare

@IamRamgarhia IamRamgarhia released this 31 Jul 22:15

Critical fixes

Gemini streaming had never worked. Google terminates SSE events with \r\n\r\n; all three stream parsers split on the literal "\n\n", which never matched — so no event was ever parsed and every Gemini generation returned empty text. The comment in the codebase describing this as "Gemini occasionally returns res.text empty" was this same bug, misdiagnosed as intermittent.

Two providers rejected valid API keys. Cerebras and OpenRouter each had a default_model and a testModel that had been decommissioned, so key verification 404'd against a model that no longer existed and told users their key was bad. All 9 provider catalogs were re-verified against first-party documentation; ~20 withdrawn model IDs now migrate on read, and npm run models:check validates the catalog against live provider APIs.

An invalid key could be reported as valid and saved. Verification classified purely on HTTP status, but Google returns 400 — not 401 — for a bad key, so a typo'd key showed "Key appears valid — saved". Classification now matches the provider's error text first.

The local sidecar was unreachable on most installs, silently disabling folder sync and degrading URL ingest. Anthropic costs were 3× too high (Opus 4.7 priced at $15/$75 against a real $5/$25). Importing a backup could white-screen History.

New — "Which AI should I use?" (/providers)

Free-tier caps, per-run cost and vision support for all 9 providers, plus a measured half computed from your own generation history: runs, spend, and how often each provider's first reply failed schema validation and had to be re-asked.

It ships no quality score, on purpose. There is no ground truth for ad copy, so a ranking would be invented. Retry rate is the honest proxy — it's observable, and it doubles what you pay.

What the real data says:

  • Groq — 14,400 free requests/day, no card. Nothing else is close for volume.
  • Gemini's free tier is per model and as low as ~20 requests/day on gemini-3.6-flash. The previous documentation claimed 1,500/day; a live 429 disproved it.
  • OpenRouter :free is 50/day and genuinely $0 per run.
  • Image input only works on Claude, GPT, Gemini and OpenRouter.

Also new

  • Monthly spend budget with an 80% warning and optional hard stop.
  • Per-run token and cost counter, including whether a schema-correction retry is folded into the figure.
  • Rate-limit transparency — the provider's verbatim message plus a retry countdown.
  • Brand brain version history (last 5 saves, restorable) and regenerate & compare across models.
  • Optional API-key encryption at rest (PBKDF2 + AES-GCM), off by default.

Verification

typecheck · lint · 402 unit assertions across 13 files · build · 60 browser tests · 4 live end-to-end generations against a real Gemini key, with cost math confirmed exact against the provider's own reported usage.

Full detail in CHANGELOG.md.

OpenAdKit v1.0.0

Choose a tag to compare

@IamRamgarhia IamRamgarhia released this 02 Jul 18:38

Changelog

All notable changes to AdForge are tracked here. Format loosely follows Keep a Changelog.

Unreleased

Added — generators

  • Google Performance Max asset generator (/generate/google-pmax)
  • Google Shopping listing optimizer (/generate/google-shopping)
  • TikTok Spark Ads creator brief (/generate/spark-ads)
  • Email subject-line generator (/generate/email-subjects)
  • Native Lead Form generator for Meta / LinkedIn / Google / TikTok (/generate/lead-form)

Added — optimization

  • Audience Targeting planner (three-tier cold/warm/hot, /optimize/audience)
  • Ad Budget Planner with daily-amount breakouts and break-even (/optimize/budget-planner)

Added — learn

  • Mini-course tracks with 28 pre-written lessons: Google (10), Meta (10), TikTok (8). Each lesson includes a "quick action" sidebar and an in-app practice prompt that links to a relevant generator (/learn/courses).

Added — history

  • Status tagging (draft / testing / live / paused / winner / loser)
  • Star favorites
  • Per-entry notes
  • Status + starred filter chips
  • Per-Brand-Brain JSON export/import via storage API

Added — onboarding

  • Multi-step setup wizard (5 steps): key + verify · model · experience level · primary platform · quick Brand Brain

Added — mobile

  • Mobile nav drawer (sidebar was desktop-only — now hamburger button on <768px)
  • Top-padding adjustment to clear the mobile menu button

Added — PWA

  • Service worker for offline app shell (Claude API calls always run live; never cached)
  • Service worker registers automatically in production builds only

Added — open source infra

  • GitHub Actions CI workflow (typecheck + build + lint on Node 18/20/22)
  • Issue templates: bug report + feature request (no blank issues)
  • PR template with scope/verification checklist
  • SECURITY.md with threat model + responsible disclosure flow
  • This CHANGELOG.md

Security — audit pass

  • Local sidecar CSRF: all state-changing requests (POST /snapshot, /update/apply, /quit, /web/*, /config) now reject cross-origin callers (403). The previous guard only reflected CORS headers and never blocked the side effect, so any open browser tab could wipe saved data or trigger git pull + npm install. Same-origin app/launcher calls and non-browser callers (no Origin header) are unaffected.
  • URL-ingest SSRF hardening (app/api/ingest/route.ts, sidecar /ingest, lib/server/url-helpers.ts): the private-host guard now strips IPv6 brackets and unwraps IPv4-mapped addresses ([::1], ::ffff:169.254.169.254 were bypassing it), and both fetch paths resolve the hostname via DNS and reject any private / loopback / link-local result on the initial URL and every redirect hop — closing decimal/hex IP encodings and DNS-rebinding. Added regression tests for the bracketed forms.
  • Self-hosted / Docker deployments now emit the security headers (X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, CSP frame-ancestors) via next.config.mjs, not just vercel.json.

Fixed — audit pass

  • Streaming: never save a blank generation — the generator now reads the accumulated buffer via useThrottledStream().getText() instead of a stale closure value (empty output on providers like Gemini that return an empty final text).
  • Streaming: surface mid-stream provider error events (OpenAI-compatible + Google) instead of silently returning truncated output; stream readers release their lock on error; tolerate data: frames with no trailing space.
  • OpenAI: gpt-5 / gpt-5-mini (and o-series) now send max_completion_tokens and omit temperature, which those models reject with HTTP 400.
  • JSON parsing: tryParseJson recovers top-level arrays wrapped in prose, not just objects.
  • Gemini: include thoughtsTokenCount in output tokens (cost was under-reported for 2.5 thinking models); send the API key via the x-goog-api-key header instead of the URL query string.
  • SEO: removed the root-layout blanket canonical: "/" that made every page a declared duplicate of the homepage (defeating sitemap.ts).
  • Cost display: fixed a hydration mismatch for non-USD users (formatCost renders USD on the server and first client paint, then converts).
  • Storage/state: usage counters guard against NaN; the daily quota resets on the UTC calendar day instead of a rolling 24h window; logPerformance writes atomically; backup/brain import raises a friendly error on malformed JSON instead of a raw parser exception.
  • Brand Brain: a null array field in a stored/imported brain no longer throws and breaks every generation for that brain.
  • Local sync: a sidecar started after page load is now detected (probe no longer caches a permanent "unavailable"); boot no longer double-registers listeners/intervals under React StrictMode.
  • Creative Score: schema accepts stringified scores / mixed-case tier / missing reason instead of rejecting valid model output; the Google RSA renderer no longer crashes on a headline missing text.
  • Brand extraction: a high-quality Organization logo is no longer clobbered by a tiny favicon; a non-array JSON-LD @graph no longer aborts extraction; industry-template matching uses word boundaries (a "coffee shop" no longer gets fashion-DTC defaults).
  • Launcher: .env.local writes preserve user keys (API keys, flags) instead of rewriting the file with only the two ports; npm run start:all no longer spawns a duplicate Next server; stop.sh / stop.bat kill the actual resolved ports instead of hardcoded 3005/3006; the GitHub setup script sends a valid topics payload.
  • UI/a11y: real focus management + Escape-to-close for the command palette and feature tour; fillEmptyWithAi is cancelable on unmount; undo toasts survive a failing undo and no longer drop queued toasts on a race; deleting a checked custom checklist item no longer pushes progress past 100%; inline code no longer double-escapes.
  • Docker: EXPOSE 3005 (the port the app binds), npm ci for reproducible builds, and a non-root USER.

0.1.0 — Initial public release

Added — foundation

  • BYOK Claude API direct from browser (anthropic-dangerous-direct-browser-access)
  • Models: Claude Opus 4.7, Sonnet 4.6, Haiku 4.5
  • Streaming with requestAnimationFrame-throttled rendering
  • IndexedDB storage via Dexie + localStorage for settings
  • Backup / restore / wipe in Settings

Added — generators

  • Google RSA (15 headlines + 4 descriptions + extensions + Quality Score tips)
  • Meta Feed / Stories / Reels / Carousel
  • TikTok Hooks (50/click) + UGC scripts
  • YouTube In-stream / Bumper / Discovery
  • LinkedIn Sponsored / Message / Dynamic / Text / Lead Gen
  • Twitter / X — 5 variants or thread
  • Display banners — every standard size + responsive assets
  • Full Campaign Kit — one brief, every platform

Added — optimize

  • CTR Optimizer (5-lever scored diagnosis + rewrites)
  • Quality Score Improver (3-factor diagnosis)
  • Budget Waste Analyzer (3 pulse metrics + 20-question audit)
  • A/B Test Planner (sample-sized, kill/winner rules)
  • Keyword Strategy Builder
  • Landing Page Grader (8 levers + exact-quote rewrites)
  • Bid Strategy Advisor (matched to conversion volume)
  • Ad Fatigue Detector

Added — routines

  • Daily / Weekly / Monthly checklists with persisted streaks and auto-reset per period

Added — learn (initial)

  • 25 concept entries with on-demand Claude explanations

Added — strategy + report

  • "What ad should I run?" strategy recommender
  • Campaign report generator (markdown, client-ready)

Added — UI

  • Hand-rolled "Trading Terminal × Editorial" dark UI
  • Persistent status bar (model / spend / tokens / live time)
  • Scope-prefixed page headers
  • Char-validation badges + animated saffron caret on live AI streaming
  • Manrope + JetBrains Mono + Instrument Serif via next/font/google

Added — open source

  • MIT license
  • README with 4 install paths (npm, Vercel, Docker, static export)
  • CONTRIBUTING.md with prompt-engineering conventions