luanti-org / luanti-org/luanti-org.github.io

Replace Open Collective sponsors with build-time data + webhook

Open
#386 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

@content @Javascript enhancement
Dominant language
SCSS
Stars
141
Forks
82
PR merge metrics
No merged PRs in 30d

Description

We can replace the blog iframe with an eleventy _data JS file ( https://www.11ty.dev/docs/data-js/ ) to fetch the sponsors. Website rebuilds would need to be triggered by the Open Collective webhooks.

The opencollective.js could straight up be moved to _data - it would need to be modified to remove the HTML generation and just export the members. The members could then be added to the liquid template

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with opencollective.js and the Eleventy _data JS documentation to understand the current sponsor fetch and HTML generation. Then inspect the Liquid template and the site's webhook or rebuild configuration. Done means sponsors are supplied as build-time data, the iframe is removed, and Open Collective changes trigger a website rebuild.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.