How to use Hypothesis as a user and developer
View and add annotations on any web page using the Hypothesis sidebar.
Links on the https://hypothes.is homepage.
https://hypothes.is/stream.rss?uri.parts=bbc
https://via.hypothes.is/<URL>
You can add Hypothesis to your own web pages.
<html>
<head>
<script>
window.hypothesisConfig = function () {
return { showHighlights : true };
};
</script>
<script defer src="https://hypothes.is/embed.js"></script>
</head>
</html>
Does not work on local files (with file:///
) URLs, you'll need
to serve the app with a simple web server
If you serve the same content from multiple pages, include a link to the main URL.
<link rel="canonical" href="http://yoursite.com/article.html">
Hypothesis has an API. Get public annotations for any web page:
curl https://hypothes.is/api/search?url=<URL>
Search for annotations:
curl https://hypothes.is/api/search?any=climate
More documentation at h.readthedocs.org
What else can you do with the API?