Skip to content

eclecticpassions/indiekit-hugo

Repository files navigation

Indiekit server for https://burgeonlab.com

Learn more at https://getindiekit.com

Repository Setup

Primary source: https://codeberg.org/burgeonlab/indiekit-hugo

Mirror: https://github.com/eclecticpassions/indiekit-hugo

To run Indiekit on Render.com, a GitHub repo is required (no Gitea support yet on Render, #3671). Therefore, a mirror is set up from Codeberg. All changes originate from the primary source.

Installed Plugins

  • @indiekit/preset-hugo
  • @indiekit/store-gitea
  • @indiekit/store-s3
  • @indiekit/syndicator-mastodon

Notes on Setup

Services Used

  • Render used to host the serverless Indiekit (Node.js app) app (free tier)
    • MongoDB is semi-required by Indiekit for full functionality (free-tier)
    • Cron-job can be used to prevent server spinning down, but is not advised
  • S3-compatible bucket (object storage) as my media store (via @indiekit/store-s3)
  • Hosted Git Repo as my content store (via @indiekit/store-gitea)
    • Indiekit supports a variety of Git hosts: GitHub, Gitea/Forgejo, Bitbucket, and GitLab
    • Your content store doesn't have to be separated like me. It could go into the a single S3 bucket or via FTP, file system options

Configuation Notes

  • Separate stores:
    • Media store — S3 object bucket
    • Content store — Gitea repo (Codeberg)
  • Media served via Bunny CDN1
    • Origin: S3 bucket
    • Edge rule: "override origin url"
    • Workflow: Hugo front matter (Indiekit image link) -> Bunny CDN link -> S3 bucket link -> 🖼️

Contributions

To-Do

Bugs

  • Date field is not displayed fully (blocked by the calendar icon)
  • Blinking/typing cursor doesn't show when typing in dark mode

Footnotes

  1. This is an affiliate link. I'm a big fan of Bunny.net, I use Bunny Storage for all my static hosting needs and Bunny CDN to great effect. I've written about them on my blog if you're interested in trying them with your static website or migrating from GitHub Pages.

About

Incorporating IndieWeb features into my Hugo blog using IndieKit, a Micropub Node.js server. (This is a mirror repository from Codeberg.)

Topics

Resources

License

Stars

Watchers

Forks

Contributors