Testing Indieweb Stack

A simple test page to see what parts of Indieweb actually works

Indieweb consists of the following building blocks:

  • Microformats 2
  • Webmentions

This allows one to Publish Own and Syndicate Somewhere Else (POSSE). I have logged in my progress in the Indieweb wiki.

Update: POSSE works

I managed to publish this post, semi-automatically by sending Bridgy a webmention as follows:

 curl -i -d source=https://fluid.quest/tesing-indieweb-stack.html -d target=https://brid.gy/publish/mastodon https://brid.gy/publish/webmention
HTTP/2 201 
content-type: application/json; charset=utf-8
cache-control: no-cache
access-control-allow-origin: *
content-security-policy: script-src https: localhost:8080 my.dev.com:8080 'unsafe-inline'; frame-ancestors 'self'; report-uri /csp-report;
strict-transport-security: max-age=16070400; preload
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
location: https://mastodon.acc.sunet.se/@ashwinvis/103920181819443082
x-cloud-trace-context: 89f23f15ae3916e5ae535cfe3d1b5152;o=1
date: Tue, 31 Mar 2020 23:08:54 GMT
server: Google Frontend
content-length: 3401

{
  "id":"103920181819443082",
  "created_at":"2020-03-31T23:08:53.759Z",
  ...
  • Ensure that accidental duplicate posts are avoided.
 curl -i -d source=https://fluid.quest/tesing-indieweb-stack.html -d target=https://brid.gy/publish/mastodon https://brid.gy/publish/webmention
HTTP/2 400 
content-type: application/json; charset=utf-8
cache-control: no-cache
access-control-allow-origin: *
content-security-policy: script-src https: localhost:8080 my.dev.com:8080 'unsafe-inline'; frame-ancestors 'self'; report-uri /csp-report;
strict-transport-security: max-age=16070400; preload
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-cloud-trace-context: 1691edd117aa780e68a530ff0f116824;o=1
date: Tue, 31 Mar 2020 23:09:55 GMT
server: Google Frontend
content-length: 3731

{
  "error":"Sorry, you've already published that page, and Bridgy Publish doesn't support updating existing posts. Details: https://github.com/snarfed/bridgy/issues/84",
  "original":{
    "id":"103920181819443082
    ...

End result

Next steps

To automate this process into CI?

Ashwin Vishnu Mohanan

About the author

Ashwin Vishnu Mohanan, Ph.D. in Fluid mechanics

Posted by on in Tech Talk. updated
#software

Comments from IndieWeb

Below you can find the interactions that this page has had using WebMention.

Have you written a response to this post? Let me know the URL:

Do you not have a website set up with WebMention capabilities? You can: