-
-
Notifications
You must be signed in to change notification settings - Fork 98
Add “Building a federated blog” tutorial (Astro + Bun + SQLite) #695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dahlia
wants to merge
35
commits into
fedify-dev:main
Choose a base branch
from
dahlia:tutorial/astro-blog
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
1e99ba2
Add Astro blog tutorial: intro and project setup (chapters 1–2)
dahlia dbb16a7
Add Astro blog tutorial: building the blog (chapter 3)
dahlia 2e530a6
Add Chapter 4 (Implementing the ActivityPub actor) to astro-blog tuto…
dahlia f65b942
Add Chapter 5 (Interoperating with Mastodon) to astro-blog tutorial
dahlia 3477e4d
Add Chapter 6 (Implementing followers) to astro-blog tutorial
dahlia 988dd0e
Add Chapter 7 (Persisting data with SQLite) to astro-blog tutorial
dahlia 1b71641
Add Chapter 8 (Publishing posts) and add Twoslash to TypeScript blocks
dahlia 152fce9
Add Chapter 9 (Receiving and displaying comments) to astro-blog tutorial
dahlia 55774d6
Add Chapter 10 (What's next) and CHANGES.md entry for astro-blog tuto…
dahlia 000fbb6
Switch Chapter 5 interop example from Mastodon to ActivityPub.Academy
dahlia d242dae
Explain ActivityPub.Academy's temporary account system in Chapter 5
dahlia c6dbac0
Use italics instead of bold for UI button and label names in tutorial
dahlia 3f672e2
Replace text snippet with profile screenshot in Chapter 5
dahlia ed12397
Reformat "worth noting" items as an italic-term list, add Web Crypto …
dahlia 0a41c8b
Use definition list for Create/Update/Delete handler descriptions in …
dahlia e105b68
Fix heading capitalization: Delete(Article) with backticks in Chapter 10
dahlia 421fe51
Improve Fly.io deployment section: add context and make it conditional
dahlia b6d12c3
Add Chapter 9 testing section and fix middleware/config documentation
dahlia 694a423
Fix chapter headings to use h2 (---) instead of h1 (====)
dahlia b78a314
Add bun-types to proper_nouns in .hongdown.toml
dahlia d0c7547
Replace chapter number references with linked italic section titles
dahlia dc8d556
Add PR number #695 to CHANGES.md entry for astro-blog tutorial
dahlia 7df1e88
Fix tutorial content inaccuracies caught in review
dahlia 27cf655
Address review comments on Astro blog tutorial
dahlia 7d6e6f4
Fix several inaccuracies in Astro blog tutorial
dahlia cddb791
Remove ESLint-specific disable comments from in-memory store snippet
dahlia c2a551f
Use unique timestamps in Create and Delete activity IDs
dahlia 42d0951
Guard post sync against wrong-URL and transient-failure scenarios
dahlia f775770
Fix inaccurate intro and add tunnel-URL warning to tutorial
dahlia 7843d2b
Return proper 404 response instead of redirecting to /404
dahlia 98e6806
Validate Undo(Follow) target before removing follower
dahlia 10ec4c2
Always reconcile posts DB even when there are no followers
dahlia 5f4f759
Add @js-temporal/polyfill as an explicit direct dependency
dahlia 178ce87
Revert extractable: false for imported keys
dahlia 7a78233
Use post.id instead of slug for getCommentsByPost()
dahlia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,3 +17,4 @@ t.ts | |
| t2.ts | ||
| plan.md | ||
| plans/ | ||
| .playwright-mcp/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.