Shock
This article is a stub. You can help the IndieWeb wiki by expanding it.
Shock is what Jacky Alciné uses to combine his use of Micropub and Webmention services. It uses Tera, a Jinja-like templating language in Rust for rendering themes. The project is still in an alpha state and is not ready for people not familiar with deploying Rust applications.
Features
Planned
- Rendering on multiple feed types
- AS2
- Atom (and RSS)
- Generating OPML representing all the site's feeds
- Provide better support for presenting photos, rsvp, edits, events, videos, audio, read-of posts, listen-of posts, gameplay, code snippets, purchases and collections
- in-browser editing of themes
- Swapping themes on-demand
- Guest sign-in using IndieAuth
- Implementing private posts support
- Search functionality
- Real-time updates from Micropub servers
- Freezing posts
- Template tag for generating Open Graph Protocol-friendly and Twitter metadata
- Custom data fetching using Lua scripts to render on the site
- Based on the
Host
header, switch the destination to serve - Shows Webmention and WebSub endpoint information on pages that enable it tracked at git.jacky.wtf]
- Add basis of groups tracked at git.jacky.wtf
- Expose the Tor address of a URI using
Onion-Location
in the headers and HTML, when available, tracked at git.jacky.wtf
Webmention and WebSub Endpoint Showing
Since Shock is a Micropub client, it has no insight into the details of one's Micropub design. The heuristic used to determine if a Webmention endpoint will be shown is as follows:
- if the resource does not have the property 'notifications', show the endpoint
- if it does have the property…
- if the value has the value 'webmention', show the WebSub endpoint to let people when it gets updated
- if the value has the value 'websub', show the WebSub endpoint to allow incoming Webmentions
NodeInfo Reporting
I'd like to emit NodeInfo information on my site to help non-IndieWeb entities understand what I use in a machine-friendly way. I'll aim to support the 2.1 version first, then work backwards.
Content Removal
Shock's built to conform to any Micropub server but it's optimized as a testing client of sorts for Koype. The UX and logic provided in Shock is modeled around Koype's approach for allowing people to remove their content from one's site.
See Also
- Lighthouse, the preferred Webmention, WebSub and Microsub server to use with Shock.
- Koype - the Micropub server Shock optimizes for.
- Lwa