All Projects → muan → micropub-endpoint

muan / micropub-endpoint

Licence: MIT license
Receives requests.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to micropub-endpoint

sweetroll2
A powerful micro/blogging engine with IndieWeb features (abandoned)
Stars: ✭ 27 (+17.39%)
Mutual labels:  micropub, indieweb
indigenous-ios
An IndieWeb app with extensions for sharing information to micropub endpoints and reading from microsub endpoints
Stars: ✭ 41 (+78.26%)
Mutual labels:  micropub, indieweb
transformative
IndieWeb personal website software.
Stars: ✭ 47 (+104.35%)
Mutual labels:  micropub, indieweb
entries.pub
WIP IndieWeb blog engine
Stars: ✭ 13 (-43.48%)
Mutual labels:  micropub, indieweb
microstat
A self-hosted Micropub endpoint for statically-generated microblogs. 📝⚡️
Stars: ✭ 52 (+126.09%)
Mutual labels:  micropub, indieweb
app-old
A Micropub client in pre-production for the IndieWeb.
Stars: ✭ 32 (+39.13%)
Mutual labels:  micropub, indieweb
indigenous-android
An open social app with support for IndieWeb, Mastodon, Pleroma and Pixelfed.
Stars: ✭ 89 (+286.96%)
Mutual labels:  micropub, indieweb
microlight
A fully IndieWeb-compatible PHP blogging engine
Stars: ✭ 35 (+52.17%)
Mutual labels:  micropub, indieweb
glitchub
A step by step guide on how to keep a Glitch project in sync with a GitHub repo
Stars: ✭ 31 (+34.78%)
Mutual labels:  glitch
glitch-studio
data bending & glitch tools
Stars: ✭ 66 (+186.96%)
Mutual labels:  glitch
indieweb-post-kinds
adds support for responding to and interacting with other sites using the standards developed by the Indieweb Community
Stars: ✭ 39 (+69.57%)
Mutual labels:  indieweb
indieweb-components
VanillaJS-based Web Components for the IndieWeb
Stars: ✭ 13 (-43.48%)
Mutual labels:  indieweb
glitched-writer
Glitched, text writing js module. Highly customizable settings. Decoding, decrypting, scrambling, or simply spelling out text.
Stars: ✭ 51 (+121.74%)
Mutual labels:  glitch
uptimer
Uptimer is an open-source project, and a free discord bot that allows you to make your projects online 24/7 just by using a single cmd.
Stars: ✭ 21 (-8.7%)
Mutual labels:  glitch
Nautilus
Turn your website into an ActivityPub profile
Stars: ✭ 55 (+139.13%)
Mutual labels:  indieweb
temporalis
Slit-scan webcam with canvas
Stars: ✭ 105 (+356.52%)
Mutual labels:  glitch
iw26
IW26 is an Indieweb Fork of WordPress Twenty Sixteen Theme
Stars: ✭ 25 (+8.7%)
Mutual labels:  indieweb
indieweb-guides
Source code for IndieWeb Guides
Stars: ✭ 15 (-34.78%)
Mutual labels:  indieweb
syndication-links
Add and Display Syndication Links
Stars: ✭ 26 (+13.04%)
Mutual labels:  indieweb
glitch
An image glitcher in golang
Stars: ✭ 12 (-47.83%)
Mutual labels:  glitch

Micropub endpoint

Used by muan/micropub-content.

Use

1. Micropub server

Deploy

This server will attempt to create content for a Jekyll site.

2. Jekyll site

To create a Jekyll site from a template:

  1. Fork muan/micropub-content.

  2. Edit _config.yml with your info.

  • micropub_endpoint: URL of the Heroku app you just deployed, likely https://[app-name].herokuapp.com.
  • url: GitHub pages URL of the repository you just forked, likely https://[github-username].github.io/micropub-content.

The Jekyll site might take a minute to build. Once it's built, you can head to https://micropub-client.herokuapp.com/ and log in with your site URL to create your first post. It comes with a feed.rss that you can use for micro.blog.


Details

To publish a post through this implementation of Micropub flow, it requires the following:

  1. GitHub as the authentication provider.
  2. GitHub and its API for interacting with the repository for your blog content.
  3. Micropub endpoint[template] that handles sending a request to GitHub.
  4. Micropub client[template] [hosted] that handles authenticating and sending a request to the endpoint. There are many other Micropub clients that follow the same spec and can be used here. For example, Quill.
  5. IndieAuth for GitHub for handling authentication requests between GitHub and Micropub client.
  6. Micropub content[template] [demo], in this case, your GitHub Pages site.

Out of these 6 items, you would create just 2: the Mircopub endpoint, so that you can customize where the post is created and how it is created, and Mircopub content, so that you can customize how the GitHub Pages site looks.

Flow:

  1. User (you) visits Micropub client and log in with your website. In this example, it should be the Micropub content Pages site. But it can be a different website as long as it has these lines.
  2. Micropub client sends a GET request to your website to retrieve your preferred auth endpoints.
  3. Micropub client redirects you to that endpoint, in this case IndieAuth for GitHub, which is a service hosted on Heroku whose sole purpose is to talk to GitHub API and create an access token.
  4. Once an access token is obtained, Micropub client presents you with text areas for you to create your blog post with.
  5. When you submit the post content, Micropub client sends the payload to Micropub endpoint.
  6. Micropub endpoint uses sends a request to GitHub with this payload, and create a file in the repository you set in app.json.
  7. GitHub receives the request and creates a file.
  8. GitHub Pages service rebuild your Jekyll site.
  9. Your new post is live.
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].