Skip to content

Commit 8c7107a

Browse files
conflicts
2 parents 477ca38 + d7f5e90 commit 8c7107a

File tree

417 files changed

+60567
-34247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

417 files changed

+60567
-34247
lines changed

.cursor/rules/environment-structure.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ It's a static website built on Gatsby and hosted with Vercel.
1212

1313
## Resources and servers
1414

15-
- Use yarn instead of npm
16-
- Run the app with `yarn start`. To make sure everything is fresh, run `yarn clean && yarn && yarn start`.
15+
- Use pnpm instead of npm
16+
- Run the app with `pnpm start`. To make sure everything is fresh, run `pnpm clean && pnpm && pnpm start`.
1717
- The site runs on port `8001`. If you need to test something, check if it's already running on that port – no need to spin up a new server if so.
1818
- Sometimes the project is run inside a parent folder so a VS Code Workspace can include the squeak-strapi repo in another subfolder. Always verify your directory when searching for files or trying to run commands.
1919

.github/workflows/hogfm-weekly.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: HogFM Weekly
2+
permissions:
3+
contents: read
4+
on:
5+
schedule:
6+
- cron: '0 6 * * 1' # monday 6am utc (so its ready by monday 9am utc)
7+
workflow_dispatch:
8+
9+
jobs:
10+
run-script:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v6
17+
- name: Set up Python
18+
run: uv python install
19+
working-directory: scripts/hogfm
20+
- name: Sync deps
21+
run: uv sync --locked --all-extras --dev
22+
working-directory: scripts/hogfm
23+
- name: Run python script
24+
run: yes # TODO uv run <filename>
25+
working-directory: scripts/hogfm
26+
env:
27+
SAMPLE: sample

.github/workflows/hogfm.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: HogFM
2+
permissions:
3+
contents: read
4+
on:
5+
push:
6+
branches:
7+
- master
8+
paths:
9+
- 'contents/handbook/**'
10+
workflow_dispatch:
11+
jobs:
12+
run-script:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
- name: Install uv
18+
uses: astral-sh/setup-uv@v6
19+
- name: Set up Python
20+
run: uv python install
21+
working-directory: scripts/hogfm
22+
- name: Sync deps
23+
run: uv sync --locked --all-extras --dev
24+
working-directory: scripts/hogfm
25+
- name: Run python script
26+
run: yes # TODO uv run <filename>
27+
working-directory: scripts/hogfm
28+
env:
29+
SAMPLE: sample

.github/workflows/internal-links-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
uses: actions/setup-node@v4
3333
with:
3434
node-version: '22'
35-
cache: 'yarn'
35+
cache: 'pnpm'
3636

3737
- name: Install dependencies
38-
run: yarn install --frozen-lockfile
38+
run: pnpm install --frozen-lockfile
3939

4040
- name: Build site
41-
run: yarn build
41+
run: pnpm build
4242

4343
- name: Check links (console only)
4444
if: ${{ github.event_name == 'workflow_dispatch' && inputs.save_results == false }}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Markdown Lint
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '**.md'
7+
- '**.mdx'
8+
- '.markdownlint-cli2.jsonc'
9+
- '.github/workflows/markdown-lint.yml'
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
markdownlint:
16+
name: Lint Markdown Files
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v4
22+
23+
- name: Run markdownlint-cli2
24+
uses: DavidAnson/markdownlint-cli2-action@v21
25+
with:
26+
globs: '**/*.{md,mdx}'
27+
config: '.markdownlint-cli2.jsonc'

.github/workflows/podcast-sync.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Sync Podcast to Podbean
2+
3+
on:
4+
# # Run on schedule (daily at 6 AM UTC)
5+
# schedule:
6+
# - cron: '0 6 * * *'
7+
8+
# Allow manual trigger
9+
workflow_dispatch:
10+
inputs:
11+
dry_run:
12+
description: 'Dry run (show what would be synced without uploading)'
13+
required: false
14+
default: 'false'
15+
type: choice
16+
options:
17+
- 'true'
18+
- 'false'
19+
status:
20+
description: 'Status for new episodes'
21+
required: false
22+
default: 'draft'
23+
type: choice
24+
options:
25+
- draft
26+
- publish
27+
28+
jobs:
29+
sync:
30+
name: Sync S3 to Podbean
31+
runs-on: ubuntu-latest
32+
33+
steps:
34+
- name: Checkout repository
35+
uses: actions/checkout@v4
36+
37+
- name: Install uv
38+
uses: astral-sh/setup-uv@v4
39+
40+
- name: Set up Python
41+
run: uv python install 3.12
42+
43+
- name: Install dependencies
44+
run: |
45+
cd scripts/hogfm
46+
uv sync
47+
48+
- name: Sync podcasts to Podbean
49+
env:
50+
AWS_ACCESS_KEY_ID: ${{ secrets.PODCAST_AWS_ACCESS_KEY_ID }}
51+
AWS_SECRET_ACCESS_KEY: ${{ secrets.PODCAST_AWS_SECRET_ACCESS_KEY }}
52+
AWS_REGION: ${{ secrets.PODCAST_AWS_REGION || 'us-east-1' }}
53+
PODBEAN_CLIENT_ID: ${{ secrets.PODBEAN_CLIENT_ID }}
54+
PODBEAN_CLIENT_SECRET: ${{ secrets.PODBEAN_CLIENT_SECRET }}
55+
run: |
56+
cd scripts/hogfm
57+
58+
# Determine arguments based on inputs
59+
ARGS=""
60+
61+
if [ "${{ github.event.inputs.dry_run }}" = "true" ]; then
62+
ARGS="$ARGS --dry-run"
63+
fi
64+
65+
if [ -n "${{ github.event.inputs.status }}" ]; then
66+
ARGS="$ARGS --status ${{ github.event.inputs.status }}"
67+
else
68+
ARGS="$ARGS --status draft"
69+
fi
70+
71+
uv run python sync_s3_to_podbean.py $ARGS

.gitignore

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
# Project dependencies
22
.cache
33
node_modules
4-
yarn-error.log
54
.pnp.*
6-
.yarn/*
7-
!.yarn/patches
8-
!.yarn/plugins
9-
!.yarn/releases
10-
!.yarn/sdks
11-
!.yarn/versions
125

136
# Build directory
147
/public
@@ -27,11 +20,17 @@ static/fonts/MatterSQItalicVF.woff2
2720
static/fonts/MatterSQVF.woff
2821
static/fonts/MatterSQVF.woff2
2922
static/scripts/posthog-init.js
30-
yarn.lock
3123
.vercel
3224
.env
3325
*Type.ts
3426
.env.development
27+
.env.*.local
3528

3629
# Generated data files
3730
src/data/mcp-tools.json
31+
32+
# Python cache
33+
__pycache__
34+
*.pyc
35+
*.pyo
36+

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm lint-staged

.markdownlint-cli2.jsonc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"gitignore": true,
3+
"config": {
4+
"MD001": false,
5+
"MD004": false,
6+
"MD005": false,
7+
"MD007": false,
8+
"MD009": false,
9+
"MD010": false,
10+
"MD012": false,
11+
"MD013": false,
12+
"MD019": false,
13+
"MD022": false,
14+
"MD023": false,
15+
"MD024": false,
16+
"MD025": false,
17+
"MD026": false,
18+
"MD027": false,
19+
"MD028": false,
20+
"MD029": false,
21+
"MD030": false,
22+
"MD031": false,
23+
"MD032": false,
24+
"MD033": false,
25+
"MD034": false,
26+
"MD036": false,
27+
"MD040": false,
28+
"MD041": false,
29+
"MD045": false,
30+
"MD046": false,
31+
"MD047": false,
32+
"MD049": false,
33+
"MD050": false,
34+
"MD051": false,
35+
"MD052": false,
36+
"MD053": false,
37+
"MD055": false,
38+
"MD058": false,
39+
"MD060": false
40+
},
41+
"ignores": [
42+
"**/fixtures/**"
43+
]
44+
}

.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)