peterfriese.dev
Developer Advocate on the Firebase team @ Google
YouTube: https://www.youtube.com/@PeterFriese
Blog: https://peterfriese.dev
330 posts
1,200 followers
1,035 following
Regular Contributor
Active Commenter
comment in response to
post
Swift Heroes typically records all talks, but it takes a while until they are made available on YouTube. However, you can attend virtually - which also gives you the opportunity to ask live questions (via chat).
Online tickets are pretty affordable at 29 EUR:
swiftheroes.com/2025/tickets/
comment in response to
post
Thanks to @massicotte.org, @harlanhaskins.com, @natpanferova.bsky.social, @rudrankriyam.bsky.social, @matthewcassinelli.bsky.social, @basicappleguy.com and all the other folks in the community for creating amazing content!
comment in response to
post
not-only-swift.peterfriese.dev
comment in response to
post
Code:
github.com/peterfriese...
comment in response to
post
🤩🤩🤩🤩
I’ve always wanted SwiftUI versions of the Drams UI elements (inspired by Dieter Rams): not-only-swift.peterfriese.dev/issues/59?m=...
comment in response to
post
iOS Conferences 2025 - Update
NOTE: I was told that Macoun (in Frankfurt) was canceled (in fact, their site is disconnected).
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Make Any File a Template Using This Hidden macOS Tool - MacRumors
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Repomix - Pack your codebase into AI-friendly formats
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Gitingest - Prompt-friendly codebase
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Concatenate a directory full of files into a single prompt for use with LLMs
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
From PDFs to Insights: Structured Outputs from PDFs with Gemini 2.0
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Harnessing AI for Intelligent PDF Processing in Swift: From OCR to Context-Aware Chunking
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Deep Dive into LLMs like ChatGPT
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
How to use Cursor (or VS Code) to Build SwiftUI/iOS Apps
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Debugging SwiftUI’s Entry Macro
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Mastering Forms in SwiftUI: Selecting Information
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
SwiftUI Environment
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Problematic Swift Concurrency Patterns
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Updating the Visual Studio Code extension for Swift
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Extracting structured data from PDFs using Gemini 2.0 and Genkit
not-only-swift.peterfriese.dev/issues/72?m...
comment in response to
post
Don't forget to subscribe: not-only-swift.peterfriese.dev/
comment in response to
post
+1, exactly what I said in the first 10 sconds of this video: www.youtube.com/watch?v=6jGN...
comment in response to
post
During this release, I helped focus on practical usability & portability. Genkit logic is decoupled from how you host it. A reusable Genkit action, can be easily hosted in Express, @nextjs.org, and Cloud Functions for Firebase with ~1LOC. Examples of each platform below:
comment in response to
post
Soo… what happens when you decide to move places?
comment in response to
post
What’s the blue stick?
comment in response to
post
Demo time! Running a completely local chat with a PDF file using Genkit, Ollama, and DeepSeek R1.
(sped up so it would fit in the 60s I can upload on Bluesky)
comment in response to
post
Demo time! Running a completely local chat with a PDF file using Genkit, Ollama, and DeepSeek R1.
(sped up so it would fit in the 60s I can upload on Bluesky)
comment in response to
post
To learn more about how to use Ollama with Genkit, check out our documentation:
firebase.google.com/docs/genkit...
comment in response to
post
Oh, and because R1 is a thinking model, I stream the chat responses, so you can observe the model's thinking process:
comment in response to
post
I also improved the prompt a bit, making it more prescriptive. I also pass in the full text of the PDF as a document, which seems to improve R1's responses.
comment in response to
post
And here's the code:
comment in response to
post
Can you share a code snippet (as a gist) of what you’re after? Happy to tinker around a bit.
comment in response to
post
Not possible out of the box, but might be worthwhile considering using SwiftUI preferences: peterfriese.dev/blog/2025/sw...