Building Semantic Related Posts with Ollama and Astro: A Complete Guide
Posted4 months agoActive4 months ago
reckoning.devTech Discussionstory
informativepositive
Debate
20/100
Development_toolsOllamaSemantic Related Posts
Key topics
Development_tools
Ollama
Semantic Related Posts
Discussion Activity
Light discussionFirst comment
1s
Peak period
1
0-1h
Avg / period
1
Key moments
- 01Story posted
Aug 29, 2025 at 3:49 AM EDT
4 months ago
Step 01 - 02First comment
Aug 29, 2025 at 3:49 AM EDT
1s after posting
Step 02 - 03Peak activity
1 comments in 0-1h
Hottest window of the conversation
Step 03 - 04Latest activity
Aug 29, 2025 at 3:49 AM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45061345Type: storyLast synced: 11/18/2025, 12:14:57 AM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
*Key features:*
- Semantic similarity using local AI (no external APIs)
- Smart caching with 77% compression (36MB → 8.1MB)
- Works in production without Ollama (uses cached embeddings)
- Combines semantic + tag + temporal similarity for better results
- Full TypeScript implementation with Astro integration
The system finds connections like "Neural Networks" → "Deep Learning Fundamentals" even without shared tags. Perfect for technical blogs where content relationships are more nuanced than simple categorization.
https://reckoning.dev/posts/semantic-related-posts-ollama-as...
*What's covered:* Complete implementation with all algorithms, caching strategies, deployment approaches, and performance optimizations. Code examples for everything from content preprocessing to similarity calculations.
Has anyone else experimented with embeddings in their Astro sites? Would love to hear about other AI integrations in the static site worl