Skip to content

jlord/micropub-endpoint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micropub endpoint

This is the source code for a micropub endpoint that can be hosted with Glitch. There it lives as a server to receive POST requests and then use the GitHub API to push changes to a GitHub Pages site (in particular a static site built with Jekyll).

  • Micropub is a standard format for publishing content yourself.
  • Glitch hosts Node.js web apps/servers for free.
  • GitHub pages hosts static sites or sites generated by Jekyll for free.

This endpoint in particular posts content to jlord/micropub-content.

Create your own micropub endpoint and Jekyll site in seconds!

Endpoint

Set your your own server on Glitch with this code:

  1. Create a hello-express project on Glitch.
  2. Import this repository.
  3. Edit .env with your info. (URL of the Jekyll site).
  • REPO=https://github.com/jlord/micropub-content

Jekyll site

To make a static site generated by Jekyll:

  1. Fork muan/micropub-content.
  2. Edit _config.yml with your info.

And you're done! The Jekyll site might take a minute to build. But then you can head to https://muan-micropub-client.glitch.me/ and log in with your Jekyll site URL to create your first post. There is even a feed.rss that you can use for micro.blog.

About

Receives requests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.2%
  • CSS 9.1%
  • HTML 5.7%