All Projects → joshdick → microstat

joshdick / microstat

Licence: MIT license
A self-hosted Micropub endpoint for statically-generated microblogs. 📝⚡️

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to microstat

transformative
IndieWeb personal website software.
Stars: ✭ 47 (-9.62%)
Mutual labels:  micropub, indieweb, microblog
microblog
A very simple PHP app that stores twitter-like status updates in a sqlite database.
Stars: ✭ 30 (-42.31%)
Mutual labels:  indieweb, microblog
sweetroll2
A powerful micro/blogging engine with IndieWeb features (abandoned)
Stars: ✭ 27 (-48.08%)
Mutual labels:  micropub, indieweb
indigenous-ios
An IndieWeb app with extensions for sharing information to micropub endpoints and reading from microsub endpoints
Stars: ✭ 41 (-21.15%)
Mutual labels:  micropub, indieweb
app-old
A Micropub client in pre-production for the IndieWeb.
Stars: ✭ 32 (-38.46%)
Mutual labels:  micropub, indieweb
micropub-endpoint
Receives requests.
Stars: ✭ 23 (-55.77%)
Mutual labels:  micropub, indieweb
entries.pub
WIP IndieWeb blog engine
Stars: ✭ 13 (-75%)
Mutual labels:  micropub, indieweb
neofeed-theme
A personal feed for Neocities, GitHub Pages, or anywhere else, built with Hugo. #IndieWeb friendly and all yours. It's better than Twitter.
Stars: ✭ 62 (+19.23%)
Mutual labels:  indieweb, static-site
indigenous-android
An open social app with support for IndieWeb, Mastodon, Pleroma and Pixelfed.
Stars: ✭ 89 (+71.15%)
Mutual labels:  micropub, indieweb
microlight
A fully IndieWeb-compatible PHP blogging engine
Stars: ✭ 35 (-32.69%)
Mutual labels:  micropub, indieweb
Aperture
Aperture is a Microsub server. Currently in beta.
Stars: ✭ 62 (+19.23%)
Mutual labels:  indieweb
IndieNews
📰 News aggregator for IndieWeb-related posts
Stars: ✭ 32 (-38.46%)
Mutual labels:  indieweb
paulrobertlloyd-v4
My personal website. There are many like it, but this is mine.
Stars: ✭ 78 (+50%)
Mutual labels:  indieweb
smix-eleventy-starter
A standards-respecting starter kit for Eleventy. Go Indie.
Stars: ✭ 108 (+107.69%)
Mutual labels:  indieweb
indieweb-guides
Source code for IndieWeb Guides
Stars: ✭ 15 (-71.15%)
Mutual labels:  indieweb
nefelibata
A weblog engine focusing on data ownership and persistence
Stars: ✭ 25 (-51.92%)
Mutual labels:  indieweb
alexcarpenter-11ty
📝 Source files for my personal website built with Eleventy and hosted with Netlify.
Stars: ✭ 89 (+71.15%)
Mutual labels:  indieweb
shpub
command line micropub client
Stars: ✭ 20 (-61.54%)
Mutual labels:  indieweb
node-webmention-testpinger
A tool to ping your site with a variety of real world WebMentions
Stars: ✭ 28 (-46.15%)
Mutual labels:  indieweb
cherrypick
🌎 A interplanetary communication platform 🚀
Stars: ✭ 40 (-23.08%)
Mutual labels:  microblog

microstat

A self-hosted Micropub endpoint for statically-generated microblogs. 📝⚡️

What Is This Thing?

microstat lets you publish Markdown posts to a statically-generated microblog via Micropub, with automatically-sent Webmentions and integration with the micro.blog service.

This enables you to post to your static microblog entirely using the web (for example, using a web-based Micropub client like Quill).

Here's how it works:

  • A running microstat server acts as a Micropub endpoint
  • When it receives a Micropub post, it writes a Markdown file to a location you configure
  • Once the Markdown file is written, it runs a command you configure (that would trigger something like Jekyll or Hugo to build and publish your microblog)
  • Once your microblog is updated, it sends a Webmention if your post is a reply to someone else's post
    • Will attempt to automatically discover the Webmention endpoint, or will use micro.blog's Webmention endpoint if you're replying to a micro.blog post
  • If you use micro.blog, optionally ping micro.blog with your microblog's RSS/Atom/JSON feed so your posts are instantly mirrored there

Get Going

microstat requires Node.js v12 or newer. Once you've installed Node.js:

$ git clone https://github.com/joshdick/microstat.git
$ cd microstat
$ npm install
$ cp config/dist.js config/local.js
# Edit `config/local.js` and change the values to fit your site as described by the comments above each value
$ npm start

You can manage and start microstat as a systemd service or using a tool like nodemon.

Note that microstat doesn't need to run on the same port, or even the same server, as your microblog. You could directly advertise your microstat server as your site's Micropub endpoint, or you can advertise a proxy to it.

Here's how I proxy to microstat on my microblog:

  1. Advertise my site's Micropub endpoint by including the following in its HTML:
<link rel="micropub" href="https://joshdick.net/micropub" />
  1. Configure nginx to proxy requests sent to the advertised Micropub endpoint to a microstat server that's running on an entirely different machine/port (at https://example.com:3141):
location /micropub {
	proxy_pass https://example.com:3141;
}

Contributing

Issues and pull requests are welcome! 🙂

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].