Website tools

ChefNet widgets

Bring ChefNet to your own website: a restaurant's verified rating, or a public post, and nothing that is not public already.

Verified rating

Show your current aggregate ChefNet rating without exposing guests, receipts or review text. Add an empty mount and the script before the closing body tag.

<div id="chefnet-rating"></div>
<script src="https://chefnet.app/widgets/rating.js"
  data-restaurant-id="YOUR_RESTAURANT_UUID"
  data-mount="chefnet-rating" defer></script>

The widget links to the public rating methodology and fetches only aggregate data from ChefNet.

Public post

Show a public ChefNet post on your page. In the ChefNet app, open the post's share menu and choose Embed on a website to copy the code, or write it yourself with the post's ID:

<blockquote class="chefnet-post" data-chefnet-post="POST_UUID"><a href="https://chefnet.app/app/social/comments/POST_UUID">Post on ChefNet</a></blockquote>
<script async src="https://chefnet.app/widgets/post.js"></script>

Without JavaScript the quote stays a plain link to the post. With it, the script turns each quote into a card showing:

  • the author's name and @handle, linked to their ChefNet profile;
  • the text with its line breaks, and a link to read the rest on ChefNet when it is long;
  • a note when the post has photos, a poll or quotes another post, and the website its link points to;
  • reactions, comments and the date, in your visitor's language: English, German, Turkish, Thai, Russian, Polish or Ukrainian.

The card fits any column up to 550px wide and follows your visitor's light or dark setting; add data-theme="light" or data-theme="dark" to the quote to fix one. One script serves every post on the page.

Privacy. Only public posts can be embedded: written for everyone by a member with a public profile. When a post is removed, hidden or no longer public, embeds stop showing it within a minute and say calmly that it is not available. The script sets no cookies, stores nothing in the browser and contains no trackers; it loads only the post and its author's profile picture.

Commercial relationships ยท Rating methodology