Clapping Hands Logo

applause.js

Last updated:

Applause is a fun little script that randomly highlights awesome sites, people, or projects — like a rotating applause board. It's simple, colorful, and designed to bring attention to things worth celebrating.

You can embed it into any page and it'll handle the rotation automatically based on the group you assign. Whether it's for community links, mutual love, or just showing support — it fits right in.

How it works

Include the script and it will randomly display one item from the configured list every time the page loads. By default it places itself at the bottom center of the page, or you can control placement with a placeholder element:

<div id="applause-placeholder"></div>
<script src="https://scripts.brebs.net/applause/applause.js" defer></script>

Optional parameters

<script src="https://scripts.brebs.net/applause/applause.js?group=main&width=90" defer></script>

Get the script

You can use the hosted version directly:

<script src="https://scripts.brebs.net/applause/applause.js" defer></script>

Self-hosting (if you like doing that)

If you'd like your own copy — say, to run your own list of sites — you can host the source anywhere that serves raw JavaScript.

One easy option is to use omg.lol's amazing service paste.lol.

  1. Copy or download the code of applause.js
  2. Edit the entries list to point at your own sites
  3. Create a new paste at paste.lol
  4. Name it something like applause.js
  5. Use the /raw version of the paste as your script source
<script src="https://ericmwalk.paste.lol/applause.js/raw" defer></script>
The /raw endpoint serves the JavaScript directly, so it can be used just like any other hosted script.

Change log

: This was just a quick concept to see if I could create something like what I used before, but hosted myself and usable across all my sites. Not that there was anything wrong with the other one, but it's fun to build little projects like this. This might be all it ever needs to be.