Skip to content

ANUKA Widget

The ANUKA widget connects any project site to the ANUKA network. A footer button with rotating calls-to-action opens a popup where visitors share ideas, vote on features, and participate in project decisions.

Add one script tag, then drop the button in your footer:

<script src="https://docs.anuka.pro/anuka-widget.js"></script>
<anuka-widget-button project="my-project"></anuka-widget-button>
ComponentDescription
<anuka-widget-button>Footer button: ANUKA wordmark + rotating CTAs (Powered by Network State OS, Vote for new project features, …)
<anuka-widget-popup>Full ideas popup: ideas list, voting, proposal form
AttributeValuesDefault
projectProject slug for popup context—
langen, ruen
  • Desktop: button 250px fixed width; popup centered modal.
  • Mobile: button full width; popup full-screen.
  • CTA rotation: label + icon change every ~3 seconds.
  • No dependencies: vanilla web components, shadow DOM, zero build step.

GitLab: anuka.pro/anuka-widget

  • Button web component (approved design)
  • Popup design: ideas feed, voting, proposal form
  • Backend: ideas API, votes, moderation
  • Analytics: impressions, opens, conversions
  • Widget script: https://docs.anuka.pro/anuka-widget.js — every ANUKA surface loads it from this domain; releases are central, no per-site redeploys.
  • OAuth redirect URI of the «ANUKA Widget» client: https://docs.anuka.pro/widget-auth-callback.html — the authorization code returns to the widget popup via postMessage. This path is registered and must stay stable.