Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
121 changes: 121 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: Build and deploy
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
env:
GO_VERSION: 1.25.1
HUGO_VERSION: 0.151.0
NODE_VERSION: 24.10.0
TZ: Europe/London
steps:
- name: Checkout
uses: actions/checkout@v5
with:
submodules: recursive
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Create directory for user-specific executable files
run: |
mkdir -p "${HOME}/.local"
- name: Install Hugo
run: |
curl -sLJO "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
mkdir "${HOME}/.local/hugo"
tar -C "${HOME}/.local/hugo" -xf "hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
rm "hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
echo "${HOME}/.local/hugo" >> "${GITHUB_PATH}"
- name: Verify installations
run: |
echo "Go: $(go version)"
echo "Hugo: $(hugo version)"
echo "Node.js: $(node --version)"
- name: Install Node.js dependencies
run: |
[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true
- name: Configure Git
run: |
git config core.quotepath false
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}
- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@v2
- name: Restore assets cache
id: cache-restore-assets
uses: actions/cache/restore@v4
with:
path: ./assets
key: assets-${{ github.run_id }}
restore-keys:
assets-
- name: Restore build cache
id: cache-restore-build
uses: actions/cache/restore@v4
with:
path: ${{ runner.temp }}/hugo_cache
key: hugo-${{ github.run_id }}
restore-keys:
hugo-
- name: Sync assets from GCS
run: gsutil -m rsync -r gs://makespace-photos assets
- name: Build the site
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/" \
--cacheDir "${{ runner.temp }}/hugo_cache"
- name: Save assets cache
id: cache-save-assets
uses: actions/cache/save@v4
with:
path: ${{ runner.temp }}/hugo_cache
key: ${{ steps.cache-restore-assets.outputs.cache-primary-key }}
- name: Save build cache
id: cache-save-build
uses: actions/cache/save@v4
with:
path: ./assets
key: ${{ steps.cache-restore-build.outputs.cache-primary-key }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.hugo_build.lock
/public/
/assets/
24 changes: 24 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# TODO
- Web share
- PR from members app

- Search

- Rename more to ? (help?)
- Footer info
- Mark external links more pretty
- lint / formatter
- More mobile styling

# TODONE
- More example content
- Deploy
- Github build
- Mark external links somehow
- Photos
- Image quilts of a bunch of pages
- Attach images to pages
- Where to store images
- Menu expand/hide


Binary file added assets/byte.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ date: "2024-02-02T04:14:54-08:00"
draft: false
title: Makespace
---

Cambridge's 24/7 365 Makespace
12 changes: 12 additions & 0 deletions content/makes/3d-printed-components.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: '3D Printed Components'
date: '2025-10-12T12:14:56+01:00'
draft: false
members:
- Riley P
params:
images:
- "15680933235.jpg"
---

Collection of bright green 3D printed parts including springs, discs, and connecting components laid out for assembly.
12 changes: 12 additions & 0 deletions content/makes/acrylic-laser-art.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: 'Acrylic Laser Art'
date: '2025-10-12T12:14:56+01:00'
draft: false
members:
- Morgan C
params:
images:
- "15496142500.jpg"
---

Orange acrylic sheet with intricate laser-etched design displayed alongside mechanical testing equipment in a workshop setting.
17 changes: 17 additions & 0 deletions content/makes/byte.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
date: "2024-03-10T16:45:00Z"
draft: false
members:
- Hector D
title: Byte
params:
images:
- "byte.png"
- "byte.png"
---

Something about byte.

{{< image name="byte.png" >}}


12 changes: 12 additions & 0 deletions content/makes/decorative-pendant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: 'Decorative Pendant'
date: '2025-10-12T12:14:56+01:00'
draft: false
members:
- Casey L
params:
images:
- "15679016131.jpg"
---

Elegant silver-chain necklace with ornate square pendant and circular mirror charm displayed in a presentation box.
12 changes: 12 additions & 0 deletions content/makes/digital-photo-frame.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: 'Digital Photo Frame'
date: '2025-10-12T12:14:56+01:00'
draft: false
members:
- Alex M
params:
images:
- "15682547822.jpg"
---

Yellow acrylic case housing a small LCD display showing cat photos, with a Raspberry Pi visible in the background.
12 changes: 12 additions & 0 deletions content/makes/illuminated-head.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: 'Illuminated Head'
date: '2025-10-12T12:14:56+01:00'
draft: false
members:
- Sam T
params:
images:
- "15680933885.jpg"
---

3D printed translucent head sculpture with internal red LED lighting and control buttons, creating an eerie interactive art piece.
12 changes: 12 additions & 0 deletions content/makes/kinetic-model-kits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: 'Kinetic Model Kits'
date: '2025-10-12T12:14:56+01:00'
draft: false
members:
- Taylor F
params:
images:
- "15496138500.jpg"
---

Wooden kinetic model featuring propellers and mechanical linkages alongside various laser-cut project pieces and electronic components.
12 changes: 12 additions & 0 deletions content/makes/laser-cut-wooden-projects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: 'Laser-Cut Wooden Projects'
date: '2025-10-12T12:14:56+01:00'
draft: false
members:
- Jordan K
params:
images:
- "15679020481.jpg"
---

Various laser-cut wooden pieces including puzzle boxes, decorative patterns, and interlocking components arranged on a workbench with Arduino projects nearby.
13 changes: 13 additions & 0 deletions content/makes/names.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: 'Names'
date: '2025-10-12T12:14:56+01:00'
draft: false
members:
- Rain R
params:
images:
- "8748039701.jpg"
- "8748041107.jpg"
---

Routed wood name plates.
6 changes: 2 additions & 4 deletions content/make/byte.md → content/makes/sad.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
date: "2024-03-10T16:45:00Z"
draft: false
title: sad
members:
- Hector D
title: Byte
---

Something about byte.

sad
File renamed without changes.
4 changes: 4 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ languageCode = "en-uk"
title = "Makespace"
theme = "makespace"

[caches]
[caches.images]
dir = ':cacheDir/images'

[taxonomies]
member = "members"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/_gen/images/byte_hu_6bb5b0f031b6f49.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 0 additions & 54 deletions themes/makespace/archetypes/case.md

This file was deleted.

7 changes: 7 additions & 0 deletions themes/makespace/archetypes/studies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: {{ replace .File.ContentBaseName "-" " " | title }}
date: {{ .Date }}
draft: false
---


Loading