Microcosm
Microcosm is a tiny lightweight micropub endpoint written in Python to support my website Brainstorm.
Intro to Microcosm
Warning: This page is very much a work in progress
Microcosm is a tiny and lightweight micropub server written in python to support a static site powered by Hugo
It works by accepting micropub payloads and storing them in a Git repository that backs a hugo site. A CI pipeline can then be used to update the live site.
Currently Microcosm supports Gitea API but the intention is that it should support other Git providers (or possibly other VCS systems).
Features
- Authentication via IndieAuth protocol and public Token Endpoints
- Micropub publication that is compliant with micropub.rocks test suite
IndieWeb post types supported
- Like
- Bookmark
- Reply
- Note
- Article
- Repost
- Watch
- Listen
- Read
- RSVP
Planning
- Move configuration out into yaml file - the mishmash of environment variables is pretty gross
- Add an FTP option for photo upload
- Add simple UI for obtaining a token