jamestthompson3 / serverless-micropub-hugo

Vercel serverless function working as a micropub -> Hugo

Home Page:hugo-micropub-jamestthompson3.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provides a Vercel serverless function for micropub -> Hugo markdown

Getting Started

You can fork this repo and adjust the following settings in config.json:

  • ghUser --> your github username
  • sites --> the site specific configuration **NOTE: ** Your micropub endpoint will be available at /api/[site]. This means that if you take the configuration as is, the URL will be /api/main.

You also need to provide a personal access token as an environmental variable named GITHUB_TOKEN.

About

Vercel serverless function working as a micropub -> Hugo

hugo-micropub-jamestthompson3.vercel.app


Languages

Language:JavaScript 80.8%Language:HTML 19.2%