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.
Installation
Section titled “Installation”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>Components
Section titled “Components”| Component | Description |
|---|---|
<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 |
Attributes
Section titled “Attributes”| Attribute | Values | Default |
|---|---|---|
project | Project slug for popup context | — |
lang | en, ru | en |
Behavior
Section titled “Behavior”- 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.
Source
Section titled “Source”GitLab: anuka.pro/anuka-widget
Roadmap
Section titled “Roadmap”- Button web component (approved design)
- Popup design: ideas feed, voting, proposal form
- Backend: ideas API, votes, moderation
- Analytics: impressions, opens, conversions
Hosting (canonical)
Section titled “Hosting (canonical)”- 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 viapostMessage. This path is registered and must stay stable.