385045
results for ""a""
-
But yeah, a git precommit hook is imo not a good solution. GitHub actions *could* work but if the Cloudflare deployment fails and the action does not I've sent out invalid webmentions which is not great. So the yarn step is the only reliable way to handle it.
autumnlilybug
at
2025-12-22 05:07
-
ulhar4409[d]: For my site, if I commit to the remote repo Cloudflare automatically rebuilds and redeploys from that commit. Adding a new post just means writing an MD(X) file in the correct directory, commit+push, then wait until it redeploys. The only hooks available are git precommit hooks, GitHub actions and the custom `yarn cibuild` action run by the Cloudflare deployment process
autumnlilybug
at
2025-12-22 05:03
-
URL is probably a reasonable ID as far as the state data goes
ulhar4409
at
2025-12-22 05:03
-
Then, at least for my setup, it has to read every post and look at the frontmatter (yaml block at the start of the markdown encased in ---). If that post's ID is in the list, skip. Otherwise, if it is marked as published, figure out it's URL and send a webmention to every link in the post (involves discovering endpoints for various hosts - could be cached??), then add to the list
autumnlilybug
at
2025-12-22 05:01
-
Oh...I was thinking it was more 'abstract' a meaning
GWG
at
2025-12-22 05:00
-
File has to contain a unique post ID (slug?) for each post where a webmention has been sent
autumnlilybug
at
2025-12-22 04:59
-
First it looks for a data file, loads it if present, otherwise creates a blank one
autumnlilybug
at
2025-12-22 04:59
-
Script runs on every build as a hook in the yarn build command
autumnlilybug
at
2025-12-22 04:59
-
my idea with the state thing was that a script could then parse it and handle sending webmentions based on the info there
ulhar4409
at
2025-12-22 04:58
-
making a summary page for this years journal 🙂 last day!
[Sophia_wood]
at
2025-12-22 04:55
Sort by:
Filter results by:
Tag
Query took 0.03s.
Search tips
- Exclusion
- +foo -bar
- Logical OR
- foo OR bar
- Exact phrase
- "foo bar"
- Partial words
- foo*
- Particular fields only
- title:foo
- domain:example.org
- nick:somebody
- after:2016-11-23
- before:2016-11-23
- date:2016-11-23