GithubHelp home page GithubHelp logo

lupsa / gozette Goto Github PK

View Code? Open in Web Editor NEW

This project forked from colelyman/gozette

0.0 0.0 0.0 21 KB

A Micropub server written in Go, primarily designed for static sites.

License: MIT License

Go 100.00%

gozette's Introduction

gozette

A Micropub server written in Go, primarily designed for static sites.

About

gozette was designed with static sites in mind (specifically sites generated using Hugo). However, in principle gozette can be extended to other static site generators. gozette can be run using AWS Lambda serverless functions.

This is still in alpha, but I am dogfooding gozette on my own site at colelyman.com.

How it works

A Micropub server accepts requests from Micropub clients that allow you to publish posts (and other types of content such as likes or reposts). When gozette receives a Micropub request, it first authenticates via IndieAuth, then if the user making the request is authorized a new file will be created and committed to the website’s repository. Once this commit is pushed to the repository, a new build is triggered and the new Micropub post is published.

This setup requires that the following environment variables are set:

REPOSITORY_URL
the repository where the site resides, e.g. Colelyman/colelyman-hugo (this assumes that the repository is on Github)
BRANCH
this is the branch of the site’s repository that should be updated, e.g. heads/master
GIT_API_TOKEN
a token generated to allow push access to the Github repository, generate one here

My Configuration

I have colelyman.com (source: Colelyman/colelyman-hugo) hosted on Netlify and gozette is running as an AWS Lambda function via Netlify.

gozette's People

Contributors

colelyman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.