webmemex.js

From IndieWeb


webmemex.js is a script that creates two web components you can use for showing cards that represent incoming links (via Webmention) and outgoing links on a web page.

How it Works

webmemex.js creates two web components that you can include on a web page:

  • <incoming-links></incoming-links>: List all of the webmentions you have received. This code works with a webmention.io endpoint (or any other webmention endpoint that returns data in the same format).
  • <outgoing-links></outgoing-links>: Show information cards about all of the outgoing links on a web page.

IndieWeb Examples

capjamesg

capjamesg runs webmemex.js on his personal website at jamesg.blog. You can trigger the tool on any article by clicking the "Toggle Memex Mode" link in the introduction to a blog post.

See Also