share to boy

how to add share button for your project

Intent link

https://cloub.ing/share?url=ENCODED_URL&title=TITLE&text=TEXT

# auto-post then open the home feed
https://cloub.ing/share?url=ENCODED_URL&go=1

Next to Telegram / Instagram style buttons

<a href="https://cloub.ing/share?url=ENCODED_URL&title=TITLE"
   target="_blank" rel="noopener">
  <img src="https://cloub.ing/share/icon.svg" width="24" height="24" alt="cloub" />
</a>

Embed script

<script src="https://cloub.ing/share/embed.js"
  data-label="Share"
  data-mode="intent"
  async></script>

API (no auth)

POST https://cloub.ing/api/share/
Content-Type: application/json

{ "url": "https://example.com", "title": "Hello", "source": "my-app" }

Response includes home — open that URL to see it on the public feed. Phone share sheets can also send here via the site’s Web Share Target manifest.